Re: linux-next: Tree for March 29

Previous thread: [PATCH] atmel_serial: fix uart/console concurrent access by Haavard Skinnemoen on Saturday, March 29, 2008 - 6:48 am. (1 message)

Next thread: [PATCH] SUNRPC: have soft RPC tasks return -ETIMEDOUT instead of -EIO on major connect timeout by Jeff Layton on Saturday, March 29, 2008 - 8:49 am. (6 messages)
To: <linux-next@...>
Cc: LKML <linux-kernel@...>
Date: Saturday, March 29, 2008 - 7:33 am

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

--=20
Cheers,
Stephen Rothwell sfr@canb.auug.org.au

To: Stephen Rothwell <sfr@...>
Cc: <linux-next@...>, LKML <linux-kernel@...>, <linux-ide@...>, <netdev@...>
Date: Saturday, March 29, 2008 - 2:12 pm

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

To: Haavard Skinnemoen <haavard.skinnemoen@...>
Cc: <linux-next@...>, LKML <linux-kernel@...>, <linux-ide@...>, <netdev@...>
Date: Saturday, March 29, 2008 - 10:55 pm

Hi Haavard,

On Sat, 29 Mar 2008 19:12:55 +0100 Haavard Skinnemoen <haavard.skinnemoen@a=

Thanks for tracking these down.

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

To: <sfr@...>
Cc: <haavard.skinnemoen@...>, <linux-next@...>, <linux-kernel@...>, <linux-ide@...>, <netdev@...>
Date: Monday, March 31, 2008 - 3:28 am

From: Stephen Rothwell <sfr@canb.auug.org.au>

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

Previous thread: [PATCH] atmel_serial: fix uart/console concurrent access by Haavard Skinnemoen on Saturday, March 29, 2008 - 6:48 am. (1 message)

Next thread: [PATCH] SUNRPC: have soft RPC tasks return -ETIMEDOUT instead of -EIO on major connect timeout by Jeff Layton on Saturday, March 29, 2008 - 8:49 am. (6 messages)