Re: linux-next: scsi-post-merge tree build failure
From: Stephen Rothwell
Date: Tue Sep 08 2009 - 04:12:44 EST
Hi James,
On Mon, 7 Sep 2009 20:06:46 +1000 Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:
>
> Today's linux-next build (powerpc allyesconfig) failed like this:
>
> drivers/scsi/be2iscsi/be_main.c: In function 'hwi_write_buffer':
> drivers/scsi/be2iscsi/be_main.c:1481: error: implicit declaration of function 'virt_to_bus'
>
> Caused by commit 9316dc3deb9675c674f96a0c6fb74ccc6c497fae ("[SCSI]
> be2iscsi: add 10Gbps iSCSI - BladeEngine 2 driver") which I have reverted
> for today.
The driver needs to depend on CONFIG_VIRT_TO_BUS if it needs to use
virt_to_bus(). That will prevent it from building on some platforms
(like powerpc) that do not implement virt_to_bus() and its brothers.
--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx
http://www.canb.auug.org.au/~sfr/
Attachment:
pgp00000.pgp
Description: PGP signature