Re: [PATCH] HID: fix memdup.cocci warnings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 25 Mar 2021, kernel test robot wrote:

> From: kernel test robot <lkp@xxxxxxxxx>
> 
> drivers/hid/hid-thrustmaster.c:300:27-34: WARNING opportunity for kmemdup
> 
>  Use kmemdup rather than duplicating its implementation
> 
> Generated by: scripts/coccinelle/api/memdup.cocci
> 
> Fixes: c49c33637802 ("HID: support for initialization of some Thrustmaster wheels")
> CC: Dario Pagani <dario.pagani.146@xxxxxxxxx>
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
> Signed-off-by: kernel test robot <lkp@xxxxxxxxx>

Applied.

-- 
Jiri Kosina
Director, SUSE Labs Core




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux