[PATCH 5.10 150/332] sparc: fix error handling in scan_one_device()