Re: [PATCH] block: remove useless casting value returned by kmalloc to structure

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

[PATCH] block: remove useless casting value returned by kmalloc to structure

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