From: Jiri Kosina <jkosina@suse.cz>
To: kernel test robot <lkp@intel.com>
Cc: Dario Pagani <dario.pagani.146@gmail.com>,
kbuild-all@lists.01.org,
Linux Memory Management List <linux-mm@kvack.org>,
Kim Kuparinen <kimi.h.kuparinen@gmail.com>
Subject: Re: [PATCH] HID: fix memdup.cocci warnings
Date: Tue, 30 Mar 2021 09:44:48 +0200 (CEST) [thread overview]
Message-ID: <nycvar.YFH.7.76.2103300944410.12405@cbobk.fhfr.pm> (raw)
In-Reply-To: <20210325154956.GA35356@f923dd4e708e>
On Thu, 25 Mar 2021, kernel test robot wrote:
> From: kernel test robot <lkp@intel.com>
>
> 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@gmail.com>
> Reported-by: kernel test robot <lkp@intel.com>
> Signed-off-by: kernel test robot <lkp@intel.com>
Applied.
--
Jiri Kosina
Director, SUSE Labs Core
prev parent reply other threads:[~2021-03-30 7:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-25 15:49 [linux-next:master 4793/7299] drivers/hid/hid-thrustmaster.c:300:27-34: WARNING opportunity for kmemdup kernel test robot
2021-03-25 15:49 ` [PATCH] HID: fix memdup.cocci warnings kernel test robot
2021-03-30 7:44 ` Jiri Kosina [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=nycvar.YFH.7.76.2103300944410.12405@cbobk.fhfr.pm \
--to=jkosina@suse.cz \
--cc=dario.pagani.146@gmail.com \
--cc=kbuild-all@lists.01.org \
--cc=kimi.h.kuparinen@gmail.com \
--cc=linux-mm@kvack.org \
--cc=lkp@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox