Re: [PATCH] scsi: scsi_devinfo: return an error when the proc write fails
From: Martin K. Petersen
Date: Sun Nov 08 2026 - 22:18:44 EST
> proc_scsi_devinfo_write() calls scsi_dev_info_list_add_str() but
> ignores its return value, so a write to /proc/scsi/device_info always
> reports success, even when the string is malformed and no entry was
> added. Users and scripts then believe that the quirk is in effect.
Applied to 7.5/scsi-staging, thanks!
--
Martin K. Petersen