]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: qla2xxx: Change the return type of qla24xx_read_flash_data()
authorBart Van Assche <bvanassche@acm.org>
Fri, 9 Aug 2019 03:01:59 +0000 (20:01 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 13 Aug 2019 01:34:07 +0000 (21:34 -0400)
commite6a933cbbbdc55f17125456910cbe1fb7d093d9b
tree7015ee97550d55380f9a519de535ab7c6e1eca79
parente7b25d9c261b2f534a98e1a165453c2c5760384b
scsi: qla2xxx: Change the return type of qla24xx_read_flash_data()

This change makes it easier to detect qla24xx_read_flash_data() failures
and also to handle such failures. This change does not modify the behavior
of the driver since all callers ignore the qla24xx_read_flash_data()
return value.

Cc: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Tested-by: Himanshu Madhani <hmadhani@marvell.com>
Reviewed-by: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_gbl.h
drivers/scsi/qla2xxx/qla_sup.c