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: <20080624215407.GB18252@cs181140183.pp.htv.fi>
Date:	Wed, 25 Jun 2008 00:54:08 +0300
From:	Adrian Bunk <bunk@...nel.org>
To:	Bartlomiej Zolnierkiewicz <bzolnier@...il.com>
Cc:	linux-ide@...r.kernel.org, linux-kernel@...r.kernel.org,
	rmk@....linux.org.uk, Alan Cox <alan@...rguk.ukuu.org.uk>
Subject: [0/5] move hd.c to drivers/block/

On Sun, Jun 22, 2008 at 03:21:33PM +0200, Bartlomiej Zolnierkiewicz wrote:
> On Sunday 22 June 2008, Adrian Bunk wrote:
> > On Tue, Jun 10, 2008 at 07:56:15PM +0200, Bartlomiej Zolnierkiewicz wrote:
> > > On Tuesday 10 June 2008, Adrian Bunk wrote:
> > > > This patch limits BLK_DEV_HD_ONLY to the ARM platforms offering 
> > > > IRQ_HARDDISK, fixing the following compile error on others:
> > > > 
> > > > <--  snip  -->
> > > > 
> > > > ...
> > > >   CC      drivers/ide/legacy/hd.o
> > > > ...
> > > > /home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/ide/legacy/hd.c: In function 'hd_times_out':
> > > > /home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/ide/legacy/hd.c:542: error: 'IRQ_HARDDISK' undeclared (first use in this function)
> > > > /home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/ide/legacy/hd.c:542: error: (Each undeclared identifier is reported only once
> > > > /home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/ide/legacy/hd.c:542: error: for each function it appears in.)
> > > > /home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/ide/legacy/hd.c: In function 'do_hd_request':
> > > > /home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/ide/legacy/hd.c:661: error: 'IRQ_HARDDISK' undeclared (first use in this function)
> > > > /home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/ide/legacy/hd.c: In function 'hd_init':
> > > > /home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/ide/legacy/hd.c:765: error: 'IRQ_HARDDISK' undeclared (first use in this function)
> > > > make[3]: *** [drivers/ide/legacy/hd.o] Error 1
> > > > 
> > > > <--  snip  -->
> > > > 
> > > > Reported-by: Adrian Bunk <bunk@...nel.org>
> > > > Signed-off-by: Adrian Bunk <bunk@...nel.org>
> > > 
> > > applied, thanks
> > > 
> > > BTW Could you look into converting your "remove BLK_DEV_HD_ONLY" patch
> > > into "move old hd driver to drivers/block/" one because the old hd driver
> > > still has some uses (as noticed by Alan)?
> > 
> > drivers/ide/Makefile says:
> >   # old hd driver must be last
> > 
> > Is this still true?
> 
> Yep.
> 
> > If yes then moving the driver to drivers/block/ requires switching to 
> > late_initcall() since drivers/block/ is linked before drivers/ide/ .
> 
> Care to cook a patch?

Comes as part of this patchset.

This was only compile tested, and I'd really appreciate if anyone 
(Alan?) could test whether it still works.

> Thanks,
> Bart

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