diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2021-08-10 11:46:13 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-08-16 20:21:44 +0300 |
commit | d1f6581a6796c4e9fd8a4a24e8b77463d18f0df1 (patch) | |
tree | d458fcc3fcc6c921a7976f837d40841d265cda29 /drivers/scsi/qedi | |
parent | 92cc94adfce4683d0b421cbf59013703368aaeb9 (diff) | |
download | linux-d1f6581a6796c4e9fd8a4a24e8b77463d18f0df1.tar.xz |
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: a91aaae0243b ("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>
Diffstat (limited to 'drivers/scsi/qedi')
0 files changed, 0 insertions, 0 deletions