Re: [PATCH 2/2] scsi: remove useless casting value returned by kmalloc to structure

2015-10-23 Thread Matthew R. Ochs
Reviewed-by: Matthew R. Ochs -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH 2/2] scsi: remove useless casting value returned by kmalloc to structure

2015-10-23 Thread Punit Vara
This is the patch to the hpsa.c file that resolves following warning reported by coccicheck: WARNING: casting value returned by memory allocation function to (BIG_IOCTL_Command_struct *) is useless. Signed-off-by: Punit Vara --- drivers/scsi/hpsa.c | 3 +-- 1 file changed, 1 insertion(+), 2

[PATCH 2/2] scsi: remove useless casting value returned by kmalloc to structure

2015-10-23 Thread Punit Vara
This is the patch to the hpsa.c file that resolves following warning reported by coccicheck: WARNING: casting value returned by memory allocation function to (BIG_IOCTL_Command_struct *) is useless. Signed-off-by: Punit Vara --- drivers/scsi/hpsa.c | 3 +-- 1 file changed,

Re: [PATCH 2/2] scsi: remove useless casting value returned by kmalloc to structure

2015-10-23 Thread Matthew R. Ochs
Reviewed-by: Matthew R. Ochs -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at