summaryrefslogtreecommitdiffstats
path: root/Kconfig
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2021-04-16 00:08:22 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2021-04-16 04:44:41 +0200
commit41e70e3006f63b89ae3b0d49557ac9f620bac524 (patch)
tree4551ce6d7166861e42d4adc3cb23b30406cf50e6 /Kconfig
parentscsi: dc395x: Open-code status_byte(u8) calls (diff)
downloadlinux-41e70e3006f63b89ae3b0d49557ac9f620bac524.tar.xz
linux-41e70e3006f63b89ae3b0d49557ac9f620bac524.zip
scsi: sd: Introduce a new local variable in sd_check_events()
Instead of using 'retval' to represent first a SCSI status and later whether or not a disk change event occurred, introduce a new variable for the latter purpose. Link: https://lore.kernel.org/r/20210415220826.29438-17-bvanassche@acm.org Cc: Christoph Hellwig <hch@lst.de> Cc: Johannes Thumshirn <johannes.thumshirn@wdc.com> Cc: Hannes Reinecke <hare@suse.de> Cc: Daniel Wagner <dwagner@suse.de> Signed-off-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions