Messages in this thread | | | Subject | Re: [PATCH] cciss: remove unneeded void pointer cast | From | Javier Martinez Canillas <> | Date | Tue, 29 Nov 2016 11:46:47 -0300 |
| |
Hello Don,
On 10/13/2016 03:12 PM, Don Brace wrote: >> -----Original Message----- >> From: Javier Martinez Canillas [mailto:javier@osg.samsung.com] >> Sent: Thursday, October 13, 2016 11:11 AM >> To: linux-kernel@vger.kernel.org >> Cc: Javier Martinez Canillas; esc.storagedev; iss_storagedev@hp.com; Don >> Brace; linux-scsi@vger.kernel.org >> Subject: [PATCH] cciss: remove unneeded void pointer cast >> >> EXTERNAL EMAIL >> >> >> It's not necessary to cast the result of kmalloc, since void pointers are >> promoted to any other type. This also fixes following coccinelle warning: >> >> casting value returned by memory allocation function to (struct >> cciss_scsi_adapter_data_t *) is useless. >> >> Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com> > > Acked-by: Don Brace <don.brace@microsemi.com> >> ---
Thanks for the ack. Do you know who is supposed to pick this patch?
Best regards, -- Javier Martinez Canillas Open Source Group Samsung Research America
| |