linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: Tree for March 26
@ 2009-03-26  8:01 Stephen Rothwell
  2009-03-26  9:56 ` Next March 26: s390 allnoconfig build failure still exists Sachin Sant
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Stephen Rothwell @ 2009-03-26  8:01 UTC (permalink / raw)
  To: linux-next; +Cc: LKML

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

Hi all,

Changes since 20090325:

The tracing tree gained a build failure so I used the version from
next-20090325.

The pci tree lost its build failure.

The net tree gained a conflict against the infiniband tree.

The rr tree lost a conflict.

The proc tree lost its build failure.

The dwmw2-iommu tree gained a conflict against the iommu tree.

The drivers-core tree gained a build failure due to updates in the pci
tree.  I applied a merge fixup patch.

----------------------------------------------------------------------------

I have created today's linux-next tree at
git://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 (32 and
64 bit), ppc44x_defconfig and allyesconfig (minus
CONFIG_PROFILE_ALL_BRANCHES) and i386, sparc and sparc64 defconfig.
These builds also have CONFIG_ENABLE_WARN_DEPRECATED,
CONFIG_ENABLE_MUST_CHECK and CONFIG_DEBUG_INFO disabled when necessary.

Below is a summary of the state of the merge.

We are up to 133 trees (counting Linus' and 18 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.

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

$ git checkout master
$ git reset --hard stable
Merging origin/master
Merging arm-current/master
Merging m68k-current/for-linus
Merging powerpc-merge/merge
Merging sparc-current/master
Merging scsi-rc-fixes/master
Merging net-current/master
Merging sound-current/for-linus
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-linus
Merging audit-current/for-linus
Merging crypto-current/master
Merging dwmw2/master
Merging arm/devel
CONFLICT (content): Merge conflict in arch/arm/include/asm/elf.h
CONFLICT (content): Merge conflict in arch/arm/kernel/module.c
CONFLICT (content): Merge conflict in sound/soc/pxa/pxa2xx-i2s.c
Merging avr32/avr32-arch
Merging blackfin/for-linus
Merging cris/for-next
Merging ia64/test
Merging m68k/for-next
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
CONFLICT (content): Merge conflict in arch/powerpc/include/asm/elf.h
Merging xtensa/master
Merging tip-core/auto-core-next
CONFLICT (content): Merge conflict in arch/x86/kernel/pci-nommu.c
CONFLICT (content): Merge conflict in lib/Kconfig.debug
Merging cpus4096/auto-cpus4096-next
CONFLICT (content): Merge conflict in arch/x86/kernel/cpu/common.c
CONFLICT (content): Merge conflict in arch/x86/kernel/cpu/intel_cacheinfo.c
$ git reset --hard HEAD^
Merging next-20090325/tracing
Merging genirq/auto-genirq-next
CONFLICT (content): Merge conflict in kernel/irq/handle.c
Merging safe-poison-pointers/auto-safe-poison-pointers-next
Merging sched/auto-sched-next
CONFLICT (content): Merge conflict in lib/Makefile
Merging stackprotector/auto-stackprotector-next
Merging timers/auto-timers-next
Merging pci/linux-next
CONFLICT (content): Merge conflict in Documentation/feature-removal-schedule.txt
Merging quilt/device-mapper
Merging hid/for-next
Merging quilt/i2c
CONFLICT (content): Merge conflict in Documentation/feature-removal-schedule.txt
CONFLICT (content): Merge conflict in drivers/i2c/busses/i2c-mpc.c
Merging quilt/jdelvare-hwmon
Merging quilt/kernel-doc
CONFLICT (content): Merge conflict in Documentation/kernel-parameters.txt
Merging v4l-dvb/master
Merging quota/for_next
Merging jfs/next
Merging kbuild/master
Merging quilt/ide
CONFLICT (content): Merge conflict in drivers/ide/ide-dma.c
CONFLICT (content): Merge conflict in drivers/ide/ide-floppy.c
CONFLICT (content): Merge conflict in include/linux/ide.h
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
CONFLICT (content): Merge conflict in fs/ext4/inode.c
Merging async_tx/next
Merging udf/for_next
Merging net/master
CONFLICT (content): Merge conflict in drivers/infiniband/hw/cxgb3/cxio_hal.h
CONFLICT (content): Merge conflict in drivers/infiniband/hw/nes/nes_nic.c
CONFLICT (content): Merge conflict in include/linux/netfilter/xt_limit.h
CONFLICT (content): Merge conflict in include/linux/netfilter/xt_statistic.h
Applying: net: tracing interface fixup
Merging wireless/master
Merging mtd/master
CONFLICT (content): Merge conflict in drivers/mtd/maps/Makefile
Merging crypto/master
Merging vfs/for-next
Merging sound/for-next
Merging cpufreq/next
CONFLICT (content): Merge conflict in arch/x86/include/asm/timer.h
Merging v9fs/for-next
CONFLICT (content): Merge conflict in net/9p/protocol.c
Merging quilt/rr
CONFLICT (content): Merge conflict in arch/powerpc/kernel/irq.c
CONFLICT (content): Merge conflict in arch/powerpc/kernel/sysfs.c
CONFLICT (content): Merge conflict in arch/x86/include/asm/topology.h
CONFLICT (content): Merge conflict in arch/x86/kernel/cpu/cpufreq/powernow-k8.c
CONFLICT (content): Merge conflict in arch/x86/kernel/cpu/cpufreq/speedstep-ich.c
CONFLICT (content): Merge conflict in arch/x86/kernel/cpu/cpufreq/speedstep-lib.c
CONFLICT (content): Merge conflict in arch/x86/lguest/boot.c
CONFLICT (delete/modify): arch/x86/mach-default/setup.c deleted in HEAD and modified in quilt/rr. Version quilt/rr of arch/x86/mach-default/setup.c left in tree.
CONFLICT (delete/modify): arch/x86/mach-voyager/setup.c deleted in HEAD and modified in quilt/rr. Version quilt/rr of arch/x86/mach-voyager/setup.c left in tree.
CONFLICT (content): Merge conflict in drivers/firmware/dcdbas.c
CONFLICT (content): Merge conflict in drivers/media/video/saa7134/saa7134-core.c
CONFLICT (content): Merge conflict in drivers/media/video/saa7134/saa7134.h
CONFLICT (content): Merge conflict in drivers/net/virtio_net.c
CONFLICT (content): Merge conflict in kernel/module.c
$ git rm -f arch/x86/mach-default/setup.c
$ git rm -f arch/x86/mach-voyager/setup.c
Applying: rr: x86 irqaction merge fixup
Merging cifs/master
Merging mmc/next
Merging gfs2/master
Merging input/next
Merging bkl-removal/bkl-removal
Merging ubifs/linux-next
Merging lsm/for-next
Merging block/for-next
Merging embedded/master
Merging firmware/master
CONFLICT (content): Merge conflict in firmware/Makefile
CONFLICT (content): Merge conflict in firmware/WHENCE
CONFLICT (content): Merge conflict in sound/isa/Kconfig
Merging pcmcia/master
Merging battery/master
Merging leds/for-mm
Merging backlight/for-mm
Merging kgdb/kgdb-next
Merging slab/for-next
CONFLICT (content): Merge conflict in include/linux/rcupdate.h
CONFLICT (content): Merge conflict in include/linux/slub_def.h
CONFLICT (content): Merge conflict in mm/slob.c
CONFLICT (content): Merge conflict in mm/slub.c
Merging uclinux/for-next
Merging md/for-next
Merging mfd/for-next
Merging hdlc/hdlc-next
Merging drm/drm-next
CONFLICT (content): Merge conflict in drivers/gpu/drm/drm_proc.c
Merging voltage/for-next
Merging security-testing/next
Merging lblnet/master
CONFLICT (content): Merge conflict in Documentation/feature-removal-schedule.txt
Merging quilt/ttydev
Merging agp/agp-next
Merging generic-ipi/auto-generic-ipi-next
Merging oprofile/auto-oprofile-next
Merging fastboot/auto-fastboot-next
Merging sparseirq/auto-sparseirq-next
Merging iommu/auto-iommu-next
CONFLICT (content): Merge conflict in Documentation/kernel-parameters.txt
CONFLICT (content): Merge conflict in arch/x86/Kconfig
CONFLICT (content): Merge conflict in lib/Makefile
Merging uwb/for-upstream
Merging watchdog/master
Merging proc/proc
CONFLICT (content): Merge conflict in security/selinux/hooks.c
Merging bdev/master
Merging dwmw2-iommu/master
CONFLICT (content): Merge conflict in arch/x86/Kconfig
CONFLICT (content): Merge conflict in drivers/pci/intel-iommu.c
Merging cputime/cputime
Merging osd/linux-next
Merging fatfs/master
Merging fuse/for-next
Merging jc_docs/docs-next
Merging nommu/master
Merging trivial/for-next
Merging audit/for-next
Merging squashfs/master
Merging omap/for-next
Merging quilt/aoe
Merging kmemleak/kmemleak
CONFLICT (content): Merge conflict in Documentation/kernel-parameters.txt
CONFLICT (content): Merge conflict in MAINTAINERS
CONFLICT (content): Merge conflict in include/linux/percpu.h
CONFLICT (content): Merge conflict in init/main.c
CONFLICT (content): Merge conflict in kernel/module.c
CONFLICT (content): Merge conflict in lib/Kconfig.debug
CONFLICT (content): Merge conflict in mm/slob.c
CONFLICT (content): Merge conflict in mm/vmalloc.c
Merging suspend/linux-next
CONFLICT (content): Merge conflict in drivers/xen/manage.c
Merging quilt/driver-core
CONFLICT (content): Merge conflict in drivers/media/video/v4l2-device.c
CONFLICT (content): Merge conflict in drivers/net/wimax/i2400m/usb-notif.c
CONFLICT (content): Merge conflict in drivers/sh/maple/maple.c
Applying: acpi: update thermal for bus_id removal
Applying: pci: update fakephp for bus_id removal
Merging quilt/usb
Merging quilt/staging
Merging scsi-post-merge/master

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

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

* Next March 26: s390 allnoconfig build failure still exists
  2009-03-26  8:01 linux-next: Tree for March 26 Stephen Rothwell
@ 2009-03-26  9:56 ` Sachin Sant
  2009-03-26 10:12   ` Heiko Carstens
  2009-03-26 21:57   ` Stephen Rothwell
  2009-03-26 15:46 ` linux-next: Tree for March 26 (benet) Randy Dunlap
  2009-03-26 21:44 ` [PATCH -next] exofs: fix printk format warnings Randy Dunlap
  2 siblings, 2 replies; 12+ messages in thread
