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-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20081026213335.GB1586@cs181140183.pp.htv.fi>
Date:	Sun, 26 Oct 2008 23:33:35 +0200
From:	Adrian Bunk <bunk@...nel.org>
To:	Greg KH <greg@...ah.com>
Cc:	Huang Weiyi <weiyi.huang@...il.com>, gregkh@...e.de,
	linux-kernel@...r.kernel.org
Subject: Re: staging: me4000: remove duplicated #include's

On Mon, Oct 20, 2008 at 02:18:22PM -0700, Greg KH wrote:
> On Sat, Oct 18, 2008 at 11:52:15AM +0800, Huang Weiyi wrote:
> > Removed duplicated #include's in drivers/staging/me4000/me4000.c
> >    asm/uaccess.h
> >    linux/fs.h
> > 
> > Signed-off-by: Huang Weiyi <weiyi.huang@...il.com>
> > 
> > diff --git a/drivers/staging/me4000/me4000.c b/drivers/staging/me4000/me4000.c
> > index 862dd7f..90de6f0 100644
> > --- a/drivers/staging/me4000/me4000.c
> > +++ b/drivers/staging/me4000/me4000.c
> > @@ -30,7 +30,6 @@
> >  #include <asm/uaccess.h>
> >  #include <linux/errno.h>
> >  #include <linux/delay.h>
> > -#include <linux/fs.h>
> >  #include <linux/mm.h>
> >  #include <linux/unistd.h>
> >  #include <linux/list.h>
> > @@ -39,7 +38,6 @@
> >  #include <linux/poll.h>
> >  #include <linux/vmalloc.h>
> >  #include <asm/pgtable.h>
> > -#include <asm/uaccess.h>
> >  #include <linux/types.h>
> > 
> >  #include <linux/slab.h>
> 
> Hm, this doesn't apply anymore as some cleanups went in that should have
> just made this not needed.
> 
> But if you have a script I can run somewhere to verify it, I'd
> appreciate it.

linux-2.6$ make help | grep include
  includecheck    - Check for duplicate included header files
linux-2.6$ 

> thanks,
> 
> greg k-h

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

--
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