Messages in this thread |  | | Subject | Re: [PATCH] scsi: hpsa: remove unneeded void pointer cast | From | "Martin K. Petersen" <> | Date | Fri, 14 Oct 2016 16:23:16 -0400 |
| |
>>>>> "Javier" == Javier Martinez Canillas <javier@osg.samsung.com> writes:
Javier> It's not necessary to cast the result of kmalloc, since void Javier> pointers are promoted to any other type. This also fixes Javier> following coccinelle warning:
Javier> casting value returned by memory allocation function to Javier> (BIG_IOCTL_Command_struct *) is useless.
Applied to 4.10/scsi-queue.
-- Martin K. Petersen Oracle Linux Engineering
|  |