lkml.org 
[lkml]   [2014]   [Apr]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 03/15] ipc:sem.c #include <linux/uaccess.h>
From
Date
On Thu, 2014-04-10 at 19:45 +0100, Paul McQuade wrote:
> WARNING: Use #include <linux/uaccess.h> instead of <asm/uaccess.h>

Nit: the subject should be less code and more text, something like "do
not include asm uaccess directly" or "replace <asm/uaccess.h> by
<linux/uaccess.h>"

Curious, how are you seeing these warnings?

Also, while at it we should probably get rid of the rest in ipc/:

compat.c:#include <asm/uaccess.h>
compat_mq.c:#include <asm/uaccess.h>
msg.c:#include <asm/uaccess.h>
sem.c:#include <asm/uaccess.h>
shm.c:#include <asm/uaccess.h>




\
 
 \ /
  Last update: 2014-04-11 00:01    [W:0.033 / U:6.576 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site