[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200430.205950.897709865527369744.davem@davemloft.net>
Date: Thu, 30 Apr 2020 20:59:50 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: zou_wei@...wei.com
Cc: aviad.krawczyk@...wei.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH -next] hinic: Use kmemdup instead of kzalloc and memcpy
From: Zou Wei <zou_wei@...wei.com>
Date: Wed, 29 Apr 2020 11:35:28 +0800
> Fixes coccicheck warnings:
>
> drivers/net/ethernet/huawei/hinic/hinic_hw_mbox.c:452:17-24: WARNING opportunity for kmemdup
> drivers/net/ethernet/huawei/hinic/hinic_hw_mbox.c:458:23-30: WARNING opportunity for kmemdup
>
> Reported-by: Hulk Robot <hulkci@...wei.com>
> Signed-off-by: Zou Wei <zou_wei@...wei.com>
Applied.
Powered by blists - more mailing lists