[PATCH 5.15 198/276] sparc: fix error handling in scan_one_device()