scsi_sysfs: Fix typo in is_bin_visible()
authorHannes Reinecke <hare@suse.de>
Thu, 10 Mar 2016 10:25:26 +0000 (11:25 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 11 Mar 2016 01:29:54 +0000 (20:29 -0500)
commit688875826f0dfbe34d9eda4c47b707d08130fe7b
tree26de07eb1443261d0b3286fca3c66d7c5335fc50
parent3084558658c2f9a48d7c460d57aeb30964c06b7e
scsi_sysfs: Fix typo in is_bin_visible()

The test for the existence vpd_pg83 is inverted.

Fixes: 7e47976bcff ("scsi_sysfs: add 'is_bin_visible' callback")
Signed-off-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Reported-by: Ewan Milne <emilne@redhat.com>
Reviewed-by: Laurence Oberman loberman@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/scsi_sysfs.c