lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 22 Sep 2009 20:22:29 +0530
From:	Jaswinder Singh Rajput <jaswinder@...nel.org>
To:	Greg KH <greg@...ah.com>, Pavel Machek <pavel@....cz>,
	San Mehat <san@...roid.com>, Iliyan Malchev <ibm@...roid.com>,
	Brian Swetland <swetland@...gle.com>,
	devel@...verdev.osuosl.org, LKML <linux-kernel@...r.kernel.org>
Subject: [PATCH] STAGING: includecheck fix: dream, smd_rpcrouter.c


fix the following 'make includecheck' warning:

  drivers/staging/dream/smd/smd_rpcrouter.c: asm/byteorder.h is included more than once.

And <asm/uaccess.h> is not required if we include <linux/uaccess.h>
as it will be automatically included from <linux/uaccess.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@...il.com>
---
 drivers/staging/dream/smd/smd_rpcrouter.c |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/dream/smd/smd_rpcrouter.c b/drivers/staging/dream/smd/smd_rpcrouter.c
index d4a4a88..4c6457c 100644
--- a/drivers/staging/dream/smd/smd_rpcrouter.c
+++ b/drivers/staging/dream/smd/smd_rpcrouter.c
@@ -34,12 +34,9 @@
 #include <linux/sched.h>
 #include <linux/poll.h>
 #include <linux/wakelock.h>
-#include <asm/uaccess.h>
-#include <asm/byteorder.h>
-#include <linux/platform_device.h>
 #include <linux/uaccess.h>
-
 #include <asm/byteorder.h>
+#include <linux/platform_device.h>
 
 #include <mach/msm_smd.h>
 #include "smd_rpcrouter.h"
-- 
1.6.0.6


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