Re: [PATCH 2/3] staging: rtlwifi: use kcalloc instead of multiply

2017-09-07 Thread Greg Kroah-Hartman
On Tue, Sep 05, 2017 at 09:46:34AM -0500, Larry Finger wrote: > On 09/05/2017 01:53 AM, Tobin C. Harding wrote: > > checkpatch emits multiple warnings of type > > > > WARNING:ALLOC_WITH_MULTIPLY: Prefer kcalloc over kzalloc with multiply > > > > Replace two calls to kzalloc() with calls to

Re: [PATCH 2/3] staging: rtlwifi: use kcalloc instead of multiply

2017-09-05 Thread Larry Finger
On 09/05/2017 01:53 AM, Tobin C. Harding wrote: checkpatch emits multiple warnings of type WARNING:ALLOC_WITH_MULTIPLY: Prefer kcalloc over kzalloc with multiply Replace two calls to kzalloc() with calls to kcalloc(). I have previously discussed this kind of change. This recommendation by

[PATCH 2/3] staging: rtlwifi: use kcalloc instead of multiply

2017-09-05 Thread Tobin C. Harding
checkpatch emits multiple warnings of type WARNING:ALLOC_WITH_MULTIPLY: Prefer kcalloc over kzalloc with multiply Replace two calls to kzalloc() with calls to kcalloc(). --- drivers/staging/rtlwifi/efuse.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git