From: Aparna Karuthodi <kdasaparna@gmail.com>
To: kdasaparna@gmail.com
Cc: gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org,
alan@linux.intel.com, devel@driverdev.osuosl.org
Subject: [PATCH] staging: i2o: Used <linux/uaccess.h>
Date: Tue, 18 Aug 2015 23:16:46 +0530 [thread overview]
Message-ID: <1439920006-6910-1-git-send-email-kdasaparna@gmail.com> (raw)
Used #include <linux/uaccess.h> instead of #include <asm/uaccess.h> to
remove a coding style warning detected by checkpatch.
The warning is given below:
drivers/staging/i2o/config-osm.c:22: WARNING: Use #include
<linux/uaccess.h> instead of <asm/uaccess.h>
Signed-off-by: Aparna Karuthodi <kdasaparna@gmail.com>
---
drivers/staging/i2o/config-osm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/i2o/config-osm.c b/drivers/staging/i2o/config-osm.c
index 519f52f..45091ac 100644
--- a/drivers/staging/i2o/config-osm.c
+++ b/drivers/staging/i2o/config-osm.c
@@ -19,7 +19,7 @@
#include <linux/namei.h>
#include <linux/fs.h>
-#include <asm/uaccess.h>
+#include <linux/uaccess.h>
#define OSM_NAME "config-osm"
#define OSM_VERSION "1.323"
--
1.7.9.5
next reply other threads:[~2015-08-18 17:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-18 17:46 Aparna Karuthodi [this message]
2015-09-03 16:46 ` [PATCH] staging: i2o: Used <linux/uaccess.h> Greg KH
2015-09-08 16:25 ` Albino B Neto
2015-09-08 16:47 ` Greg KH
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=1439920006-6910-1-git-send-email-kdasaparna@gmail.com \
--to=kdasaparna@gmail.com \
--cc=alan@linux.intel.com \
--cc=devel@driverdev.osuosl.org \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
/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