[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1158770944.16727.116.camel@localhost.localdomain>
Date: Wed, 20 Sep 2006 09:49:04 -0700
From: Kylene Jo Hall <kjhall@...ibm.com>
To: Dave Jones <davej@...hat.com>
Cc: Stephen Smalley <sds@...ho.nsa.gov>,
linux-kernel <linux-kernel@...r.kernel.org>,
LSM ML <linux-security-module@...r.kernel.org>,
Dave Safford <safford@...ibm.com>,
Mimi Zohar <zohar@...ibm.com>,
Serge Hallyn <sergeh@...ibm.com>, akpm@...l.org
Subject: [PATCH] slim: cleanup use of config.h
The following patch addresses this comment to clean up the use of
config.h in the slim .c files.
On Mon, 2006-09-18 at 16:54 -0400, Dave Jones wrote:
> > > > +
> > > > +#include <asm/uaccess.h>
> > > > +#include <linux/config.h>
>
> You don't need to include config.h any more, kbuild does it for you.
> (Might want to check the other files for the same thing).
>
> Dave
Signed-off-by: Kylene Hall <kjhall@...ibm.com>
Signed-off-by: Mimi Zohar <zohar@...ibm.com>
---
security/slim/slm_main.c | 1 -
security/slim/slm_secfs.c | 1 -
2 files changed, 2 deletions(-)
--- linux-2.6.18-rc6-orig/security/slim/slm_main.c 2006-09-18 16:41:51.000000000 -0500
+++ linux-2.6.18-rc6/security/slim/slm_main.c 2006-09-19 14:50:35.000000000 -0500
@@ -11,7 +11,6 @@
*/
#include <linux/mman.h>
-#include <linux/config.h>
#include <linux/kernel.h>
#include <linux/security.h>
#include <linux/integrity.h>
--- linux-2.6.18-rc6-orig/security/slim/slm_secfs.c 2006-09-18 16:41:48.000000000 -0500
+++ linux-2.6.18-rc6/security/slim/slm_secfs.c 2006-09-19 14:50:50.000000000 -0500
@@ -11,7 +11,6 @@
*/
#include <asm/uaccess.h>
-#include <linux/config.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/security.h>
-
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