Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
scsi: smartpqi: Fix an error code in pqi_get_raid_map()
[ Upstream commit d1f6581 ] Return -EINVAL on failure instead of success. Link: https://lore.kernel.org/r/20210810084613.GB23810@kili Fixes: a91aaae ("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>
- Loading branch information