linux/drivers/message/fusion
Li Heng 33fff97cbd scsi: mptfc: Remove unneeded cast from memory allocation
Remove casting the values returned by memory allocation function.

Coccinelle emits WARNING:

./drivers/message/fusion/mptfc.c:766:17-30: WARNING: casting value returned by memory allocation function to (FCPortPage0_t *) is useless.
./drivers/message/fusion/mptfc.c:907:17-30: WARNING: casting value returned by memory allocation function to (FCPortPage1_t *) is useless.

[mkp: memset()]

Link: https://lore.kernel.org/r/1596014354-59935-1-git-send-email-liheng40@huawei.com
Signed-off-by: Li Heng <liheng40@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2020-08-20 23:15:19 -04:00
..
lsi
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile
mptbase.c scsi: mptfusion: Don't use GFP_ATOMIC for larger DMA allocations 2020-06-26 22:51:53 -04:00
mptbase.h
mptctl.c scsi: mptfusion: Fix double fetch bug in ioctl 2020-01-15 23:05:52 -05:00
mptctl.h
mptdebug.h
mptfc.c scsi: mptfc: Remove unneeded cast from memory allocation 2020-08-20 23:15:19 -04:00
mptlan.c
mptlan.h scsi: fusion: fix if-statement empty body warning 2020-03-11 23:07:57 -04:00
mptsas.c
mptsas.h scsi: message: fusion: Replace zero-length array with flexible-array member 2020-03-26 22:40:47 -04:00
mptscsih.c scsi: mptscsih: Fix read sense data size 2020-06-24 00:23:17 -04:00
mptscsih.h
mptspi.c