From: Greg KH <gregkh@linuxfoundation.org>
To: Kai Song <songkai01@inspur.com>
Cc: Larry.Finger@lwfinger.net, phil@philpotter.co.uk,
straube.linux@gmail.com, linux-staging@lists.linux.dev,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] staging: r8188eu: Use memdup_user instead of kmalloc/copy_from_user
Date: Fri, 22 Oct 2021 11:07:09 +0200 [thread overview]
Message-ID: <YXJ/PU/oo9dRwTQr@kroah.com> (raw)
In-Reply-To: <20211022025555.6612-1-songkai01@inspur.com>
On Fri, Oct 22, 2021 at 10:55:55AM +0800, Kai Song wrote:
> Use memdup_user helper instead of open-coding to simplify
> the code.
>
> Signed-off-by: Kai Song <songkai01@inspur.com>
> ---
> drivers/staging/r8188eu/os_dep/ioctl_linux.c | 10 +++-------
> 1 file changed, 3 insertions(+), 7 deletions(-)
Someone sent this just before you did, sorry:
https://lore.kernel.org/r/20211021122015.6974-1-wanjiabing@vivo.com
next prev parent reply other threads:[~2021-10-22 9:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-22 2:55 [PATCH] staging: r8188eu: Use memdup_user instead of kmalloc/copy_from_user Kai Song
2021-10-22 9:07 ` Greg KH [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-12-10 3:38 Jiapeng Chong
2021-12-10 8:30 ` Dan Carpenter
2021-10-21 12:20 Wan Jiabing
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=YXJ/PU/oo9dRwTQr@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=Larry.Finger@lwfinger.net \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
--cc=phil@philpotter.co.uk \
--cc=songkai01@inspur.com \
--cc=straube.linux@gmail.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