Re: [PATCH v2] scsi: csiostor: Use kcalloc() instead of kzalloc()

2024-01-15 Thread Gustavo A. R. Silva
On 1/14/24 04:24, Erick Archer wrote: Use 2-factor multiplication argument form kcalloc() instead of kzalloc(). Also, it is preferred to use sizeof(*pointer) instead of sizeof(type) due to the type of the variable can change and one needs not change the former (unlike the latter). Link: http

[PATCH v2] scsi: csiostor: Use kcalloc() instead of kzalloc()

2024-01-14 Thread Erick Archer
Use 2-factor multiplication argument form kcalloc() instead of kzalloc(). Also, it is preferred to use sizeof(*pointer) instead of sizeof(type) due to the type of the variable can change and one needs not change the former (unlike the latter). Link: https://github.com/KSPP/linux/issues/162 Signed