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

2016-11-29 Thread Martin K. Petersen
> "Javier" == Javier Martinez Canillas writes: >> I'm happy to queue it. However, I never saw Don's ack and neither did >> patchwork. Was that done in a private email? Javier> Strange, it wasn't a private email but for some reason I see Javier> that it didn't made it

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

2016-11-29 Thread Javier Martinez Canillas
Hello Martin, On 11/29/2016 01:35 PM, Martin K. Petersen wrote: >> "Javier" == Javier Martinez Canillas writes: > casting value returned by memory allocation function to (struct cciss_scsi_adapter_data_t *) is useless. Signed-off-by: Javier

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

2016-11-29 Thread Martin K. Petersen
> "Javier" == Javier Martinez Canillas writes: >>> casting value returned by memory allocation function to (struct >>> cciss_scsi_adapter_data_t *) is useless. >>> >>> Signed-off-by: Javier Martinez Canillas >> >> Acked-by: Don Brace

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

2016-11-29 Thread Javier Martinez Canillas
s; esc.storagedev; iss_storage...@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

[PATCH] cciss: remove unneeded void pointer cast

2016-10-13 Thread Javier Martinez Canillas
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