2008-03-29 11:34:20

by Stephen Rothwell

[permalink] [raw]
Subject: linux-next: Tree for March 29

Hi all,

I have created today's linux-next tree at
git://git.kernel.org/pub/scm/linux/kernel/git/sfr/linux-next.git
(tar balls at
http://www.kernel.org/pub/linux/kernel/people/sfr/linux-next/).

You can see which trees have been included by looking in the Next/Trees
file in the source. There are also quilt-import.log and merge.log files
in the Next directory. Between each merge, the tree was built with
a ppc64_defconfig for powerpc and an allmodconfig for x86_64.

There were a few merge conflicts (fairly trivial).

People might like to check up in the (post-creation) build failures at
http://kisskb.ellerman.id.au/linux-next, there are quite a few more than
usual. I'll try to figure out what went wrong tomorrow unless you all
beat me to it.

We are up to 50 trees, more are welcome (even if they are currently
empty). Thanks to those who have contributed, and to those who haven't,
please do.

In particular, I have very few of the architecture trees ....

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.

Thanks to Jan Dittmer for adding the linux-next tree to his build tests
at http://l4x.org/k/ and the guys at http://test.kernel.org/.

--
Cheers,
Stephen Rothwell [email protected]


Attachments:
(No filename) (1.34 kB)
(No filename) (189.00 B)
Download all attachments

2008-03-29 18:13:18

by Haavard Skinnemoen

[permalink] [raw]
Subject: Re: linux-next: Tree for March 29

Stephen Rothwell <[email protected]> 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

2008-03-30 02:55:29

by Stephen Rothwell

[permalink] [raw]
Subject: Re: linux-next: Tree for March 29

Hi Haavard,

On Sat, 29 Mar 2008 19:12:55 +0100 Haavard Skinnemoen <[email protected]> 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 [email protected]
http://www.canb.auug.org.au/~sfr/


Attachments:
(No filename) (805.00 B)
(No filename) (189.00 B)
Download all attachments

2008-03-31 07:28:49

by David Miller

[permalink] [raw]
Subject: Re: linux-next: Tree for March 29

From: Stephen Rothwell <[email protected]>
Date: Sun, 30 Mar 2008 13:55:02 +1100

> Hi Haavard,
>
> On Sat, 29 Mar 2008 19:12:55 +0100 Haavard Skinnemoen <[email protected]> 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 <[email protected]>
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 <[email protected]>

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