aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/pmcraid.c
diff options
context:
space:
mode:
authorLi Heng <[email protected]>2020-07-29 09:19:50 +0000
committerMartin K. Petersen <[email protected]>2020-08-21 03:17:35 +0000
commit8fee79ed8ea23c241e55fb5f6fd935d330f074f6 (patch)
treec57ccc26b3e9d1d12056b763fa5e294b0d83ab63 /drivers/scsi/pmcraid.c
parentscsi: mptfc: Remove unneeded cast from memory allocation (diff)
downloadkernel-8fee79ed8ea23c241e55fb5f6fd935d330f074f6.tar.gz
kernel-8fee79ed8ea23c241e55fb5f6fd935d330f074f6.zip
scsi: mptctl: Remove unneeded cast from memory allocation
Remove casting the values returned by memory allocation function. Coccinelle emits WARNING: ./drivers/message/fusion/mptctl.c:2596:14-31: WARNING: casting value returned by memory allocation function to (SCSIDevicePage0_t *) is useless. ./drivers/message/fusion/mptctl.c:2660:15-32: WARNING: casting value returned by memory allocation function to (SCSIDevicePage3_t *) is useless. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Li Heng <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/scsi/pmcraid.c')
0 files changed, 0 insertions, 0 deletions