linux/drivers/scsi/smartpqi
Dan Carpenter d1f6581a67 scsi: smartpqi: Fix an error code in pqi_get_raid_map()
Return -EINVAL on failure instead of success.

Link: https://lore.kernel.org/r/20210810084613.GB23810@kili
Fixes: a91aaae024 ("scsi: smartpqi: allow for larger raid maps")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2021-08-16 13:21:44 -04:00
..
Kconfig scsi: smartpqi: Change Kconfig menu entry to Microchip 2021-07-19 22:00:56 -04:00
Makefile scsi: smartpqi: add spdx 2019-03-18 16:48:28 -04:00
smartpqi_init.c scsi: smartpqi: Fix an error code in pqi_get_raid_map() 2021-08-16 13:21:44 -04:00
smartpqi_sas_transport.c scsi: smartpqi: Update copyright notices 2021-07-19 22:00:56 -04:00
smartpqi_sis.c scsi: smartpqi: Update copyright notices 2021-07-19 22:00:56 -04:00
smartpqi_sis.h scsi: smartpqi: Update copyright notices 2021-07-19 22:00:56 -04:00
smartpqi.h scsi: smartpqi: Update copyright notices 2021-07-19 22:00:56 -04:00