From: Sachin Sant @ 2009-03-26  9:56 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: linux-next, LKML, heiko.carstens

I still see the following s390 allnoconfig build failure
with today's next (and previous trees as well ).

arch/s390/include/asm/smp.h:96: error: redefinition of smp_send_stop
include/linux/smp.h:125: error: previous definition of smp_send_stop was here



-- 

---------------------------------
Sachin Sant
IBM Linux Technology Center
India Systems and Technology Labs
Bangalore, India
---------------------------------

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

* Re: Next March 26: s390 allnoconfig build failure still exists
  2009-03-26  9:56 ` Next March 26: s390 allnoconfig build failure still exists Sachin Sant
@ 2009-03-26 10:12   ` Heiko Carstens
  2009-03-26 21:57   ` Stephen Rothwell
  1 sibling, 0 replies; 12+ messages in thread
From: Heiko Carstens @ 2009-03-26 10:12 UTC (permalink / raw)
  To: Sachin Sant, Ingo Molnar; +Cc: Stephen Rothwell, linux-next, LKML

On Thu, 26 Mar 2009 15:26:53 +0530
Sachin Sant <sachinp@in.ibm.com> wrote:

> I still see the following s390 allnoconfig build failure
> with today's next (and previous trees as well ).
> 
> arch/s390/include/asm/smp.h:96: error: redefinition of smp_send_stop
> include/linux/smp.h:125: error: previous definition of smp_send_stop was here

In theory it should have been fixed, since I sent a patch and Ingo applied it:

http://lkml.org/lkml/2009/3/20/74

For some reason it doesn't show up in linux-next.

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

* Re: linux-next: Tree for March 26 (benet)
  2009-03-26  8:01 linux-next: Tree for March 26 Stephen Rothwell
  2009-03-26  9:56 ` Next March 26: s390 allnoconfig build failure still exists Sachin Sant
