linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: linux-next: Tree for March 29
       [not found] <20080329223354.304e2722.sfr@canb.auug.org.au>
@ 2008-03-29 18:12 ` Haavard Skinnemoen
  2008-03-30  2:55   ` Stephen Rothwell
  0 siblings, 1 reply; 3+ messages in thread
From: Haavard Skinnemoen @ 2008-03-29 18:12 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: linux-next, LKML, linux-ide, netdev

Stephen Rothwell <sfr@canb.auug.org.au> wrote:
> Status of my local build tests is at
> http://kisskb.ellerman.id.au/linux-next.  If maintainers want to give
> advice about cross compilers/configs that work, we are always open to add
> more builds.

I see both avr32 builds currently fail, but for different
reasons...none of which is avr32-specific as far as I can tell.

defconfig fails with

drivers/ata/libata-core.c:127: error: 'ata_pci_default_filter' undeclared here (not in a function)

which seems to be due to CONFIG_ATA && !CONFIG_PCI

allnoconfig fails with

include/linux/netdevice.h:843: error: implicit declaration of function 'dev_net'

which seems to be because the definition of dev_net is inside #ifdef
CONFIG_NET, while next_net_device, which calls it, is not.

Haavard

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: linux-next: Tree for March 29
  2008-03-29 18:12 ` linux-next: Tree for March 29 Haavard Skinnemoen
@ 2008-03-30  2:55   ` Stephen Rothwell
  2008-03-31  7:28     ` David Miller
  0 siblings, 1 reply; 3+ messages in thread
From: Stephen Rothwell @ 2008-03-30  2:55 UTC (permalink / raw)
  To: Haavard Skinnemoen; +Cc: linux-next, LKML, linux-ide, netdev

[-- Attachment #1: Type: text/plain, Size: 831 bytes --]

Hi Haavard,

On Sat, 29 Mar 2008 19:12:55 +0100 Haavard Skinnemoen <haavard.skinnemoen@atmel.com> wrote:
>
> I see both avr32 builds currently fail, but for different
> reasons...none of which is avr32-specific as far as I can tell.
> 
> defconfig fails with
> 
> drivers/ata/libata-core.c:127: error: 'ata_pci_default_filter' undeclared here (not in a function)
> 
> which seems to be due to CONFIG_ATA && !CONFIG_PCI
> 
> allnoconfig fails with
> 
> include/linux/netdevice.h:843: error: implicit declaration of function 'dev_net'
> 
> which seems to be because the definition of dev_net is inside #ifdef
> CONFIG_NET, while next_net_device, which calls it, is not.

Thanks for tracking these down.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: linux-next: Tree for March 29
  2008-03-30  2:55   ` Stephen Rothwell
@ 2008-03-31  7:28     ` David Miller
  0 siblings, 0 replies; 3+ messages in thread
From: David Miller @ 2008-03-31  7:28 UTC (permalink / raw)
  To: sfr; +Cc: haavard.skinnemoen, linux-next, linux-kernel, linux-ide, netdev

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Sun, 30 Mar 2008 13:55:02 +1100

> Hi Haavard,
> 
> On Sat, 29 Mar 2008 19:12:55 +0100 Haavard Skinnemoen <haavard.skinnemoen@atmel.com> wrote:
> >
> > allnoconfig fails with
> > 
> > include/linux/netdevice.h:843: error: implicit declaration of function 'dev_net'
> > 
> > which seems to be because the definition of dev_net is inside #ifdef
> > CONFIG_NET, while next_net_device, which calls it, is not.
> 
> Thanks for tracking these down.

I've checked in the following to net-2.6.26 to fix this, thanks:

commit 3edf8fa5ccf10688a9280b5cbca8ed3947c42866
Author: David S. Miller <davem@davemloft.net>
Date:   Mon Mar 31 00:28:14 2008 -0700

    [NET]: Fix allnoconfig build on powerpc and avr32
    
    As reported by Haavard Skinnemoen and Stephen Rothwell:
    
    > allnoconfig fails with
    >
    > include/linux/netdevice.h:843: error: implicit declaration of function 'dev_net'
    >
    > which seems to be because the definition of dev_net is inside #ifdef
    > CONFIG_NET, while next_net_device, which calls it, is not.
    
    Signed-off-by: David S. Miller <davem@davemloft.net>

diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index 8576ca9..993758f 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -827,6 +827,7 @@ struct packet_type {
 extern rwlock_t				dev_base_lock;		/* Device list lock */
 
 
+#ifdef CONFIG_NET
 #define for_each_netdev(net, d)		\
 		list_for_each_entry(d, &(net)->dev_base_head, dev_list)
 #define for_each_netdev_safe(net, d, n)	\
@@ -850,6 +851,7 @@ static inline struct net_device *first_net_device(struct net *net)
 	return list_empty(&net->dev_base_head) ? NULL :
 		net_device_entry(net->dev_base_head.next);
 }
+#endif
 
 extern int 			netdev_boot_setup_check(struct net_device *dev);
 extern unsigned long		netdev_boot_base(const char *prefix, int unit);

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-03-31  7:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20080329223354.304e2722.sfr@canb.auug.org.au>
2008-03-29 18:12 ` linux-next: Tree for March 29 Haavard Skinnemoen
2008-03-30  2:55   ` Stephen Rothwell
2008-03-31  7:28     ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).