kernel_optimize_test/drivers/scsi/smartpqi
Dan Carpenter 782c401784 scsi: smartpqi: Fix an error code in pqi_get_raid_map()
[ Upstream commit d1f6581a6796c4e9fd8a4a24e8b77463d18f0df1 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-09-18 13:40:14 +02:00
..
Kconfig
Makefile
smartpqi_init.c scsi: smartpqi: Fix an error code in pqi_get_raid_map() 2021-09-18 13:40:14 +02:00
smartpqi_sas_transport.c
smartpqi_sis.c
smartpqi_sis.h
smartpqi.h