lkml.org 
[lkml]   [2016]   [Feb]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] tty: vt: use memdup_user to reuse the code
From
Hello Greg,

Yes I will do this.

Thanks
Rahul

On Sun, Feb 7, 2016 at 1:01 PM, Greg KH <gregkh@linuxfoundation.org> wrote:
> On Sun, Dec 20, 2015 at 12:15:33AM +0530, Rahul Pathak wrote:
>> Fixing coccicheck warning which recommends to use memdup_user instead
>> to reimplement its code, using memdup_user simplifies the code
>>
>> ./drivers/tty/vt/keyboard.c:1709:9-16: WARNING opportunity for memdup_user
>> ./drivers/tty/vt/keyboard.c:1752:9-16: WARNING opportunity for memdup_user
>>
>> Signed-off-by: Rahul Pathak <rahulpathaklinux@gmail.com>
>> Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
>> ---
>> drivers/tty/vt/keyboard.c | 28 ++++++++--------------------
>> 1 file changed, 8 insertions(+), 20 deletions(-)
>
> Someone else sent half of this patch already, can you redo it against my
> tty-testing branch of the tty.git tree and resend it?
>
> thanks,
>
> greg k-h

\
 
 \ /
  Last update: 2016-02-07 11:41    [W:0.058 / U:0.780 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site