@ 2009-03-26 15:46 ` Randy Dunlap
  2009-03-26 19:30   ` [PATCH] benet: use do_div() for 64 bit divide Stephen Hemminger
  2009-03-26 21:44 ` [PATCH -next] exofs: fix printk format warnings Randy Dunlap
  2 siblings, 1 reply; 12+ messages in thread
From: Randy Dunlap @ 2009-03-26 15:46 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: linux-next, LKML, netdev, linux-drivers

Stephen Rothwell wrote:
> Hi all,
> 
> Changes since 20090325:


on i386 build:

drivers/built-in.o: In function `be_worker':
be_main.c:(.text+0x827c7): undefined reference to `__udivdi3'
be_main.c:(.text+0x8286c): undefined reference to `__udivdi3'


Probably one of the called functions (that contains
division) is inlined.


-- 
~Randy

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

* [PATCH] benet: use do_div() for 64 bit divide
  2009-03-26 15:46 ` linux-next: Tree for March 26 (benet) Randy Dunlap
@ 2009-03-26 19:30   ` Stephen Hemminger
  2009-03-26 20:10     ` Randy Dunlap
  0 siblings, 1 reply; 12+ messages in thread
From: Stephen Hemminger @ 2009-03-26 19:30 UTC (permalink / raw)
  To: Randy Dunlap, David S. Miller, Sathya Perla
  Cc: Stephen Rothwell, linux-next, netdev, linux-drivers

The benet driver is doing a 64 bit divide, which is not supported in Linux kernel
on 32 bit architectures. The correct way to do this is to use do_div().
Compile tested on i386 only.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>

--- a/drivers/net/benet/be_main.c	2009-03-25 15:31:35.000000000 -0700
+++ b/drivers/net/benet/be_main.c	2009-03-26 12:28:21.645388379 -0700
@@ -16,6 +16,7 @@
  */
 
 #include "be.h"
+#include <asm/div64.h>
 
 MODULE_VERSION(DRV_VER);
 MODULE_DEVICE_TABLE(pci, be_dev_ids);
@@ -290,6 +291,17 @@ static struct net_device_stats *be_get_s
 	return &adapter->stats.net_stats;
 }
 
+static u32 be_calc_rate(u64 bytes, unsigned long ticks)
+{
+	u64 rate = bytes;
+
+	do_div(rate, ticks / HZ);
+	rate <<= 3;			/* bytes/sec -> bits/sec */
+	do_div(rate, 1000000ul);	/* MB/Sec */
+
+	return rate;
+}
+
 static void be_tx_rate_update(struct be_adapter *adapter)
 {
 	struct be_drvr_stats *stats = drvr_stats(adapter);
@@ -303,11 +315,9 @@ static void be_tx_rate_update(struct be_
 
 	/* Update tx rate once in two seconds */
 	if ((now - stats->be_tx_jiffies) > 2 * HZ) {
-		u32 r;
-		r = (stats->be_tx_bytes - stats->be_tx_bytes_prev) /
-			((now - stats->be_tx_jiffies) / HZ);
-		r = r / 1000000;			/* M bytes/s */
-		stats->be_tx_rate = r * 8;	/* M bits/s */
+		stats->be_tx_rate = be_calc_rate(stats->be_tx_bytes
+						  - stats->be_tx_bytes_prev,
+						 now - stats->be_tx_jiffies);
 		stats->be_tx_jiffies = now;
 		stats->be_tx_bytes_prev = stats->be_tx_bytes;
 	}
@@ -599,7 +609,6 @@ static void be_rx_rate_update(struct be_
 {
 	struct be_drvr_stats *stats = drvr_stats(adapter);
 	ulong now = jiffies;
-	u32 rate;
 
 	/* Wrapped around */
 	if (time_before(now, stats->be_rx_jiffies)) {
@@ -610,11 +619,10 @@ static void be_rx_rate_update(struct be_
 	/* Update the rate once in two seconds */
 	if ((now - stats->be_rx_jiffies) < 2 * HZ)
 		return;
-
-	rate = (stats->be_rx_bytes - stats->be_rx_bytes_prev) /
-		((now - stats->be_rx_jiffies) / HZ);
-	rate = rate / 1000000;	/* MB/Sec */
-	stats->be_rx_rate = rate * 8; 	/* Mega Bits/Sec */
+
+	stats->be_rx_rate = be_calc_rate(stats->be_rx_bytes
+					  - stats->be_rx_bytes_prev,
+					 now - stats->be_rx_jiffies);
 	stats->be_rx_jiffies = now;
 	stats->be_rx_bytes_prev = stats->be_rx_bytes;
 }

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

* Re: [PATCH] benet: use do_div() for 64 bit divide
  2009-03-26 19:30   ` [PATCH] benet: use do_div() for 64 bit divide Stephen Hemminger
