]> git.baikalelectronics.ru Git - kernel.git/commit
hpsa: abandon rescans on memory alloaction failures.
authorDon Brace <don.brace@pmcs.com>
Wed, 4 Nov 2015 21:50:44 +0000 (15:50 -0600)
committerMartin K. Petersen <martin.petersen@oracle.com>
Mon, 9 Nov 2015 17:34:19 +0000 (12:34 -0500)
commita65266fe5a944c80a69427ef1965d7907b314a6c
tree76233f85ae727c64248835f3389d9e41bc5879e6
parentcc69115918b62526c8994a6d6995fd7c262f84cc
hpsa: abandon rescans on memory alloaction failures.

Abandon and reschedule rescan process only if device inquiries
fail due to mem alloc failures, which are likely to occur for
all devices.

Otherwise, skip device if inquiry fails for other reasons,
and continue rescanning process for other devices.

Reviewed-by: Scott Teel <scott.teel@pmcs.com>
Reviewed-by: Justin Lindley <justin.lindley@pmcs.com>
Reviewed-by: Kevin Barnett <kevin.barnett@pmcs.com>
Reviewed-by: Tomas Henzl <thenzl@redhat.com>
Signed-off-by: Don Brace <don.brace@pmcs.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hpsa.c