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