[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YWbROYHPtt42qC4c@kroah.com>
Date: Wed, 13 Oct 2021 14:29:45 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Wan Jiabing <wanjiabing@...o.com>
Cc: Larry Finger <Larry.Finger@...inger.net>,
Phillip Potter <phil@...lpotter.co.uk>,
Michael Straube <straube.linux@...il.com>,
Martin Kaiser <martin@...ser.cx>,
linux-staging@...ts.linux.dev, linux-kernel@...r.kernel.org,
kael_w@...h.net
Subject: Re: [PATCH] staging: r8188eu: use kzalloc instead of kmalloc and
memset
On Wed, Oct 13, 2021 at 03:01:28AM -0400, Wan Jiabing wrote:
> Fix following coccicheck warning:
> ./drivers/staging/r8188eu/os_dep/ioctl_linux.c:422:10-17:
> WARNING: kzalloc should be used for pwep, instead of kmalloc/memset
>
> Signed-off-by: Wan Jiabing <wanjiabing@...o.com>
> ---
> drivers/staging/r8188eu/os_dep/ioctl_linux.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
Someone just sent this same patch before you did, sorry:
https://lore.kernel.org/r/20211012024624.GA1062447@embeddedor
Powered by blists - more mailing lists