linux-next: Tree for November 12
Subsystems (7)
Hi all,
Changes since 20081111:
New tree:
fatfs
Undropped tree:
crypto
Dropped trees (temporarily):
security-testing (build failure)
creds (non-trivial conflict)
userns (it depends on creds)
semaphore-removal (due to unfixed conflicts against Linus' tree) firmware (unfixed build failure)
The net tree gained a conflict against Linus' tree.
The security-testing tree gained a build error and was dropped.
The creds tree gained a conflict against the ttydev tree and another against Linus' tree so it was dropped.
The cputime tree lost its conflict.
----------------------------------------------------------------------------
I have created today's linux-next tree atgit://git.kernel.org/pub/scm/linux/kernel/git/sfr/linux-next.git
(patches at
http://www.kernel.org/pub/linux/kernel/people/sfr/linux-next/). If you are tracking the linux-next tree using git, you should not use "git pull" to do so as that will try to merge the new linux-next release with the old one. You should use "git fetch" as mentioned in the FAQ on the wiki (see below).
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. After the final fixups (if any), it is also built with powerpc allnoconfig, 44x_defconfig and allyesconfig and i386, sparc and sparc64 defconfig.
Below is a summary of the state of the merge.
We are up to 125 trees (counting Linus' and 14 trees of patches pending for Linus' tree), more are welcome (even if they are currently empty). Thanks to those who have contributed, and to those who haven't, please do.
Status of my local build tests will be 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/ , the guys at http://test.kernel.org/ and Randy Dunlap for doing many randconfig builds.
There is a wiki covering stuff to do with linux-next at
http://linux.f-seidel.de/linux-next/pmwiki/ . Thanks to Frank Seidel.
Signature · 143 lines
Cheers, Stephen Rothwell [email protected] $ git checkout master $ git reset --hard stable Merging origin/master Merging powerpc-merge/merge Merging scsi-rc-fixes/master Merging net-current/master Merging sparc-current/master Merging sound-current/for-linus Merging arm-current/master Merging pci-current/for-linus Merging wireless-current/master Merging kbuild-current/master Merging quilt/driver-core.current Merging quilt/usb.current Merging cpufreq-current/fixes Merging input-current/for-linus Merging md-current/for-2.6.26 Merging dwmw2/master Merging arm/devel CONFLICT (content): Merge conflict in arch/arm/mach-realview/clock.c CONFLICT (content): Merge conflict in arch/arm/mach-versatile/clock.c Merging avr32/avr32-arch Merging blackfin/for-linus Merging cris/for-next Merging ia64/test Merging quilt/m68k Merging m68knommu/for-next Merging mips/mips-for-linux-next Merging parisc/master Merging powerpc/next Merging 4xx/next Merging galak/next Merging pxa/for-next Merging s390/features Merging sh/master Merging sparc/master Merging x86/auto-x86-next Merging xtensa/master Merging quilt/driver-core Merging quilt/usb CONFLICT (content): Merge conflict in drivers/net/usb/hso.c Merging tip-core/auto-core-next Merging cpus4096/auto-cpus4096-next Merging ftrace/auto-ftrace-next Merging genirq/auto-genirq-next Merging safe-poison-pointers/auto-safe-poison-pointers-next Merging sched/auto-sched-next Merging stackprotector/auto-stackprotector-next Merging timers/auto-timers-next Merging pci/linux-next Merging quilt/device-mapper Merging hid/mm Merging quilt/i2c Merging quilt/jdelvare-hwmon Merging quilt/kernel-doc Merging v4l-dvb/master Merging jfs/next Merging kbuild/master Merging quilt/ide Merging libata/NEXT Merging nfs/linux-next Merging xfs/master Merging infiniband/for-next Merging acpi/test Merging nfsd/nfsd-next Merging ieee1394/for-next Merging ubi/linux-next Merging kvm/master Merging dlm/next Merging scsi/master Merging ocfs2/linux-next Merging ext4/next Merging async_tx/next Merging udf/for_next Merging net/master CONFLICT (content): Merge conflict in drivers/message/fusion/mptlan.c CONFLICT (content): Merge conflict in drivers/net/sfc/ethtool.c CONFLICT (content): Merge conflict in net/mac80211/debugfs_sta.c Merging mtd/master Merging wireless/master Merging crypto/master Merging vfs/for-next Merging sound/for-next Merging cpufreq/next Merging v9fs/for-next Merging quilt/rr Merging cifs/master Merging mmc/next Merging gfs2/master Merging input/next Merging semaphore/semaphore Merging bkl-removal/bkl-removal Merging ubifs/linux-next Merging lsm/for-next Merging block/for-next Merging embedded/master Merging pcmcia/master Merging battery/master Merging leds/for-mm Merging backlight/for-mm Merging kgdb/kgdb-next Merging slab/for-next Merging uclinux/for-next Merging md/for-next Merging kmemcheck/auto-kmemcheck-next CONFLICT (content): Merge conflict in MAINTAINERS CONFLICT (content): Merge conflict in arch/x86/mm/Makefile CONFLICT (content): Merge conflict in mm/slab.c CONFLICT (content): Merge conflict in mm/slub.c Merging generic-ipi/auto-generic-ipi-next Merging mfd/for-next Merging hdlc/hdlc-next CONFLICT (delete/modify): Documentation/DocBook/wanbook.tmpl deleted in hdlc/hdlc-next and modified in HEAD. Version HEAD of Documentation/DocBook/wanbook.tmpl left in tree. CONFLICT (delete/modify): drivers/net/wan/syncppp.c deleted in hdlc/hdlc-next and modified in HEAD. Version HEAD of drivers/net/wan/syncppp.c left in tree. $ git rm -f drivers/net/wan/syncppp.c Documentation/DocBook/wanbook.tmpl Merging drm/drm-next Merging voltage/for-next Merging security-testing/next $ git reset --hard HEAD^ Merging lblnet/master Merging quilt/ttydev Merging agp/agp-next Merging oprofile/auto-oprofile-next Merging fastboot/auto-fastboot-next Merging sparseirq/auto-sparseirq-next Merging iommu/auto-iommu-next Merging uwb/for-upstream Merging watchdog/master Merging proc/proc Merging bdev/master Merging dwmw2-iommu/master Merging cpu_alloc/cpu_alloc CONFLICT (content): Merge conflict in kernel/lockdep.c CONFLICT (content): Merge conflict in kernel/module.c Applying cpu_alloc: merge_fix_1 Merging cputime/cputime Merging perfmon3/master Merging osd/linux-next Merging scsi-post-merge/master Merging fatfs/master
mac80211.h (was: Re: linux-next: Tree for November 12)
Quoted 4 lines · Stephen Rothwell
Status of my local build tests will be 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.
http://kisskb.ellerman.id.au/kisskb/buildresult/54400/
include/net/mac80211.h:400: error: size of array 'type name' is negative include/net/mac80211.h:405: error: size of array 'type name' is negative
| struct ieee80211_tx_info {
| /* common information */
| u32 flags;
| u8 band;
|
| u8 antenna_sel_tx;
|
| /* 2 byte hole */
^^^^^^^^^^^^^^^^^^This must be made explicit using padding, as on some architecture the alignment of 32-bit values is 2 bytes, not 4.
| union {
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
PATCH 1/1 mac80211: add explicit padding in struct ieee80211_tx_info
Otherwise, the BUILD_BUG_ON calls in ieee80211_tx_info_clear_status can fail on some architectures.
---
Why do we have those BUILD_BUG_ON calls anyway? Hmmm...
include/net/mac80211.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
include/net/mac80211.h +1 -0
@@ -333,6 +333,7 @@ struct ieee80211_tx_info {u8 antenna_sel_tx;/* 2 byte hole */ +u8 pad[2 ]; union { struct {
Signature · 1 line
1.5.4.3
Johannes Berg
maintainerRe: [PATCH] mac80211: add explicit padding in struct ieee80211_tx_info
Quoted 6 lines · John W. Linville
Otherwise, the
BUILD_BUG_ONcalls inieee80211_tx_info_clear_statuscan fail on some architectures.Signed-off-by John W. Linville <[email protected]>---
Why do we have thoseBUILD_BUG_ONcalls anyway? Hmmm...
Because we actually use those offsets in places to clear things.
Quoted 15 lines
include/net/mac80211.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)include/net/mac80211.h +1
-0@@ -333,6 +333,7 @@ struct ieee80211_tx_info {u8 antenna_sel_tx;/* 2 byte hole */ +u8 pad[2 ]; union { struct {
linux-next: Tree for November 12 - lguest build failure
In reply to Stephen RothwellHi Rusty,
lguest build fails with next-20081112 kernel,
drivers/lguest/lguest_device.c: In function ‘lg_find_vq’:drivers/lguest/lguest_device.c:252: error: too many arguments to function ‘vring_size’ make[2]: *** [drivers/lguest/lguest_device.o] Error 1
removing the extra argument passed to vring_size function.
--
drivers/lguest/~lguest_device.c renamed from drivers/lguest/lguest_device.c +1 -2
@@ -249,8 +249,7 @@ static struct virtqueue *lg_find_vq(stru (unsigned long)lvq->config.pfn << PAGE_SHIFT);/* Figure out how many pages the ring will take, and map that memory */ lvq->pages =lguest_map ((unsigned long )lvq->config.pfn <<PAGE_SHIFT , -DIV_ROUND_UP (vring_size (lvq->config.num, -PAGE_SIZE ), +DIV_ROUND_UP (vring_size (lvq->config.num),PAGE_SIZE ));if (!lvq->pages) { err = -ENOMEM ;
Signature · 4 lines
Thanks & Regards, Kamalesh Babulal, Linux Technology Center, IBM, ISTL.
Rusty Russell
AppliedRe: linux-next: Tree for November 12 - lguest build failure
Quoted 7 lines · On Wednesday 12 November 2008 19:41:02 Kamalesh Babulal wrote:
Hi Rusty,
lguest build fails with next-20081112 kernel,
drivers/lguest/lguest_device.c: In function ‘lg_find_vq’:drivers/lguest/lguest_device.c:252: error: too many arguments to function ‘vring_size’ make[2]: *** [drivers/lguest/lguest_device.o] Error 1
Hey, what idiot put in a patch which broke lguest? Oh wait...
Thanks, applied!
Rusty.
Re: [Lguest] linux-next: Tree for November 12 - lguest build failure
Quoted 5 lines · On Wednesday 12 November 2008 21:10:55 Rusty Russell wrote:
Quoted 4 lines · On Wednesday 12 November 2008 19:41:02 Kamalesh Babulal wrote:
Hi Rusty,
lguest build fails with next-20081112 kernel,
Quoted 8 lines
Quoted 3 lines
drivers/lguest/lguest_device.c: In function ‘lg_find_vq’:drivers/lguest/lguest_device.c:252: error: too many arguments to function ‘vring_size’ make[2]: *** [drivers/lguest/lguest_device.o] Error 1Hey, what idiot put in a patch which broke lguest? Oh wait...
Thanks, applied!
Rusty.
Actually, I just reworked all these patches, so this is no longer necessary.
Thanks again,
Rusty.
PATCH 1/1 : Tree for November 12 (libcrc32c)
In reply to Stephen RothwellFrom: Randy Dunlap <[email protected]>
libcrc32c uses CRYPTO interfaces so it should depend on CRYPTO.
crypto/built-in.o: In function `crc32c_mod_init':
crc32c.c:(.init.text+0xc): undefined reference to crypto_register_shash' crypto/built-in.o: In function crc32c_mod_fini':
crc32c.c:(.exit.text+0xc): undefined reference to crypto_unregister_shash' lib/built-in.o: In function crc32c':
(.text+0xfcf9): undefined reference to crypto_shash_update' lib/built-in.o: In function libcrc32c_mod_init':
libcrc32c.c:(.init.text+0x666): undefined reference to crypto_alloc_shash' lib/built-in.o: In function libcrc32c_mod_fini':
libcrc32c.c:(.exit.text+0xc): undefined reference to `crypto_free_tfm'
--- lib/Kconfig | 1 + 1 file changed, 1 insertion(+)
lib/Kconfig +1 -0
@@ -64,6 +64,7 @@ config CRC7 config LIBCRC32C tristate "CRC32c (Castagnoli, et al) Cyclic Redundancy-Check" + depends on CRYPTO select CRYPTO_CRC32C help This option is provided for the case where no in-kernel-tree
Herbert Xu
maintainerRe: [PATCH linux-next] : Tree for November 12 (libcrc32c)
Quoted 15 lines · Randy Dunlap
From: Randy Dunlap <[email protected]>
libcrc32c uses CRYPTO interfaces so it should depend on CRYPTO.
crypto/built-in.o: In function `crc32c_mod_init':
crc32c.c:(.init.text+0xc): undefined reference tocrypto_register_shash' crypto/built-in.o: In functioncrc32c_mod_fini':
crc32c.c:(.exit.text+0xc): undefined reference tocrypto_unregister_shash' lib/built-in.o: In functioncrc32c':
(.text+0xfcf9): undefined reference tocrypto_shash_update' lib/built-in.o: In functionlibcrc32c_mod_init':
libcrc32c.c:(.init.text+0x666): undefined reference tocrypto_alloc_shash' lib/built-in.o: In functionlibcrc32c_mod_fini':
libcrc32c.c:(.exit.text+0xc): undefined reference to `crypto_free_tfm'
Quoted 1 line
Signed-off-by Randy Dunlap <[email protected]>
Thanks, I've fixed it as follows:
commit d9cc217c79df50f9a9f7937aeaa54d89ae198686
Author: Herbert Xu <[email protected]> Date: Thu Nov 13 22:05:13 2008 +0800
libcrc32c: Select CRYPTO in Kconfig
Selecting CRYPTO_CRC32C is not enough as CRYPTO which CRYPTO_CRC32C depends on may be disabled. This patch adds the select on CRYPTO.
lib/Kconfig +1 -0
@@ -64,6 +64,7 @@ config CRC7 config LIBCRC32C tristate "CRC32c (Castagnoli, et al) Cyclic Redundancy-Check" + select CRYPTO select CRYPTO_CRC32C help This option is provided for the case where no in-kernel-tree
Signature · 4 lines
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txtPATCH 1/1 9p: restrict RDMA usage
In reply to Stephen RothwellFrom: Randy Dunlap <[email protected]>
linux-next:
Make 9p's RDMA option depend on INET since it uses Infiniband rdma_* functions and that code depends on INET. Otherwise 9p can try to use symbols which don't exist.
ERROR: "rdma_destroy_id" [net/9p/9pnet_rdma.ko] undefined!
ERROR: "rdma_connect" [net/9p/9pnet_rdma.ko] undefined!
ERROR: "rdma_create_id" [net/9p/9pnet_rdma.ko] undefined!
ERROR: "rdma_create_qp" [net/9p/9pnet_rdma.ko] undefined!
ERROR: "rdma_resolve_route" [net/9p/9pnet_rdma.ko] undefined!
ERROR: "rdma_disconnect" [net/9p/9pnet_rdma.ko] undefined!
ERROR: "rdma_resolve_addr" [net/9p/9pnet_rdma.ko] undefined!
I used an if/endif block so that the menu items would remain presented together.
Also correct an article adjective.
--- net/9p/Kconfig | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-)
net/9p/Kconfig +6 -4
@@ -13,22 +13,24 @@ menuconfig NET_9P If unsure, say N. +if NET_9P + config NET_9P_VIRTIO - depends on NET_9P && EXPERIMENTAL && VIRTIO + depends on EXPERIMENTAL && VIRTIO tristate "9P Virtio Transport (Experimental)" help This builds support for a transports between guest partitions and a host partition. config NET_9P_RDMA - depends on NET_9P && INFINIBAND && EXPERIMENTAL + depends on INET && INFINIBAND && EXPERIMENTAL tristate "9P RDMA Transport (Experimental)" help - This builds support for a RDMA transport. + This builds support for an RDMA transport. config NET_9P_DEBUG bool "Debug information" - depends on NET_9P help Say Y if you want the 9P subsystem to log debug information. +endif
Re: linux-next: Tree for November 12 (ipw2200 build error)
In reply to Stephen RothwellOn Wed, 12 Nov 2008 18:28:18 +1100 Stephen Rothwell wrote:
As previously reported, ipw2100 and ipw2200 use print_ssid() but print_ssid() is not always built. This can happen whether ipw2?00 is built into the kernel or built as a loadable module.
config-r5834:
ERROR: "print_ssid" [drivers/net/wireless/ipw2200.ko] undefined!
or
config-r5835:drivers/built-in.o: In function `ipw_debug_config':
ipw2200.c:(.text+0x1cff06): undefined reference to print_ssid' drivers/built-in.o: In function ipw_best_network':
ipw2200.c:(.text+0x1d0082): undefined reference to print_ssid' ipw2200.c:(.text+0x1d0101): undefined reference to print_ssid' ipw2200.c:(.text+0x1d0167): undefined reference to print_ssid' ipw2200.c:(.text+0x1d01e2): undefined reference to print_ssid' drivers/built-in.o:ipw2200.c:(.text+0x1d0267): more undefined references to `print_ssid' follow
---
~Randy