Re: [PATCH] cciss: remove unneeded void pointer cast

From: Javier Martinez Canillas
Date: Tue Nov 29 2016 - 09:47:05 EST


Hello Don,

On 10/13/2016 03:12 PM, Don Brace wrote:
>> -----Original Message-----
>> From: Javier Martinez Canillas [mailto:javier@xxxxxxxxxxxxxxx]
>> Sent: Thursday, October 13, 2016 11:11 AM
>> To: linux-kernel@xxxxxxxxxxxxxxx
>> Cc: Javier Martinez Canillas; esc.storagedev; iss_storagedev@xxxxxx; Don
>> Brace; linux-scsi@xxxxxxxxxxxxxxx
>> 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@xxxxxxxxxxxxxxx>
>
> Acked-by: Don Brace <don.brace@xxxxxxxxxxxxx>
>> ---

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