lkml.org 
[lkml]   [2019]   [Dec]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH 2/2] fs: remove ksys_dup()
On Thu, Dec 12, 2019 at 6:08 AM Dominik Brodowski
<linux@dominikbrodowski.net> wrote:
>
> - if (ksys_open((const char __user *) "/dev/console", O_RDWR, 0) < 0)
> + file = filp_open((const char *) "/dev/console", O_RDWR, 0);

You need to remove the now pointless cast too.

Linus

\
 
 \ /
  Last update: 2019-12-12 18:10    [W:0.044 / U:1.536 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site