@ 2009-03-26 20:10     ` Randy Dunlap
  2009-03-27  7:26       ` David Miller
  0 siblings, 1 reply; 12+ messages in thread
From: Randy Dunlap @ 2009-03-26 20:10 UTC (permalink / raw)
  To: Stephen Hemminger
  Cc: David S. Miller, Sathya Perla, Stephen Rothwell, linux-next,
	netdev, linux-drivers

Stephen Hemminger wrote:
> The benet driver is doing a 64 bit divide, which is not supported in Linux kernel
> on 32 bit architectures. The correct way to do this is to use do_div().
> Compile tested on i386 only.
> 
> Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>

Acked-by: Randy Dunlap <randy.dunlap@oracle.com> # and Tested-by: (built)

Thanks.

> --- a/drivers/net/benet/be_main.c	2009-03-25 15:31:35.000000000 -0700
> +++ b/drivers/net/benet/be_main.c	2009-03-26 12:28:21.645388379 -0700
> @@ -16,6 +16,7 @@
>   */
>  
>  #include "be.h"
> +#include <asm/div64.h>
>  
>  MODULE_VERSION(DRV_VER);
>  MODULE_DEVICE_TABLE(pci, be_dev_ids);
> @@ -290,6 +291,17 @@ static struct net_device_stats *be_get_s
>  	return &adapter->stats.net_stats;
>  }
>  
> +static u32 be_calc_rate(u64 bytes, unsigned long ticks)
> +{
> +	u64 rate = bytes;
> +
> +	do_div(rate, ticks / HZ);
> +	rate <<= 3;			/* bytes/sec -> bits/sec */
> +	do_div(rate, 1000000ul);	/* MB/Sec */
> +
> +	return rate;
> +}
> +
>  static void be_tx_rate_update(struct be_adapter *adapter)
>  {
>  	struct be_drvr_stats *stats = drvr_stats(adapter);
> @@ -303,11 +315,9 @@ static void be_tx_rate_update(struct be_
>  
>  	/* Update tx rate once in two seconds */
>  	if ((now - stats->be_tx_jiffies) > 2 * HZ) {
> -		u32 r;
> -		r = (stats->be_tx_bytes - stats->be_tx_bytes_prev) /
> -			((now - stats->be_tx_jiffies) / HZ);
> -		r = r / 1000000;			/* M bytes/s */
> -		stats->be_tx_rate = r * 8;	/* M bits/s */
> +		stats->be_tx_rate = be_calc_rate(stats->be_tx_bytes
> +						  - stats->be_tx_bytes_prev,
> +						 now - stats->be_tx_jiffies);
>  		stats->be_tx_jiffies = now;
>  		stats->be_tx_bytes_prev = stats->be_tx_bytes;
>  	}
> @@ -599,7 +609,6 @@ static void be_rx_rate_update(struct be_
>  {
>  	struct be_drvr_stats *stats = drvr_stats(adapter);
>  	ulong now = jiffies;
> -	u32 rate;
>  
>  	/* Wrapped around */
>  	if (time_before(now, stats->be_rx_jiffies)) {
> @@ -610,11 +619,10 @@ static void be_rx_rate_update(struct be_
>  	/* Update the rate once in two seconds */
>  	if ((now - stats->be_rx_jiffies) < 2 * HZ)
>  		return;
> -
> -	rate = (stats->be_rx_bytes - stats->be_rx_bytes_prev) /
> -		((now - stats->be_rx_jiffies) / HZ);
> -	rate = rate / 1000000;	/* MB/Sec */
> -	stats->be_rx_rate = rate * 8; 	/* Mega Bits/Sec */
> +
> +	stats->be_rx_rate = be_calc_rate(stats->be_rx_bytes
> +					  - stats->be_rx_bytes_prev,
> +					 now - stats->be_rx_jiffies);
>  	stats->be_rx_jiffies = now;
>  	stats->be_rx_bytes_prev = stats->be_rx_bytes;
>  }
> 


-- 
~Randy

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

* [PATCH -next] exofs: fix printk format warnings
  2009-03-26  8:01 linux-next: Tree for March 26 Stephen Rothwell
  2009-03-26  9:56 ` Next March 26: s390 allnoconfig build failure still exists Sachin Sant
  2009-03-26 15:46 ` linux-next: Tree for March 26 (benet) Randy Dunlap
@ 2009-03-26 21:44 ` Randy Dunlap
  2009-03-30  8:14   ` Boaz Harrosh
  2009-03-30 16:15   ` Geert Uytterhoeven
  2 siblings, 2 replies; 12+ messages in thread
From: Randy Dunlap @ 2009-03-26 21:44 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: linux-next, LKML, scsi, Boaz Harrosh

From: Randy Dunlap <randy.dunlap@oracle.com>

Fix exofs printk format warnings:

fs/exofs/inode.c:184: warning: format '%zx' expects type 'size_t', but argument 6 has type 'long unsigned int'
fs/exofs/inode.c:291: warning: format '%zx' expects type 'size_t', but argument 6 has type 'long unsigned int'
fs/exofs/inode.c:373: warning: format '%zx' expects type 'size_t', but argument 7 has type 'long unsigned int'
fs/exofs/inode.c:461: warning: format '%zx' expects type 'size_t', but argument 6 has type 'long unsigned int'
fs/exofs/inode.c:534: warning: format '%zx' expects type 'size_t', but argument 7 has type 'long unsigned int'
fs/exofs/inode.c:610: warning: format '%zx' expects type 'size_t', but argument 5 has type 'long unsigned int'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
cc: Boaz Harrosh <bharrosh@panasas.com>
---
 fs/exofs/inode.c |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

--- linux-next-20090325.orig/fs/exofs/inode.c
+++ linux-next-20090325/fs/exofs/inode.c
@@ -182,7 +182,7 @@ static int __readpages_done(struct osd_r
 		good_bytes = pcol->length - resid;
 
 	EXOFS_DBGMSG("readpages_done(%ld) good_bytes=%llx"
-		     " length=%zx nr_pages=%u\n",
+		     " length=%lx nr_pages=%u\n",
 		     pcol->inode->i_ino, _LLU(good_bytes), pcol->length,
 		     pcol->nr_pages);
 
@@ -288,7 +288,7 @@ static int read_exec(struct page_collect
 
 	atomic_inc(&pcol->sbi->s_curr_pending);
 
-	EXOFS_DBGMSG("read_exec obj=%llx start=%llx length=%zx\n",
+	EXOFS_DBGMSG("read_exec obj=%llx start=%llx length=%lx\n",
 		  obj.id, _LLU(i_start), pcol->length);
 
 	/* pages ownership was passed to pcol_copy */
@@ -371,7 +371,7 @@ try_again:
 	ret = pcol_add_page(pcol, page, len);
 	if (ret) {
 		EXOFS_DBGMSG("Failed pcol_add_page pages[i]=%p "
-			  "len=%zx nr_pages=%u length=%zx\n",
+			  "len=%zx nr_pages=%u length=%lx\n",
 			  page, len, pcol->nr_pages, pcol->length);
 
 		/* split the request, and start again with current page */
@@ -459,7 +459,7 @@ static void writepages_done(struct osd_r
 		good_bytes = pcol->length - resid;
 
 	EXOFS_DBGMSG("writepages_done(%lx) good_bytes=%llx"
-		     " length=%zx nr_pages=%u\n",
+		     " length=%lx nr_pages=%u\n",
 		     pcol->inode->i_ino, _LLU(good_bytes), pcol->length,
 		     pcol->nr_pages);
 
@@ -531,7 +531,7 @@ static int write_exec(struct page_collec
 	}
 
 	atomic_inc(&pcol->sbi->s_curr_pending);
-	EXOFS_DBGMSG("write_exec(%lx, %lx) start=%llx length=%zx\n",
+	EXOFS_DBGMSG("write_exec(%lx, %lx) start=%llx length=%lx\n",
 		  pcol->inode->i_ino, pcol->pg_first, _LLU(i_start),
 		  pcol->length);
 	/* pages ownership was passed to pcol_copy */
@@ -608,7 +608,7 @@ try_again:
 	ret = pcol_add_page(pcol, page, len);
 	if (unlikely(ret)) {
 		EXOFS_DBGMSG("Failed pcol_add_page "
-			     "nr_pages=%u total_length=%zx\n",
+			     "nr_pages=%u total_length=%lx\n",
 			     pcol->nr_pages, pcol->length);
 
 		/* split the request, next loop will start again */

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

* Re: Next March 26: s390 allnoconfig build failure still exists
  2009-03-26  9:56 ` Next March 26: s390 allnoconfig build failure still exists Sachin Sant
  2009-03-26 10:12   ` Heiko Carstens
@ 2009-03-26 21:57   ` Stephen Rothwell
  1 sibling, 0 replies; 12+ messages in thread
From: Stephen Rothwell @ 2009-03-26 21:57 UTC (permalink / raw)
  To: Sachin Sant; +Cc: linux-next, LKML, heiko.carstens

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

Hi Sachin,

On Thu, 26 Mar 2009 15:26:53 +0530 Sachin Sant <sachinp@in.ibm.com> wrote:
>
> I still see the following s390 allnoconfig build failure
> with today's next (and previous trees as well ).
> 
> arch/s390/include/asm/smp.h:96: error: redefinition of smp_send_stop
> include/linux/smp.h:125: error: previous definition of smp_send_stop was here

There will be a fix for this in today's linux-next.

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

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

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

* Re: [PATCH] benet: use do_div() for 64 bit divide
  2009-03-26 20:10     ` Randy Dunlap
@ 2009-03-27  7:26       ` David Miller
  0 siblings, 0 replies; 12+ messages in thread
From: David Miller @ 2009-03-27  7:26 UTC (permalink / raw)
  To: randy.dunlap; +Cc: shemminger, sathyap, sfr, linux-next, netdev, linux-drivers

From: Randy Dunlap <randy.dunlap@oracle.com>
Date: Thu, 26 Mar 2009 13:10:11 -0700

> Stephen Hemminger wrote:
> > The benet driver is doing a 64 bit divide, which is not supported in Linux kernel
> > on 32 bit architectures. The correct way to do this is to use do_div().
> > Compile tested on i386 only.
> > 
> > Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
> 
> Acked-by: Randy Dunlap <randy.dunlap@oracle.com> # and Tested-by: (built)

Applied, thanks everyone.

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

* Re: [PATCH -next] exofs: fix printk format warnings
  2009-03-26 21:44 ` [PATCH -next] exofs: fix printk format warnings Randy Dunlap
@ 2009-03-30  8:14   ` Boaz Harrosh
  2009-03-30 16:15   ` Geert Uytterhoeven
  1 sibling, 0 replies; 12+ messages in thread
From: Boaz Harrosh @ 2009-03-30  8:14 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: Stephen Rothwell, linux-next, LKML, scsi

On 03/26/2009 11:44 PM, Randy Dunlap wrote:
> From: Randy Dunlap <randy.dunlap@oracle.com>
> 
> Fix exofs printk format warnings:
> 
> fs/exofs/inode.c:184: warning: format '%zx' expects type 'size_t', but argument 6 has type 'long unsigned int'
> fs/exofs/inode.c:291: warning: format '%zx' expects type 'size_t', but argument 6 has type 'long unsigned int'
> fs/exofs/inode.c:373: warning: format '%zx' expects type 'size_t', but argument 7 has type 'long unsigned int'
> fs/exofs/inode.c:461: warning: format '%zx' expects type 'size_t', but argument 6 has type 'long unsigned int'
> fs/exofs/inode.c:534: warning: format '%zx' expects type 'size_t', but argument 7 has type 'long unsigned int'
> fs/exofs/inode.c:610: warning: format '%zx' expects type 'size_t', but argument 5 has type 'long unsigned int'
> 
> Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
> cc: Boaz Harrosh <bharrosh@panasas.com>

Thanks, much obliged.

Applied, it will be pushed to linux-next and for-linus branches as part of the
2.6.30 patchset. (Later today)

Boaz

> ---
>  fs/exofs/inode.c |   12 ++++++------
>  1 file changed, 6 insertions(+), 6 deletions(-)
> 
> --- linux-next-20090325.orig/fs/exofs/inode.c
> +++ linux-next-20090325/fs/exofs/inode.c
> @@ -182,7 +182,7 @@ static int __readpages_done(struct osd_r
>  		good_bytes = pcol->length - resid;
>  
>  	EXOFS_DBGMSG("readpages_done(%ld) good_bytes=%llx"
> -		     " length=%zx nr_pages=%u\n",
> +		     " length=%lx nr_pages=%u\n",
>  		     pcol->inode->i_ino, _LLU(good_bytes), pcol->length,
>  		     pcol->nr_pages);
>  
> @@ -288,7 +288,7 @@ static int read_exec(struct page_collect
>  
>  	atomic_inc(&pcol->sbi->s_curr_pending);
>  
> -	EXOFS_DBGMSG("read_exec obj=%llx start=%llx length=%zx\n",
> +	EXOFS_DBGMSG("read_exec obj=%llx start=%llx length=%lx\n",
>  		  obj.id, _LLU(i_start), pcol->length);
>  
>  	/* pages ownership was passed to pcol_copy */
> @@ -371,7 +371,7 @@ try_again:
>  	ret = pcol_add_page(pcol, page, len);
>  	if (ret) {
>  		EXOFS_DBGMSG("Failed pcol_add_page pages[i]=%p "
> -			  "len=%zx nr_pages=%u length=%zx\n",
> +			  "len=%zx nr_pages=%u length=%lx\n",
>  			  page, len, pcol->nr_pages, pcol->length);
>  
>  		/* split the request, and start again with current page */
> @@ -459,7 +459,7 @@ static void writepages_done(struct osd_r
>  		good_bytes = pcol->length - resid;
>  
>  	EXOFS_DBGMSG("writepages_done(%lx) good_bytes=%llx"
> -		     " length=%zx nr_pages=%u\n",
> +		     " length=%lx nr_pages=%u\n",
>  		     pcol->inode->i_ino, _LLU(good_bytes), pcol->length,
>  		     pcol->nr_pages);
>  
> @@ -531,7 +531,7 @@ static int write_exec(struct page_collec
>  	}
>  
>  	atomic_inc(&pcol->sbi->s_curr_pending);
> -	EXOFS_DBGMSG("write_exec(%lx, %lx) start=%llx length=%zx\n",
> +	EXOFS_DBGMSG("write_exec(%lx, %lx) start=%llx length=%lx\n",
>  		  pcol->inode->i_ino, pcol->pg_first, _LLU(i_start),
>  		  pcol->length);
>  	/* pages ownership was passed to pcol_copy */
> @@ -608,7 +608,7 @@ try_again:
>  	ret = pcol_add_page(pcol, page, len);
>  	if (unlikely(ret)) {
>  		EXOFS_DBGMSG("Failed pcol_add_page "
> -			     "nr_pages=%u total_length=%zx\n",
> +			     "nr_pages=%u total_length=%lx\n",
>  			     pcol->nr_pages, pcol->length);
>  
>  		/* split the request, next loop will start again */

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

* Re: [PATCH -next] exofs: fix printk format warnings
  2009-03-26 21:44 ` [PATCH -next] exofs: fix printk format warnings Randy Dunlap
  2009-03-30  8:14   ` Boaz Harrosh
@ 2009-03-30 16:15   ` Geert Uytterhoeven
  1 sibling, 0 replies; 12+ messages in thread
From: Geert Uytterhoeven @ 2009-03-30 16:15 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: Stephen Rothwell, linux-next, LKML, scsi, Boaz Harrosh

On Thu, Mar 26, 2009 at 23:44, Randy Dunlap <randy.dunlap@oracle.com> wrote:
> From: Randy Dunlap <randy.dunlap@oracle.com>
>
> Fix exofs printk format warnings:
>
> fs/exofs/inode.c:184: warning: format '%zx' expects type 'size_t', but argument 6 has type 'long unsigned int'
> fs/exofs/inode.c:291: warning: format '%zx' expects type 'size_t', but argument 6 has type 'long unsigned int'
> fs/exofs/inode.c:373: warning: format '%zx' expects type 'size_t', but argument 7 has type 'long unsigned int'
> fs/exofs/inode.c:461: warning: format '%zx' expects type 'size_t', but argument 6 has type 'long unsigned int'
> fs/exofs/inode.c:534: warning: format '%zx' expects type 'size_t', but argument 7 has type 'long unsigned int'
> fs/exofs/inode.c:610: warning: format '%zx' expects type 'size_t', but argument 5 has type 'long unsigned

It also wouldn't hurt to
  - kill EXOFS_DBGMSG()
  - s/EXOFS_DBGMSG/pr_debug/g
  - #define pr_fmt(fmt) "%s: " fmt, __func__

That way we always get printf()-style warning checking, even if
CONFIG_EXOFS_DEBUG
is not enabled.

Similar for EXOFS_ERR() -> pr_err()

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

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

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

* linux-next: Tree for March 26
@ 2010-03-26  7:48 Stephen Rothwell
  0 siblings, 0 replies; 12+ messages in thread
From: Stephen Rothwell @ 2010-03-26  7:48 UTC (permalink / raw)
  To: linux-next; +Cc: LKML

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

Hi all,

Changes since 20100325:

Dropped tree: tmio-mmc (long unresolved conflicts and unable to fetch)

My fixes tree contains:
	a patch for a pktcdvd build error from Arnd Bergmann
	a revert of the commit that broke virtual consoles on PowerPC

The pci tree gained a conflict against the pci-current tree.

----------------------------------------------------------------------------

I have created today's linux-next tree at
git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
(patches at http://www.kernel.org/pub/linux/kernel/v2.6/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 (32 and
64 bit), ppc44x_defconfig and allyesconfig (minus
CONFIG_PROFILE_ALL_BRANCHES - this fails its final link) and i386, sparc
and sparc64 defconfig. These builds also have
CONFIG_ENABLE_WARN_DEPRECATED, CONFIG_ENABLE_MUST_CHECK and
CONFIG_DEBUG_INFO disabled when necessary.

Below is a summary of the state of the merge.

We are up to 158 trees (counting Linus' and 22 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.

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

$ git checkout master
$ git reset --hard stable
Merging origin/master
Merging fixes/fixes
Merging arm-current/master
Merging m68k-current/for-linus
Merging powerpc-merge/merge
Merging sparc-current/master
Merging scsi-rc-fixes/master
Merging net-current/master
Applying: ar9170: fix for driver-core ABI change
Merging sound-current/for-linus
Merging pci-current/for-linus
Merging wireless-current/master
Merging kbuild-current/for-linus
Merging quilt/driver-core.current
Merging quilt/tty.current
Merging quilt/usb.current
Merging quilt/staging.current
Merging cpufreq-current/fixes
Merging input-current/for-linus
Merging md-current/for-linus
Merging audit-current/for-linus
Merging crypto-current/master
Merging ide-curent/master
Merging dwmw2/master
Merging gcl-current/merge
Merging arm/devel
Merging davinci/davinci-next
Merging i.MX/for-next
Merging msm/for-next
Merging omap/for-next
Merging pxa/for-next
Merging samsung/next-samsung
Merging avr32/avr32-arch
Merging blackfin/for-linus
Merging cris/for-next
Merging ia64/test
Merging m68k/for-next
Merging m68knommu/for-next
Merging microblaze/next
Merging mips/mips-for-linux-next
Merging parisc/next
Merging powerpc/next
Merging 4xx/next
Merging 52xx-and-virtex/next
Merging galak/next
Merging s390/features
Merging sh/master
Merging genesis/master
Merging sparc/master
Merging xtensa/master
Merging ceph/for-next
Merging cifs/master
Merging configfs/linux-next
Merging ecryptfs/next
Merging ext3/for_next
Merging ext4/next
Merging fatfs/master
Merging fuse/for-next
Merging gfs2/master
Merging jfs/next
Merging logfs/master
Merging nfs/linux-next
Merging nfsd/nfsd-next
Merging nilfs2/for-next
Merging ocfs2/linux-next
Merging squashfs/master
Merging udf/for_next
Merging v9fs/for-next
Merging ubifs/linux-next
Merging xfs/master
Merging reiserfs-bkl/reiserfs/kill-bkl
Merging vfs/for-next
CONFLICT (content): Merge conflict in fs/namei.c
CONFLICT (content): Merge conflict in fs/nfs/inode.c
CONFLICT (content): Merge conflict in fs/nfsd/nfs4xdr.c
CONFLICT (content): Merge conflict in fs/nfsd/vfs.c
CONFLICT (content): Merge conflict in fs/ufs/inode.c
CONFLICT (content): Merge conflict in fs/xfs/linux-2.6/xfs_super.c
CONFLICT (content): Merge conflict in security/tomoyo/realpath.c
Merging pci/linux-next
CONFLICT (content): Merge conflict in arch/x86/pci/acpi.c
Merging hid/for-next
Merging quilt/i2c
Merging bjdooks-i2c/next-i2c
Merging quilt/jdelvare-hwmon
Merging quilt/kernel-doc
Merging v4l-dvb/master
Merging kbuild/for-next
Merging kconfig/for-next
Merging ide/master
Merging libata/NEXT
CONFLICT (content): Merge conflict in drivers/ata/ahci.c
Merging infiniband/for-next
Merging acpi/test
Merging ieee1394/for-next
Merging ubi/linux-next
Merging kvm/linux-next
Merging dlm/next
Merging ibft/master
Merging scsi/master
Merging async_tx/next
Merging net/master
Merging wireless/master
Merging mtd/master
CONFLICT (content): Merge conflict in drivers/mtd/nand/sh_flctl.c
Merging crypto/master
Merging sound/for-next
Merging cpufreq/next
Merging quilt/rr
CONFLICT (content): Merge conflict in MAINTAINERS
CONFLICT (content): Merge conflict in drivers/char/hvc_console.c
CONFLICT (content): Merge conflict in drivers/char/hvc_console.h
CONFLICT (content): Merge conflict in drivers/char/virtio_console.c
Merging mmc/next
Merging input/next
Merging lsm/for-next
Merging block/for-next
Merging quilt/device-mapper
Merging embedded/master
Merging firmware/master
Merging pcmcia/master
Merging battery/master
Merging leds/for-mm
Merging backlight/for-mm
Merging kgdb/kgdb-next
Applying: kgdb: update for sysrq handling change
Merging slab/for-next
Merging uclinux/for-next
Merging md/for-next
Merging mfd/for-next
Merging hdlc/hdlc-next
Merging drm/drm-next
Merging voltage/for-next
Merging security-testing/next
Merging lblnet/master
Merging agp/agp-next
Merging uwb/for-upstream
Merging watchdog/master
Merging bdev/master
Merging dwmw2-iommu/master
Merging cputime/cputime
Merging osd/linux-next
Merging jc_docs/docs-next
Merging nommu/master
Merging trivial/for-next
Merging audit/for-next
Merging quilt/aoe
Merging suspend/linux-next
Merging bluetooth/master
Merging fsnotify/for-next
CONFLICT (content): Merge conflict in fs/notify/inotify/inotify_user.c
CONFLICT (content): Merge conflict in include/linux/fsnotify.h
CONFLICT (content): Merge conflict in kernel/audit_tree.c
CONFLICT (content): Merge conflict in kernel/sysctl.c
Merging irda/for-next
CONFLICT (content): Merge conflict in drivers/net/irda/irda-usb.c
Merging hwlat/for-linus
CONFLICT (content): Merge conflict in MAINTAINERS
CONFLICT (content): Merge conflict in drivers/misc/Makefile
Merging drbd/for-jens
Merging catalin/for-next
Merging alacrity/linux-next
CONFLICT (content): Merge conflict in include/linux/Kbuild
CONFLICT (content): Merge conflict in lib/Kconfig
Merging i7core_edac/linux_next
Merging devicetree/next-devicetree
Merging spi/next-spi
Merging limits/writable_limits
CONFLICT (content): Merge conflict in arch/x86/ia32/ia32entry.S
CONFLICT (content): Merge conflict in arch/x86/include/asm/unistd_32.h
CONFLICT (content): Merge conflict in arch/x86/include/asm/unistd_64.h
CONFLICT (content): Merge conflict in arch/x86/kernel/syscall_table_32.S
Merging omap_dss2/for-next
Merging tip/auto-latest
Merging edac-amd/for-next
Merging oprofile/for-next
Merging percpu/for-next
Merging workqueues/for-next
Merging sfi/sfi-test
Merging asm-generic/next
Merging hwpoison/hwpoison
Merging sysctl/master
Merging quilt/driver-core
Merging quilt/tty
Merging quilt/usb
Merging quilt/staging
Merging scsi-post-merge/master

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

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

end of thread, other threads:[~2010-03-26  7:48 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-26  8:01 linux-next: Tree for March 26 Stephen Rothwell
2009-03-26  9:56 ` Next March 26: s390 allnoconfig build failure still exists Sachin Sant
2009-03-26 10:12   ` Heiko Carstens
2009-03-26 21:57   ` Stephen Rothwell
2009-03-26 15:46 ` linux-next: Tree for March 26 (benet) Randy Dunlap
2009-03-26 19:30   ` [PATCH] benet: use do_div() for 64 bit divide Stephen Hemminger
2009-03-26 20:10     ` Randy Dunlap
2009-03-27  7:26       ` David Miller
2009-03-26 21:44 ` [PATCH -next] exofs: fix printk format warnings Randy Dunlap
2009-03-30  8:14   ` Boaz Harrosh
2009-03-30 16:15   ` Geert Uytterhoeven
2010-03-26  7:48 linux-next: Tree for March 26 Stephen Rothwell

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