Linux-Next discussions
 help / color / mirror / Atom feed
* Re: linux-next: manual merge of the modem-shm tree with the driver-core tree
From: Greg KH @ 2012-04-23 14:24 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Linus Walleij, "Sjur Brændeland", linux-next,
	linux-kernel, MyungJoo Ham
In-Reply-To: <20120423154420.09f149266ae36bb8e08b4207@canb.auug.org.au>

On Mon, Apr 23, 2012 at 03:44:20PM +1000, Stephen Rothwell wrote:
> Hi all,
> 
> Today's linux-next merge of the modem-shm tree got a conflict in
> drivers/Kconfig between commit de55d8716ac5  ("Extcon (external
> connector): import Android's switch class and modify") from the
> driver-core tree and commit 021fd6178bcd ("modem_shm: Makefile and
> Kconfig for M7400 Shared Memory Drivers") from the modem-shm tree.
> 
> Just context changes.  I fixed it up (see below) and can carry the fix as
> necessary.

Looks good, thanks for doing this.

greg k-h

^ permalink raw reply

* Re: Update to SCSI trees for Linux Next
From: Stephen Rothwell @ 2012-04-23 11:11 UTC (permalink / raw)
  To: James Bottomley; +Cc: linux-next, linux-scsi
In-Reply-To: <1335177821.4191.17.camel@dabdike.lan>

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

Hi James,

On Mon, 23 Apr 2012 11:43:41 +0100 James Bottomley <James.Bottomley@HansenPartnership.com> wrote:
>
> Just to let you know that SCSI is moving on to a single tree model from
> now on.  The new tree is
> 
> git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git
> 
> And the branch for next is for-next.
> 
> Could you drop both the scsi-misc-2.6 and scsi-rc-fixes-2.6 tree, please
> because I'll send everything through this for-next branch.

Done.

> For the time being, could you keep the scsi-post-merge-2.6 tree?  It's
> easier when resolving conflicts amongst other trees to use a separate
> git tree (although we haven't actually had to use this one for a while).

No problem.

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

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

^ permalink raw reply

* Update to SCSI trees for Linux Next
From: James Bottomley @ 2012-04-23 10:43 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: linux-next, linux-scsi

Hi Stephen

Just to let you know that SCSI is moving on to a single tree model from
now on.  The new tree is

git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git

And the branch for next is for-next.

Could you drop both the scsi-misc-2.6 and scsi-rc-fixes-2.6 tree, please
because I'll send everything through this for-next branch.

For the time being, could you keep the scsi-post-merge-2.6 tree?  It's
easier when resolving conflicts amongst other trees to use a separate
git tree (although we haven't actually had to use this one for a while).

Thanks,

James

^ permalink raw reply

* Re: linux-next: build warnings after merge of the sound-asoc tree
From: Liam Girdwood @ 2012-04-23  9:35 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: Mark Brown, linux-next, linux-kernel
In-Reply-To: <20120420142850.b276b5fa80e857f8c997e99b@canb.auug.org.au>

On Fri, 2012-04-20 at 14:28 +1000, Stephen Rothwell wrote:
> Hi all,
> 
> After merging the sound-asoc tree, today's linux-next build (x86_64
> allmodconfig) produced these warnings:
> 
> In file included from include/trace/ftrace.h:567:0,
>                  from include/trace/define_trace.h:86,
>                  from include/trace/events/asoc.h:410,
>                  from sound/soc/soc-core.c:45:
> include/trace/events/asoc.h: In function 'ftrace_raw_event_snd_soc_dapm_output_path':
> include/trace/events/asoc.h:246:1: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
> include/trace/events/asoc.h: In function 'ftrace_raw_event_snd_soc_dapm_input_path':
> include/trace/events/asoc.h:275:1: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]

Following fix sent to alsa-devel.

diff --git a/include/trace/events/asoc.h b/include/trace/events/asoc.h
index 6d8efb1..5fc2dcd 100644
--- a/include/trace/events/asoc.h
+++ b/include/trace/events/asoc.h
@@ -263,7 +263,7 @@ TRACE_EVENT(snd_soc_dapm_output_path,
 		__assign_str(pname, path->name ? path->name : DAPM_DIRECT);
 		__assign_str(psname, path->sink->name);
 		__entry->path_connect = path->connect;
-		__entry->path_sink = (int)path->sink;
+		__entry->path_sink = (long)path->sink;
 	),
 
 	TP_printk("%c%s -> %s -> %s\n",
@@ -292,7 +292,7 @@ TRACE_EVENT(snd_soc_dapm_input_path,
 		__assign_str(pname, path->name ? path->name : DAPM_DIRECT);
 		__assign_str(psname, path->source->name);
 		__entry->path_connect = path->connect;
-		__entry->path_source = (int)path->source;
+		__entry->path_source = (long)path->source;
 	),
 
 	TP_printk("%c%s <- %s <- %s\n",
-- 
1.7.5.4

^ permalink raw reply related

* Re: linux-next: Tree for Apr 20 (usb & target)
From: Felipe Balbi @ 2012-04-23  8:56 UTC (permalink / raw)
  To: Nicholas A. Bellinger
  Cc: Randy Dunlap, Stephen Rothwell, linux-next, LKML, linux-usb,
	target-devel, Sebastian Andrzej Siewior, Greg KH
In-Reply-To: <1334999263.30707.129.camel@haakon2.linux-iscsi.org>

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

Hi,

On Sat, Apr 21, 2012 at 02:07:43AM -0700, Nicholas A. Bellinger wrote:
> On Fri, 2012-04-20 at 14:49 -0700, Randy Dunlap wrote:
> > On 04/19/2012 10:51 PM, Stephen Rothwell wrote:
> > 
> > > Hi all,
> > > 
> > > Changes since 20120419:
> > 
> > 
> 
> Hi Randy,
> 
> > CONFIG_MODULES is not enabled.
> > CONFIG_TCM_USB_GADGET=y
> > CONFIG_USB_GADGET=y
> >
> > drivers/usb/built-in.o: In function `usb_descriptor_fillbuf':
> > (.text+0x53bb): multiple definition of `usb_descriptor_fillbuf'
> > drivers/target/built-in.o:(.text+0x1e605): first defined here
> > drivers/usb/built-in.o: In function `usb_string_ids_n':
> > (.text+0x4f1a): multiple definition of `usb_string_ids_n'
> > drivers/target/built-in.o:(.text+0x1f1ed): first defined here
> > drivers/usb/built-in.o: In function `usb_interface_id':
> > (.text+0x4ea8): multiple definition of `usb_interface_id'
> > drivers/target/built-in.o:(.text+0x1f0bc): first defined here
> > drivers/usb/built-in.o: In function `usb_string_id':
> > (.text+0x4ecc): multiple definition of `usb_string_id'
> > drivers/target/built-in.o:(.text+0x1f19f): first defined here
> > drivers/usb/built-in.o: In function `usb_string_ids_tab':
> > (.text+0x4ee8): multiple definition of `usb_string_ids_tab'
> > drivers/target/built-in.o:(.text+0x1f1bb): first defined here
> > drivers/usb/built-in.o: In function `usb_copy_descriptors':
> > (.text+0x5a01): multiple definition of `usb_copy_descriptors'
> > drivers/target/built-in.o:(.text+0x1ec48): first defined here
> > drivers/usb/built-in.o: In function `usb_composite_unregister':
> > (.text+0x4fe2): multiple definition of `usb_composite_unregister'
> > drivers/target/built-in.o:(.text+0x1f2b5): first defined here
> > drivers/usb/built-in.o: In function `config_ep_by_speed':
> > (.text+0x4bd7): multiple definition of `config_ep_by_speed'
> > drivers/target/built-in.o:(.text+0x1ecca): first defined here
> > drivers/usb/built-in.o: In function `usb_gadget_get_string':
> > (.text+0x5094): multiple definition of `usb_gadget_get_string'
> > drivers/target/built-in.o:(.text+0x1dd85): first defined here
> > drivers/usb/built-in.o: In function `usb_add_function':
> > (.text+0x4cfc): multiple definition of `usb_add_function'
> > drivers/target/built-in.o:(.text+0x1ee6c): first defined here
> > drivers/usb/built-in.o: In function `usb_composite_probe':
> > (.text+0x4f4a): multiple definition of `usb_composite_probe'
> > drivers/target/built-in.o:(.text+0x1f21d): first defined here
> > drivers/usb/built-in.o: In function `usb_composite_setup_continue':
> > (.text+0x4ffd): multiple definition of `usb_composite_setup_continue'
> > drivers/target/built-in.o:(.text+0x1f369): first defined here
> > drivers/usb/built-in.o: In function `usb_gadget_config_buf':
> > (.text+0x59ad): multiple definition of `usb_gadget_config_buf'
> > drivers/target/built-in.o:(.text+0x1ebf4): first defined here
> > drivers/usb/built-in.o: In function `usb_ep_autoconfig':
> > (.text+0x5bba): multiple definition of `usb_ep_autoconfig'
> > drivers/target/built-in.o:(.text+0x1e358): first defined here
> > drivers/usb/built-in.o: In function `usb_function_activate':
> > (.text+0x4e29): multiple definition of `usb_function_activate'
> > drivers/target/built-in.o:(.text+0x1f03b): first defined here
> > drivers/usb/built-in.o: In function `usb_ep_autoconfig_reset':
> > (.text+0x5bc7): multiple definition of `usb_ep_autoconfig_reset'
> > drivers/target/built-in.o:(.text+0x1e365): first defined here
> > drivers/usb/built-in.o: In function `usb_add_config':
> > (.text+0x5e6a): multiple definition of `usb_add_config'
> > drivers/target/built-in.o:(.text+0x1f0e0): first defined here
> > drivers/usb/built-in.o: In function `usb_ep_autoconfig_ss':
> > (.text+0x5a83): multiple definition of `usb_ep_autoconfig_ss'
> > drivers/target/built-in.o:(.text+0x1e0ab): first defined here
> > drivers/usb/built-in.o: In function `usb_function_deactivate':
> > (.text+0x4dc2): multiple definition of `usb_function_deactivate'
> > drivers/target/built-in.o:(.text+0x1efd4): first defined here
> > 
> > 
> 
> Mmmm, It looks like the source file include usage in target/usb-gadget.c
> might be causing some problems here:
> 
> #include "usbstring.c"
> #include "epautoconf.c"
> #include "config.c"
> #include "composite.c"

BTW, this construction was done by David Brownell when Greg asked about
the size of the gadget drivers:

$ git log --oneline --author="Brownell" --grep="link fixes" drivers/usb/gadget/
33376c1 usb gadget: link fixes for network gadget
8a1ce2c usb gadget: link fixes for cdc composite gadget
352e2b9 usb gadget: link fixes for storage gadget
0a56b03 usb gadget: link fixes for printer gadget
77f754c usb gadget: link fixes for MIDI gadget
7e75bc0 usb gadget: link fixes for gadget zero
4e9ba51 usb gadget: link fixes for serial gadget

And here are the mailing list archives:

. http://marc.info/?t=121867757300003&r=1&w=2
. http://marc.info/?t=121910658600003&r=1&w=2

-- 
balbi

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

^ permalink raw reply

* RE: linux-next: manual merge of the akpm tree with the dma-mapping tree
From: Marek Szyprowski @ 2012-04-23  7:50 UTC (permalink / raw)
  To: 'Stephen Rothwell', 'Andrew Morton'
  Cc: linux-next, linux-kernel, 'Kyungmin Park'
In-Reply-To: <20120423164953.1095c9ccbf81a33641947cd3@canb.auug.org.au>

Hi Stephen,

On Monday, April 23, 2012 8:50 AM Stephen Rothwell wrote:

> Today's linux-next merge of the scsi-post-merge tree got a conflict in
> mm/page_alloc.c between commit ac77c4123661 ("mm: trigger page reclaim in
> alloc_contig_range() to stabilise watermarks") from the dma-mapping tree
> and commit "mm: add extra free kbytes tunable" from the akpm tree.
> 
> Just context changes.  I fixed it up (I think - see below) and can carry
> the fixes as necessary.
> --
> Cheers,
> Stephen Rothwell                    sfr@canb.auug.org.au
> 
> diff --cc mm/page_alloc.c
> index 0e1c6f5,decfbf0..0000000
> --- a/mm/page_alloc.c
> +++ b/mm/page_alloc.c
> @@@ -5032,9 -4988,17 +5044,10 @@@ static void setup_per_zone_lowmem_reser
>   	calculate_totalreserve_pages();
>   }
> 
>  -/**
>  - * setup_per_zone_wmarks - called when min_free_kbytes changes
>  - * or when memory is hot-{added|removed}
>  - *
>  - * Ensures that the watermark[min,low,high] values for each zone are set
>  - * correctly with respect to min_free_kbytes.
>  - */
>  -void setup_per_zone_wmarks(void)
>  +static void __setup_per_zone_wmarks(void)
>   {
>   	unsigned long pages_min = min_free_kbytes >> (PAGE_SHIFT - 10);
> + 	unsigned long pages_low = extra_free_kbytes >> (PAGE_SHIFT - 10);
>   	unsigned long lowmem_pages = 0;
>   	struct zone *zone;
>   	unsigned long flags;
> @@@ -5074,16 -5041,13 +5090,18 @@@
>   			 * If it's a lowmem zone, reserve a number of pages
>   			 * proportionate to the zone's size.
>   			 */
> - 			zone->watermark[WMARK_MIN] = tmp;
> + 			zone->watermark[WMARK_MIN] = min;
>   		}
> 
> - 		zone->watermark[WMARK_LOW]  = min_wmark_pages(zone) + (tmp >> 2);
> - 		zone->watermark[WMARK_HIGH] = min_wmark_pages(zone) + (tmp >> 1);
> + 		zone->watermark[WMARK_LOW]  = min_wmark_pages(zone) +
> + 					low + (min >> 2);
> + 		zone->watermark[WMARK_HIGH] = min_wmark_pages(zone) +
> + 					low + (min >> 1);
>  +
>  +		zone->watermark[WMARK_MIN] += cma_wmark_pages(zone);
>  +		zone->watermark[WMARK_LOW] += cma_wmark_pages(zone);
>  +		zone->watermark[WMARK_HIGH] += cma_wmark_pages(zone);
>  +
>   		setup_zone_migrate_reserve(zone);
>   		spin_unlock_irqrestore(&zone->lock, flags);
>   	}

The fix looks fine, thanks for merging those patches.

Best regards
-- 
Marek Szyprowski
Samsung Poland R&D Center

^ permalink raw reply

* Re: linux-next: build warning after merge of the net-next tree
From: David Miller @ 2012-04-23  7:22 UTC (permalink / raw)
  To: sfr; +Cc: netdev, linux-next, linux-kernel, ncardwell
In-Reply-To: <20120423165409.d424daced95611012d151aa6@canb.auug.org.au>

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Mon, 23 Apr 2012 16:54:09 +1000

> Hi all,
> 
> After merging the net-next tree, today's linux-next build (powerpc
> ppc44x_defconfig) produced these warnings:
> 
> net/ipv4/tcp_ipv4.c: In function 'tcp_v4_init_sock':
> net/ipv4/tcp_ipv4.c:1891:19: warning: unused variable 'tp' [-Wunused-variable]
> net/ipv6/tcp_ipv6.c: In function 'tcp_v6_init_sock':
> net/ipv6/tcp_ipv6.c:1836:19: warning: unused variable 'tp' [-Wunused-variable]
> 
> Introduced by commit 900f65d361d3 ("tcp: move duplicate code from
> tcp_v4_init_sock()/tcp_v6_init_sock()").

Thanks, I just pushed the following:

--------------------
tcp: Fix build warning after tcp_{v4,v6}_init_sock consolidation.

net/ipv4/tcp_ipv4.c: In function 'tcp_v4_init_sock':
net/ipv4/tcp_ipv4.c:1891:19: warning: unused variable 'tp' [-Wunused-variable]
net/ipv6/tcp_ipv6.c: In function 'tcp_v6_init_sock':
net/ipv6/tcp_ipv6.c:1836:19: warning: unused variable 'tp' [-Wunused-variable]

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
---
 net/ipv4/tcp_ipv4.c |    3 +--
 net/ipv6/tcp_ipv6.c |    3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c
index 5b07ea1..0883921 100644
--- a/net/ipv4/tcp_ipv4.c
+++ b/net/ipv4/tcp_ipv4.c
@@ -1888,14 +1888,13 @@ static const struct tcp_sock_af_ops tcp_sock_ipv4_specific = {
 static int tcp_v4_init_sock(struct sock *sk)
 {
 	struct inet_connection_sock *icsk = inet_csk(sk);
-	struct tcp_sock *tp = tcp_sk(sk);
 
 	tcp_init_sock(sk);
 
 	icsk->icsk_af_ops = &ipv4_specific;
 
 #ifdef CONFIG_TCP_MD5SIG
-	tp->af_specific = &tcp_sock_ipv4_specific;
+	tcp_sk(sk)->af_specific = &tcp_sock_ipv4_specific;
 #endif
 
 	return 0;
diff --git a/net/ipv6/tcp_ipv6.c b/net/ipv6/tcp_ipv6.c
index 24dac6b..8044f6a 100644
--- a/net/ipv6/tcp_ipv6.c
+++ b/net/ipv6/tcp_ipv6.c
@@ -1829,14 +1829,13 @@ static const struct tcp_sock_af_ops tcp_sock_ipv6_mapped_specific = {
 static int tcp_v6_init_sock(struct sock *sk)
 {
 	struct inet_connection_sock *icsk = inet_csk(sk);
-	struct tcp_sock *tp = tcp_sk(sk);
 
 	tcp_init_sock(sk);
 
 	icsk->icsk_af_ops = &ipv6_specific;
 
 #ifdef CONFIG_TCP_MD5SIG
-	tp->af_specific = &tcp_sock_ipv6_specific;
+	tcp_sk(sk)->af_specific = &tcp_sock_ipv6_specific;
 #endif
 
 	return 0;
-- 
1.7.10

^ permalink raw reply related

* linux-next: Tree for Apr 23
From: Stephen Rothwell @ 2012-04-23  7:07 UTC (permalink / raw)
  To: linux-next; +Cc: LKML

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

Hi all,

Changes since 20120420:

The md tree lost its build failure.

The net-next tree gained a build failure from a mismerge which I fixed.

The drm tree gained a build failure so I used the version from 20120420.

The kvm tree lost its build failure.

The driver-core tree still lost its build failure.

The usb tree lost its conflict.

The staging tree gained a conflict against the usb tree.

The modem-smh tree gained a conflict against the driver-core tree.

The dma-mapping tree gained a conflict against the tip tree.

The akpm tree gained a conflict against the dma-mapping 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/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 189 trees (counting Linus' and 27 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 Randy Dunlap for doing many randconfig builds.  And to Paul
Gortmaker for triage and bug fixes.


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 (66f75a5 Linux 3.4-rc4)
Merging fixes/master (b1a808f Merge branch 'for-next' of git://gitorious.org/kernel-hsi/kernel-hsi)
Merging kbuild-current/rc-fixes (e88aa7b Fix modpost failures in fedora 17)
Merging arm-current/fixes (3cd88f9 Revert "ARM: 7359/2: smp_twd: Only wait for reprogramming on active cpus")
Merging m68k-current/for-linus (450aed7 m68k/q40: Add missing platform check before registering platform devices)
Merging powerpc-merge/merge (fae2e0f powerpc: Fix typo in runlatch code)
Merging sparc/master (e9a5ea1 sparc32,leon: add notify_cpu_starting())
Merging scsi-rc-fixes/master (41f8ad7 [SCSI] osd_uld: Bump MAX_OSD_DEVICES from 64 to 1,048,576)
Merging net/master (d135c52 tcp: fix TCP_MAXSEG for established IPv6 passive sockets)
Merging sound-current/for-linus (c817eeb Merge branch 'fix/cxt-stable' into fix/hda)
Merging pci-current/for-linus (314489b Merge tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc)
Merging wireless/master (fd09c85 ath9k: Fix TX fragmentation)
Merging driver-core.current/driver-core-linus (e816b57 Linux 3.4-rc3)
Merging tty.current/tty-linus (d3a7b83 drivers/tty/amiserial.c: add missing tty_unlock)
Merging usb.current/usb-linus (66f75a5 Linux 3.4-rc4)
Merging staging.current/staging-linus (e816b57 Linux 3.4-rc3)
Merging char-misc.current/char-misc-linus (e816b57 Linux 3.4-rc3)
Merging cpufreq-current/fixes (6139b65 Merge branch 'for_3.4/cpufreq' of git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-omap-pm into fixes)
Merging input-current/for-linus (899c612 Input: synaptics - fix regression with "image sensor" trackpads)
Merging md-current/for-linus (afbaa90 md/bitmap: prevent bitmap_daemon_work running while initialising bitmap)
Merging audit-current/for-linus (c158a35 audit: no leading space in audit_log_d_path prefix)
Merging crypto-current/master (511d63c crypto: talitos - properly lock access to global talitos registers)
Merging ide/master (0ab3d8b cy82c693: fix PCI device selection)
Merging dwmw2/master (244dc4e Merge git://git.infradead.org/users/dwmw2/random-2.6)
Merging sh-current/sh-fixes-for-linus (691c01c arch/sh/drivers/dma/{dma-g2,dmabrg}.c: ensure arguments to request_irq and free_irq are compatible)
Merging irqdomain-current/irqdomain/merge (15e06bf irqdomain: Fix debugfs formatting)
Merging devicetree-current/devicetree/merge (766644d of/irq: add empty irq_of_parse_and_map() for non-dt builds)
Merging spi-current/spi/merge (39ec0d3 spi/imx: prevent NULL pointer dereference in spi_imx_probe())
Merging gpio-current/gpio/merge (9a5c7d6 gpio/exynos: Fix compiler warning in gpio-samsung.c file)
Merging arm/for-next (dc22814 Merge branches 'amba', 'clkdev', 'fixes' and 'misc' into for-next)
Merging arm-perf/for-next/perf (c16fa4f Linux 3.3)
Merging davinci/davinci-next (fe0d422 Linux 3.0-rc6)
Merging samsung/next-samsung (9edb240 ARM: H1940/RX1950: Change default LED triggers)
Merging s5p/for-next (d0ee53a Merge branch 'next/board-samsung' into for-next)
Merging xilinx/arm-next (b85a3ef ARM: Xilinx: Adding Xilinx board support)
Merging blackfin/for-linus (35fe2e7 blackfin: update defconfig for bf527-ezkit)
Merging c6x/for-linux-next (c16fa4f Linux 3.3)
Merging cris/for-next (7b91747 cris: Remove old legacy "-traditional" flag from arch-v10/lib/Makefile)
Merging hexagon/linux-next (4323328 hexagon: add missing cpu.h include)
Merging ia64/next (16f2634 [IA64] Normalize return value of chip->irq_set_affinity() method)
Merging m68k/for-next (dd70ca0 m68k/video: Create <asm/vga.h>)
Merging m68knommu/for-next (b97c0bb m68knommu: make sure 2nd FEC eth interface pins are enabled on 5275 ColdFire)
Merging microblaze/next (258f742 modpost: Fix modpost license checking of vmlinux.o)
Merging mips/mips-for-linux-next (2fea377 Merge branch 'fixes-for-linus' into mips-for-linux-next)
Merging openrisc/for-upstream (c88e692 asm-generic: add linux/types.h to cmpxchg.h)
Merging parisc/for-next (c60dc74 Merge branch 'fixes' into for-next)
Merging powerpc/next (0195c00 Merge tag 'split-asm_system_h-for-linus-20120328' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-asm_system)
Merging 4xx/next (b5594a7 powerpc/44x: Add additional device support for APM821xx SoC and Bluestone board)
Merging mpc5xxx/next (09f61ff powerpc: Option FB_FSL_DIU is not really optional for mpc512x)
Merging galak/next (fa1b42b powerpc/qe: Update the SNUM table for MPC8569 Rev2.0)
Merging s390/features (1571bae [S390] crash dump: add missing SMP dependency)
Merging sh/sh-latest (b2212ea sh64: Kill off unused trap_no/error_code from thread_struct.)
Merging sparc-next/master (df2e7f5 sparc32: fix build of pcic)
CONFLICT (content): Merge conflict in arch/sparc/kernel/leon_smp.c
Merging tile/master (a46bf6d arch/tile: tilegx PCI root complex support)
Merging unicore32/unicore32 (0994695 Merge branch 'akpm' (aka "Andrew's patch-bomb, take two"))
Merging ceph/master (cd9d9f5 rbd: don't hold spinlock during messenger flush)
Merging cifs/master (3af9d8f cifs: fix offset handling in cifs_iovec_write)
Merging configfs/linux-next (b930c26 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs)
Merging ecryptfs/next (6cfd4b4 ecryptfs: remove the second argument of k[un]map_atomic())
CONFLICT (content): Merge conflict in fs/ecryptfs/ecryptfs_kernel.h
Merging ext3/for_next (77f0a97 jbd: Write journal superblock with WRITE_FUA after checkpointing)
Merging ext4/dev (57f73c2 ext4: fix handling of journalled quota options)
Merging fuse/for-next (c628ee6 fuse: use flexible array in fuse.h)
Merging gfs2/master (3c1d908 GFS2: Log code fixes)
Merging logfs/master (cd8bfa9 logfs: initialize the number of iovecs in bio)
Merging nfs/linux-next (7bf97bc NFSv4: Keep dropped state owners on the LRU list for a while)
Merging nfsd/nfsd-next (f69adb2 nfsd: allocate id-to-name and name-to-id caches in per-net operations.)
Merging ocfs2/linux-next (9392557 ocfs2: avoid unaligned access to dqc_bitmap)
Merging omfs/for-next (976d167 Linux 3.1-rc9)
Merging squashfs/master (4b0180a Squashfs: add mount time sanity check for block_size and block_log match)
Merging v9fs/for-next (01627d9 Merge branch 'drm-fixes-intel' of git://people.freedesktop.org/~airlied/linux)
Merging ubifs/linux-next (297fe33 UBIFS: remove douple initialization in change_category())
Merging xfs/for-next (bc236c3 xfs: use shared ilock mode for direct IO writes by default)
Merging vfs/for-next (9448152 sch_atm.c: get rid of poinless extern)
Merging pci/next (314489b Merge tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc)
Merging hid/for-next (f0f5396 Merge branch 'multitouch' into for-next)
Merging quilt/i2c (85bb1a8 i2c-dev: Add support for I2C_M_RECV_LEN)
Merging bjdooks-i2c/next-i2c (fc84fe1 Merge branch 'for_3.3/i2c/misc' of git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-omap-pm into for-33/i2c/omap)
CONFLICT (content): Merge conflict in drivers/i2c/busses/i2c-omap.c
Merging i2c-embedded/i2c-embedded/for-next (58727eb i2c: designware: Add clk_{un}prepare() support)
Merging quilt/jdelvare-hwmon (e3a9568 hwmon: Add MCP3021 ADC driver)
Merging hwmon-staging/hwmon-next (032c4871 acpi_power_meter: clean up code around setup_attrs)
Merging v4l-dvb/master (2a43f0b Merge /home/v4l/v4l/patchwork)
CONFLICT (content): Merge conflict in drivers/usb/gadget/uvc_queue.c
Merging kbuild/for-next (63ce2ed Merge branch 'kbuild/rc-fixes' into kbuild/for-next)
Merging kconfig/for-next (eae1c36 Merge branch 'kconfig/for-linus-2' into kconfig/for-next)
Merging libata/NEXT (85d6725 libata: make ata_print_id atomic)
Merging infiniband/for-next (c72adfd be2net: Add functionality to support RoCE driver)
Merging acpi/next (eeaab2d Merge branches 'idle-fix' and 'misc' into release)
Merging cpupowerutils/master (f166033 cpupower tools: add install target to the debug tools' makefiles)
Merging ieee1394/for-next (8527f8e firewire: core: fw_device_refresh(): clean up error handling)
Merging ubi/linux-next (0034102 Linux 3.4-rc2)
Merging dlm/next (1b189b8 dlm: last element of dlm_local_addr[] never used)
Merging scsi/master (6993169 [SCSI] ipr: Driver version 2.5.3)
Merging target-updates/for-next (bfb79ea target/iscsi: Go back to core allocating data buffer for cmd)
Merging target-merge/for-next-merge (3e6e9e9 sbp-target: Initial merge of firewire/ieee-1394 target mode support)
Merging ibft/linux-next (935a9fe ibft: Fix finding IBFT ACPI table on UEFI)
Merging isci/all (475448a merge: libsas devel rnc-devel fixes)
CONFLICT (content): Merge conflict in drivers/ata/libata-scsi.c
Merging slave-dma/next (91ae1e3 dmaengine: mxs-dma: assign cookie in prepare)
Merging dmaengine/next (a2bd114 netdma: adding alignment check for NETDMA ops)
Merging net-next/master (cd754a5 gianfar: add GRO support)
Applying: net ax25: fix up sysctl change mismerge
Merging wireless-next/master (b5abcf0 mwifiex: corrections in timestamp related code)
Merging bluetooth/master (3a1fc4c Bluetooth: Remove unneeded initialization in hci_alloc_dev())
Merging mtd/master (7b0e67f mtd: docg3 add protection against concurrency)
Merging l2-mtd/master (15ce11e mtd: omap2: fix resource leak in prefetch-busy path)
Merging crypto/master (d788fec crypto, xor: Sanitize checksumming function selection output)
Merging sound/for-next (0b791a3 Merge branch 'topic/misc' into for-next)
Merging sound-asoc/for-next (1dd97b4 Merge branch 'for-3.5' into asoc-next)
Merging cpufreq/next (a7b422c provide disable_cpufreq() function to disable the API.)
Merging quilt/rr (2a22b63 cpumask: remove old cpu_*_map.)
CONFLICT (content): Merge conflict in init/main.c
CONFLICT (content): Merge conflict in drivers/virtio/virtio_balloon.c
CONFLICT (content): Merge conflict in arch/arm/kernel/kprobes.c
Merging input/next (5d06647 Input: use module_pci_driver)
Merging input-mt/for-next (0034102 Linux 3.4-rc2)
Merging cgroup/for-next (86f82d5 cgroup: remove cgroup_subsys->populate())
CONFLICT (content): Merge conflict in Documentation/feature-removal-schedule.txt
Merging block/for-next (48eee61 Merge branch 'for-3.5/core' into for-next)
CONFLICT (content): Merge conflict in Documentation/feature-removal-schedule.txt
Merging quilt/device-mapper (025716f Fix a memory leak inadvertently introduced during simplification of cell_release_singleton() in commit 6f94a4c45a6f744383f9f695dde019998db3df55 ("dm thin: fix stacked bi_next usage").)
Merging embedded/master (4744b43 embedded: fix vc_translate operator precedence)
Merging firmware/master (6e03a20 firmware: speed up request_firmware(), v3)
Merging pcmcia/master (80af9e6 pcmcia at91_cf: fix raw gpio number usage)
Merging mmc/mmc-next (48b332f mmc: omap_hsmmc: release correct resource)
Merging kgdb/kgdb-next (3751d3e x86,kgdb: Fix DEBUG_RODATA limitation using text_poke())
Merging slab/for-next (b80b6c0 Merge branch 'slab/next' into for-next)
Merging uclinux/for-next (5e442a4 Revert "proc: fix races against execve() of /proc/PID/fd**")
Merging md/for-next (9010dd6 MD RAID1: Further conditionalize 'fullsync')
Merging mfd/for-next (c00ba41 mfd: No need to check for the GPIO offset from asic3_gpio_to_irq)
CONFLICT (content): Merge conflict in drivers/mfd/asic3.c
Merging battery/master (5cdd4d7 max17042_battery: Clean up interrupt handling)
Merging drm/drm-next (160794c vga-switcheroo: select VGA arbitration.)
CONFLICT (content): Merge conflict in drivers/gpu/drm/i915/intel_i2c.c
$ git reset --hard HEAD^
Merging refs/next/20120420/drm
CONFLICT (content): Merge conflict in drivers/gpu/drm/i915/intel_i2c.c
[master 24172c5] Merge commit 'refs/next/20120420/drm'
Merging fbdev/fbdev-next (d313a86 i.MX28: Shut down the LCD controller to avoid BootROM sampling bug)
Merging viafb/viafb-next (838ac78 viafb: avoid refresh and mode lookup in set_par)
Merging omap_dss2/for-next (df01d53 OMAPDSS: APPLY: fix clearing shadow dirty flag with manual update)
Merging regulator/for-next (76b7860 Merge branch 'regulator-drivers' into regulator-next)
Merging security/next (561381a samples/seccomp: fix dependencies on arch macros)
CONFLICT (content): Merge conflict in include/linux/filter.h
Merging selinux/master (c737f82 SELinux: remove unused common_audit_data in flush_unauthorized_files)
Merging lblnet/master (7e27d6e Linux 2.6.35-rc3)
Merging watchdog/master (8fb551c hpwdt: Only BYTE reads/writes to WD Timer port 0x72)
Merging dwmw2-iommu/master (c3b92c8 Linux 3.1)
Merging iommu/next (7aff2d0 Merge branches 'iommu/fixes', 'dma-debug', 'arm/omap' and 'arm/tegra' into next)
Merging osd/linux-next (72749a2 exofs: Cap on the memcpy() size)
Merging jc_docs/docs-next (5c050fb docs: update the development process document)
Merging trivial/for-next (59bf896 Fix "the the" in various Kconfig)
CONFLICT (modify/delete): sound/soc/imx/Kconfig deleted in HEAD and modified in trivial/for-next. Version trivial/for-next of sound/soc/imx/Kconfig left in tree.
$ git rm -f sound/soc/imx/Kconfig
Merging audit/for-next (dcd6c92 Linux 3.3-rc1)
Merging pm/linux-next (e9cbc5a PM / Hibernate: fix the number of pages used for hibernate/thaw buffering)
Merging apm/for-next (f283d22 APM: fix deadlock in APM_IOC_SUSPEND ioctl)
Merging fsnotify/for-next (1aec9c0 inotify: automatically restart syscalls)
Merging edac/linux_next (a4b4be3 edac: rename channel_info to rank_info)
Merging edac-amd/for-next (305f1c3 Merge branch '3.3-pci_device_id' into edac-for-next)
Merging devicetree/devicetree/next (0f22dd3 of: Only compile OF_DYNAMIC on PowerPC pseries and iseries)
Merging spi/spi/next (d57a428 spi/devicetree: Move devicetree support code into spi directory)
Merging tip/auto-latest (2adb096 Merge branch 'linus')
Merging rcu/rcu/next (dacd1da Merge branches 'fnh.2012.04.19a', 'fixes.2012.04.19a' and 'inline.2012.04.18a' of ../linux-2.6-tip into HEAD)
Merging cputime/cputime (c3e0ef9 [S390] fix cputime overflow in uptime_proc_show)
Merging uprobes/for-next (0326f5a uprobes/core: Handle breakpoint and singlestep exceptions)
Merging kmemleak/kmemleak (4878677 kmemleak: do not leak object after tree insertion error)
Merging kvm/linux-next (1f15d10 KVM: add kvm_arch_para_features stub to asm-generic/kvm_para.h)
CONFLICT (content): Merge conflict in Documentation/feature-removal-schedule.txt
Merging kvm-ppc/kvm-ppc-next (428d50e KVM: PPC: Use clockevent multiplier and shifter for decrementer)
Merging oprofile/for-next (c16fa4f Linux 3.3)
Merging xen/upstream/xen (59e9a6b Merge branch 'upstream/ticketlock-cleanup' into upstream/xen)
CONFLICT (content): Merge conflict in arch/x86/include/asm/cmpxchg.h
Merging xen-two/linux-next (e300b82 Merge branch 'stable/for-linus-3.4' into linux-next)
Merging xen-pvhvm/linux-next (b056b6a xen: suspend: remove xen_hvm_suspend)
Merging percpu/for-next (adb7950 percpu: fix __this_cpu_{sub,inc,dec}_return() definition)
Merging workqueues/for-next (f5b2552 workqueue: change BUG_ON() to WARN_ON())
Merging drivers-x86/linux-next (e64c9de dell-laptop: Terminate quirks list properly)
Merging hwpoison/hwpoison (46e387b Merge branch 'hwpoison-hugepages' into hwpoison)
Merging sysctl/master (4e474a0 sysctl: protect poll() in entries that may go away)
Merging regmap/for-next (b076764 Merge branch 'regmap-stride' into regmap-next)
Merging hsi/for-next (43139a6 HSI: hsi_char: Update ioctl-number.txt)
Merging driver-core/driver-core-next (3e971db Documentation/extcon: porting guide for Android kernel switch driver.)
Merging tty/tty-next (5f1a389 serial/8250_pci: fix suspend/resume vs init/exit quirks)
CONFLICT (content): Merge conflict in drivers/tty/serial/pch_uart.c
Merging usb/usb-next (09091a4 Merge 3.4-rc4 into usb-next.)
Merging staging/staging-next (542038f staging: comedi: use ARRAY_SIZE instead of custom n_boardtypes macros)
CONFLICT (content): Merge conflict in drivers/staging/comedi/drivers/dt9812.c
Merging char-misc/char-misc-next (9912143 parport: remove unused dead code from lowlevel drivers)
Merging tmem/linux-next (0f1ea93 Merge branch 'stable/frontswap.v14' into linux-next)
Merging writeback/writeback-for-next (697e6fe writeback: Remove outdated comment)
Merging arm-dt/devicetree/arm-next (ede338f dt: add documentation of ARM dt boot interface)
Merging hwspinlock/linux-next (8b37fcf hwspinlock: add MAINTAINERS entries)
Merging pinctrl/for-next (dcb5dbc pinctrl: show pin name for pingroups in sysfs)
CONFLICT (content): Merge conflict in drivers/pinctrl/core.c
CONFLICT (content): Merge conflict in Documentation/driver-model/devres.txt
Merging tegra/for-next (cdc6419 Merge branch 'for-3.5/defconfig' into for-next)
Merging moduleh/for-sfr (30d8846 blackfin: fix ifdef fustercluck in mach-bf538/boards/ezkit.c)
Merging vhost/linux-next (33b3aa0 x86: eoi micro-optimization)
CONFLICT (content): Merge conflict in drivers/net/virtio_net.c
Merging kmap_atomic/kmap_atomic (317b6e1 feature-removal-schedule.txt: schedule the deprecated form of kmap_atomic() for removal)
Merging modem-shm/for-next (3cff1cc caif_shm: Add CAIF driver for Shared memory for M7400)
CONFLICT (content): Merge conflict in drivers/Kconfig
Merging memblock/memblock-kill-early_node_map (7bd0b0f memblock: Reimplement memblock allocation using reverse free area iterator)
Merging remoteproc/for-next (e12bc14 remoteproc: s/big switch/lookup table/)
Merging irqdomain/irqdomain/next (e7cc3ac dt: fix twl4030 for non-dt compile on x86)
Merging gpio/gpio/next (f141ed6 gpio: Move DT support code into drivers/gpio)
Merging arm-soc/for-next (3798df5 update contents file)
CONFLICT (content): Merge conflict in arch/arm/mach-lpc32xx/common.c
Merging kvmtool/master (0333eec kvm tools: Update README for CONFIG_FB_VESA)
Merging dma-mapping/dma-mapping-next (c6b1f07 ARM: integrate CMA with DMA-mapping subsystem)
CONFLICT (content): Merge conflict in arch/x86/include/asm/dma-mapping.h
Merging dma-buf/for-next (9f28056 dma-buf: Correct dummy function declarations.)
CONFLICT (content): Merge conflict in include/linux/dma-buf.h
CONFLICT (content): Merge conflict in drivers/base/dma-buf.c
Merging ktest/for-next (648a182 ktest: Allow a test to override REBOOT_ON_SUCCESS)
Merging cpuidle-cons/cpuidle_consol_pull (203b52e SH: shmobile: Consolidate time keeping and irq enable)
CONFLICT (content): Merge conflict in include/linux/cpuidle.h
CONFLICT (content): Merge conflict in drivers/cpuidle/cpuidle.c
CONFLICT (content): Merge conflict in arch/arm/mach-shmobile/cpuidle.c
CONFLICT (content): Merge conflict in arch/arm/mach-davinci/cpuidle.c
CONFLICT (content): Merge conflict in arch/arm/mach-at91/cpuidle.c
CONFLICT (add/add): Merge conflict in arch/arm/include/asm/cpuidle.h
Merging scsi-post-merge/merge-base:master ()
$ git checkout akpm
Applying: acerhdf: add support for Aspire 1410 BIOS v1.3314
Applying: acerhdf: add support for new hardware
Applying: acerhdf: lowered default temp fanon/fanoff values
Applying: umem: fix up unplugging
Applying: arch/x86/platform/iris/iris.c: register a platform device and a platform driver
Applying: intel_mid_powerbtn: mark irq as IRQF_NO_SUSPEND
Applying: arch/x86/include/asm/spinlock.h: fix comment
Applying: arch/x86/kernel/apic/io_apic.c: move io_apic_level_ack_pending() inside CONFIG_GENERIC_PENDING_IRQ
Applying: drivers/xen/Kconfig: fix Kconfig layout
Applying: arch/arm/mach-ux500/mbox-db5500.c: world-writable sysfs fifo file
Applying: avr32: don't mask signals in the error path
Applying: avr32: use set_current_blocked() in handle_signal/sys_rt_sigreturn
Applying: avr32: use block_sigmask()
Applying: m32r: use set_current_blocked() and block_sigmask()
Applying: m68k: use set_current_blocked() and block_sigmask()
Applying: mn10300: use set_current_blocked() and block_sigmask()
Applying: cpuidle: remove unused hrtimer_peek_ahead_timers() call
Applying: cris: use set_current_blocked() and block_sigmask()
Applying: cris: select GENERIC_ATOMIC64
Applying: x86: use this_cpu_xxx to replace percpu_xxx funcs
Applying: x86-use-this_cpu_xxx-to-replace-percpu_xxx-funcs-fix
Applying: x86: change percpu_read_stable() to this_cpu_read_stable()
Applying: net: use this_cpu_xxx replace percpu_xxx funcs
Applying: percpu: remove percpu_xxx() functions
Applying: percpu-remove-percpu_xxx-functions-fix
Applying: timeconst.pl: remove deprecated defined(@array)
Applying: ia64: use set_current_blocked() and block_sigmask()
Applying: microblaze: don't reimplement force_sigsegv()
Applying: microblaze: no need to reset handler if SA_ONESHOT
Applying: microblaze: fix signal masking
Applying: microblaze: use set_current_blocked() and block_sigmask()
Applying: MIPS: use set_current_blocked() and block_sigmask()
Applying: score: don't mask signals if we fail to setup signal stack
Applying: score: use set_current_blocked() and block_sigmask()
Applying: h8300: use set_current_blocked() and block_sigmask()
Applying: unicore32: use block_sigmask()
Applying: blackfin: use set_current_blocked() and block_sigmask()
Applying: ocfs2: use find_last_bit()
Applying: ocfs2: use bitmap_weight()
Applying: drivers/scsi/ufs: use module_pci_driver
Applying: vfs: increment iversion when a file is truncated
Applying: fs: symlink restrictions on sticky directories
Applying: fs: hardlink creation restrictions
Applying: fsnotify: remove unused parameter from send_to_group()
Applying: fsnotify: handle subfiles' perm events
Applying: brlocks/lglocks: cleanups
Applying: mm/memory_failure: let the compiler add the function name
Applying: mm/mempolicy.c: use enum value MPOL_REBIND_ONCE in mpol_rebind_policy()
Applying: mm/hugetlb.c: use long vars instead of int in region_count()
Applying: mm, thp: remove unnecessary ret variable
Applying: mm, thp: allow fallback when pte_alloc_one() fails for huge pmd
Applying: mm: vmscan: remove lumpy reclaim
Applying: mm: vmscan: remove reclaim_mode_t
Applying: mm: remove swap token code
Applying: mm: add extra free kbytes tunable
CONFLICT (content): Merge conflict in mm/page_alloc.c
Applying: mm-add-extra-free-kbytes-tunable-update
Applying: mm-add-extra-free-kbytes-tunable-update-checkpatch-fixes
Applying: memcg: fix/change behavior of shared anon at moving task
Applying: memcg swap: mem_cgroup_move_swap_account never needs fixup
Applying: memcg swap: use mem_cgroup_uncharge_swap()
Applying: mm/memcg: scanning_global_lru means mem_cgroup_disabled
Applying: mm/memcg: move reclaim_stat into lruvec
Applying: mm: push lru index into shrink_[in]active_list()
Applying: mm-push-lru-index-into-shrink_active_list-fix
Applying: mm: mark mm-inline functions as __always_inline
Applying: mm: remove lru type checks from __isolate_lru_page()
Applying: mm/memcg: kill mem_cgroup_lru_del()
Applying: memcg: mark more functions/variables as static
Applying: memcg: remove unused variable
Applying: memcg: mark stat field of mem_cgroup struct as __percpu
Applying: memcg: remove redundant parentheses
Applying: memcg: make threshold index in the right position
Applying: memcg: revise the position of threshold index while unregistering event
Applying: mm/memcg: use vm_swappiness from target memory cgroup
Applying: security/keys/keyctl.c: suppress memory allocation failure warning
Applying: frv: use set_current_blocked() and block_sigmask()
Applying: um/kernel/trap.c: port OOM changes to handle_page_fault()
Applying: sgi-xp: use lockdep_assert_held()
Applying: drivers/scsi/aha152x.c: remove broken usage of spin_is_locked()
Applying: XFS: fix lock ASSERT on UP
Applying: mm/huge_memory.c: use lockdep_assert_held()
Applying: futex: use lockdep_assert_held() for lock checking
Applying: drivers/net/irda/sir_dev.c: remove spin_is_locked()
Applying: drivers/net/ethernet/smsc/smsc911x.h: use lockdep_assert_held() instead of home grown buggy construct
Applying: spinlocks.txt: add a discussion on why spin_is_locked() is bad
Applying: spinlockstxt-add-a-discussion-on-why-spin_is_locked-is-bad-fix
Applying: include/linux/spinlock.h: add a kerneldoc comment to spin_is_locked() that discourages its use
Applying: checkpatch: check for spin_is_locked()
Applying: parisc: use set_current_blocked() and block_sigmask()
Applying: vsprintf: further optimize decimal conversion
Applying: vsprintf-further-optimize-decimal-conversion-v2
Applying: vsprintf-further-optimize-decimal-conversion-checkpatch-fixes
Applying: hamradio/scc: orphan driver in MAINTAINERS
Applying: MAINTAINERS: remove Alessandro
Applying: blacklight: remove redundant spi driver bus initialization
Applying: drivers/leds/leds-lp5521.c: fix lp5521_read() error handling
Applying: leds: driver for DA9052/53 PMIC v2
Applying: leds-led-module-for-da9052-53-pmic-v2-fix
Applying: leds: add LED driver for lm3556 chip
Applying: leds-add-led-driver-for-lm3556-chip-checkpatch-fixes
Applying: leds: simple_strtoul() cleanup
Applying: list_debug: WARN for adding something already in the list
Applying: lib/test-kstrtox.c: mark const init data with __initconst instead of __initdata
Applying: checkpatch: suggest pr_<level> over printk(KERN_<LEVEL>
Applying: rtc/spear: add Device Tree probing capability
Applying: drivers/rtc/rtc-ep93xx.c: convert to use module_platform_driver()
Applying: rtc: add ioctl to get/clear battery low voltage status
Applying: drivers/rtc/rtc-pcf8563.c: add RTC_VL_READ/RTC_VL_CLR ioctl feature
Applying: drivers/rtc/Kconfig: place RTC_DRV_IMXDI and RTC_MXC under "on-CPU RTC drivers"
Applying: rtc: rename CONFIG_RTC_MXC to CONFIG_RTC_DRV_MXC
Applying: rtc-rename-config_rtc_mxc-to-config_rtc_drv_mxc-fix
Applying: HPFS: remove PRINTK() macro
Applying: kmod: unexport call_usermodehelper_freeinfo()
Applying: kmod: convert two call sites to call_usermodehelper_fns()
Applying: kmod: move call_usermodehelper_fns() to .c file and unexport all it's helpers
Applying: kmod: avoid deadlock from recursive kmod call
Applying: proc: clean up /proc/<pid>/environ handling
Applying: proc-clean-up-proc-pid-environ-handling-checkpatch-fixes
Applying: proc: unify ptrace_may_access() locking code
Applying: proc: remove mm_for_maps()
Applying: proc: use mm_access() instead of ptrace_may_access()
Applying: proc: use IS_ERR_OR_NULL()
Applying: ipc/sem.c: alternatives to preempt_disable()
Applying: rapidio: add DMA engine support for RIO data transfers
Applying: rapidio/tsi721: add DMA engine support
Applying: sysctl: make kernel.ns_last_pid control dependent on CHECKPOINT_RESTORE
Applying: fs, proc: introduce /proc/<pid>/task/<tid>/children entry
Applying: syscalls, x86: add __NR_kcmp syscall
Applying: syscalls-x86-add-__nr_kcmp-syscall-v8 comment update
Applying: syscalls-x86-add-__nr_kcmp-syscall-v8-comment-update-fix
Applying: c/r: procfs: add arg_start/end, env_start/end and exit_code members to /proc/$pid/stat
Applying: c/r: prctl: extend PR_SET_MM to set up more mm_struct entries
Applying: c/r: prctl: add ability to set new mm_struct::exe_file
Applying: c/r: prctl: add ability to get clear_tid_address
Applying: c/r: ipc: message queue receive cleanup
Applying: c/r: ipc: message queue stealing feature introduced
Applying: ramoops: use pstore interface
Applying: ramoops: fix printk format warnings
Applying: notify_change(): check that i_mutex is held
Merging akpm (22e7092 notify_change(): check that i_mutex is held)

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

^ permalink raw reply

* linux-next: build warning after merge of the security tree
From: Stephen Rothwell @ 2012-04-23  6:56 UTC (permalink / raw)
  To: James Morris; +Cc: linux-next, linux-kernel, Kees Cook

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

Hi James,

After merging the security tree, today's linux-next build (powerpc
allyesconfig) produced this warning:

security/yama/yama_lsm.c:322:12: warning: 'one' defined but not used [-Wunused-variable]

Introduced by commit 389da25f93ee ("Yama: add additional ptrace scopes").
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

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

^ permalink raw reply

* linux-next: build warning after merge of the net-next tree
From: Stephen Rothwell @ 2012-04-23  6:54 UTC (permalink / raw)
  To: David Miller, netdev; +Cc: linux-next, linux-kernel, Neal Cardwell

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

Hi all,

After merging the net-next tree, today's linux-next build (powerpc
ppc44x_defconfig) produced these warnings:

net/ipv4/tcp_ipv4.c: In function 'tcp_v4_init_sock':
net/ipv4/tcp_ipv4.c:1891:19: warning: unused variable 'tp' [-Wunused-variable]
net/ipv6/tcp_ipv6.c: In function 'tcp_v6_init_sock':
net/ipv6/tcp_ipv6.c:1836:19: warning: unused variable 'tp' [-Wunused-variable]

Introduced by commit 900f65d361d3 ("tcp: move duplicate code from
tcp_v4_init_sock()/tcp_v6_init_sock()").

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

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

^ permalink raw reply

* linux-next: manual merge of the akpm tree with the dma-mapping tree
From: Stephen Rothwell @ 2012-04-23  6:49 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-next, linux-kernel, Marek Szyprowski, Kyungmin Park

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

Hi all,

Today's linux-next merge of the scsi-post-merge tree got a conflict in
mm/page_alloc.c between commit ac77c4123661 ("mm: trigger page reclaim in
alloc_contig_range() to stabilise watermarks") from the dma-mapping tree
and commit "mm: add extra free kbytes tunable" from the akpm tree.

Just context changes.  I fixed it up (I think - see below) and can carry
the fixes as necessary.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

diff --cc mm/page_alloc.c
index 0e1c6f5,decfbf0..0000000
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@@ -5032,9 -4988,17 +5044,10 @@@ static void setup_per_zone_lowmem_reser
  	calculate_totalreserve_pages();
  }
  
 -/**
 - * setup_per_zone_wmarks - called when min_free_kbytes changes
 - * or when memory is hot-{added|removed}
 - *
 - * Ensures that the watermark[min,low,high] values for each zone are set
 - * correctly with respect to min_free_kbytes.
 - */
 -void setup_per_zone_wmarks(void)
 +static void __setup_per_zone_wmarks(void)
  {
  	unsigned long pages_min = min_free_kbytes >> (PAGE_SHIFT - 10);
+ 	unsigned long pages_low = extra_free_kbytes >> (PAGE_SHIFT - 10);
  	unsigned long lowmem_pages = 0;
  	struct zone *zone;
  	unsigned long flags;
@@@ -5074,16 -5041,13 +5090,18 @@@
  			 * If it's a lowmem zone, reserve a number of pages
  			 * proportionate to the zone's size.
  			 */
- 			zone->watermark[WMARK_MIN] = tmp;
+ 			zone->watermark[WMARK_MIN] = min;
  		}
  
- 		zone->watermark[WMARK_LOW]  = min_wmark_pages(zone) + (tmp >> 2);
- 		zone->watermark[WMARK_HIGH] = min_wmark_pages(zone) + (tmp >> 1);
+ 		zone->watermark[WMARK_LOW]  = min_wmark_pages(zone) +
+ 					low + (min >> 2);
+ 		zone->watermark[WMARK_HIGH] = min_wmark_pages(zone) +
+ 					low + (min >> 1);
 +
 +		zone->watermark[WMARK_MIN] += cma_wmark_pages(zone);
 +		zone->watermark[WMARK_LOW] += cma_wmark_pages(zone);
 +		zone->watermark[WMARK_HIGH] += cma_wmark_pages(zone);
 +
  		setup_zone_migrate_reserve(zone);
  		spin_unlock_irqrestore(&zone->lock, flags);
  	}

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

^ permalink raw reply

* Re: linux-next: clean up time
From: Stephen Rothwell @ 2012-04-23  6:48 UTC (permalink / raw)
  To: linux-next
  Cc: LKML, Ben Dooks, Jeremy Fitzhardinge, Xen Devel, Sumit Semwal,
	Rob Lee
In-Reply-To: <20120402112009.3477dad7deff0f4d87f49b29@canb.auug.org.au>

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

Hi all,

On Mon, 2 Apr 2012 11:20:09 +1000 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> Can people please clean up stuff in their trees that has been merged by
> their upstream.   This is especially useful where the upstream merged (or
> applied) a slightly different version of their tree.

There is still much cruft in the linux-next included trees ... The
following trees appear empty (relative to Linus' tree) but cause conflicts:

bjdooks-i2c
xen
dma-buf
cpuidle-cons

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

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

^ permalink raw reply

* linux-next: manual merge of the dma-mapping tree with the tip tree
From: Stephen Rothwell @ 2012-04-23  6:03 UTC (permalink / raw)
  To: Marek Szyprowski, Kyungmin Park
  Cc: linux-next, linux-kernel, Alessandro Rubini, Thomas Gleixner,
	Ingo Molnar, H. Peter Anvin, Peter Zijlstra

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

Hi all,

Today's linux-next merge of the dma-mapping tree got a conflict in
arch/x86/include/asm/dma-mapping.h between commit f7219a5300ba ("x86:
Introduce CONFIG_X86_DMA_REMAP") from the tip tree and commit
cfe29d4b429b ("X86: integrate CMA with DMA-mapping subsystem") from the
dma-mapping tree.

Just context changes.  I fixed it up (see below) and can carry the fix as
necessary.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

diff --cc arch/x86/include/asm/dma-mapping.h
index 61c0bd2,7b9227b..0000000
--- a/arch/x86/include/asm/dma-mapping.h
+++ b/arch/x86/include/asm/dma-mapping.h
@@@ -62,12 -63,10 +63,16 @@@ extern void *dma_generic_alloc_coherent
  					dma_addr_t *dma_addr, gfp_t flag,
  					struct dma_attrs *attrs);
  
+ extern void dma_generic_free_coherent(struct device *dev, size_t size,
+ 				      void *vaddr, dma_addr_t dma_addr,
+ 				      struct dma_attrs *attrs);
+ 
 +#ifdef CONFIG_X86_DMA_REMAP /* Platform code defines bridge-specific code */
 +extern bool dma_capable(struct device *dev, dma_addr_t addr, size_t size);
 +extern dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr);
 +extern phys_addr_t dma_to_phys(struct device *dev, dma_addr_t daddr);
 +#else
 +
  static inline bool dma_capable(struct device *dev, dma_addr_t addr, size_t size)
  {
  	if (!dev->dma_mask)

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

^ permalink raw reply

* linux-next: manual merge of the modem-shm tree with the driver-core tree
From: Stephen Rothwell @ 2012-04-23  5:44 UTC (permalink / raw)
  To: Linus Walleij, "Sjur Brændeland"
  Cc: linux-next, linux-kernel, MyungJoo Ham, Greg KH

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

Hi all,

Today's linux-next merge of the modem-shm tree got a conflict in
drivers/Kconfig between commit de55d8716ac5  ("Extcon (external
connector): import Android's switch class and modify") from the
driver-core tree and commit 021fd6178bcd ("modem_shm: Makefile and
Kconfig for M7400 Shared Memory Drivers") from the modem-shm tree.

Just context changes.  I fixed it up (see below) and can carry the fix as
necessary.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

diff --cc drivers/Kconfig
index 0233ad9,918e943..0000000
--- a/drivers/Kconfig
+++ b/drivers/Kconfig
@@@ -140,6 -136,6 +140,8 @@@ source "drivers/virt/Kconfig
  
  source "drivers/devfreq/Kconfig"
  
 +source "drivers/extcon/Kconfig"
 +
+ source "drivers/modem_shm/Kconfig"
+ 
  endmenu

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

^ permalink raw reply

* linux-next: manual merge of the staging tree with the usb tree
From: Stephen Rothwell @ 2012-04-23  5:11 UTC (permalink / raw)
  To: Greg KH; +Cc: linux-next, linux-kernel, Masanari Iida

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

Hi Greg,

Today's linux-next merge of the staging tree got a conflict in
drivers/staging/comedi/drivers/dt9812.c between commit de15fe3ed9c3
("USB: dt9812.c: remove err() usage") from the usb tree and commit
73e2918990c0 ("staging: Fix typo in multiple files") from the staging
tree.

The former supercedes the latter, so I used that.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

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

^ permalink raw reply

* Re: linux-next: build failure after merge of the net-next tree
From: David Miller @ 2012-04-23  4:25 UTC (permalink / raw)
  To: sfr; +Cc: netdev, linux-next, linux-kernel, ebiederm
In-Reply-To: <20120423121451.c88c9bfaaf4d79313f7219f3@canb.auug.org.au>

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Mon, 23 Apr 2012 12:14:51 +1000

> After merging the net-next tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
> 
> net/ax25/af_ax25.c: In function 'ax25_exit':
> net/ax25/af_ax25.c:2015:2: error: implicit declaration of function 'ax25_unregister_sysctl' [-Werror=implicit-function-declaration]
> 
> Caused by a mismerge between commit 3adadc08cc1e ("net ax25: Reorder
> ax25_exit to remove races") from the net tree and commit 0ca7a4c87d27
> ("net ax25: Simplify and cleanup the ax25 sysctl handling") from the
> net-next tree.
> 
> I have applied the following merge fix patch:

Looks correct, and I'll resolve this the next time I pull
net into net-next.

Thanks!

^ permalink raw reply

* linux-next: build failure after merge of the drm tree
From: Stephen Rothwell @ 2012-04-23  3:42 UTC (permalink / raw)
  To: Dave Airlie; +Cc: linux-next, linux-kernel, Matthew Garrett

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

Hi Dave,

After merging the drm tree, today's linux-next build (x86_64 allmodconfig)
failed like this:

ERROR: "vga_default_device" [arch/x86/video/fbdev.ko] undefined!

Caused by commit 49c33b97c5f4 ("x86: Use vga_default_device() when
determining whether an fb is primary").

I have used the drm tree from next-20120420 for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

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

^ permalink raw reply

* linux-next: triage for April 22, 2012
From: Paul Gortmaker @ 2012-04-23  1:45 UTC (permalink / raw)
  To: linux-next; +Cc: linux-kernel

Two recent, but AFAIK yet unresolved problems:

  The "undefined reference to `vga_default_device'" stuff
  [ https://lkml.org/lkml/2012/4/18/157 ]

  Sparc/parisc got borked by some kvm header shuffle it seems.
  Complaining about "file 'asm-generic/kvm_para.h' is not exported"
  [ http://kisskb.ellerman.id.au/kisskb/buildresult/6141443/ ]
  [ http://kisskb.ellerman.id.au/kisskb/buildresult/6137786/ ]

I guess I'll have to look at these tomorrow to get more info,
so they don't linger any further (unless they are fixed ASAP).

The samples/seccomp/bpf-direct.c stuff and the gfs2 stuff
seem to be fixed.

Arnd went after a couple of the new ARM fails; mini2440_defconfig and
spear6xx_defconfig status updated accordingly. (Thanks!).

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

New breakage since last report:
	<none>
			
Randconfig fails that may or may not be new (by their very nature):
	<none>

Builds that are fixed since last report:
	*:allmodconfig -- failing on seccomp/bpf-direct.c 

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

Note1: The randconfig fails are only listed once and not tracked
in the below listing.

Note2: Build fails that are perpetual and/or unlikely to ever
get fixed are not tracked here.

Note3: Issues that Stephen finds and reverts/avoids before kicking
off the all-arch/all-config builds are also not tracked here.

Note4: I'm also not tracking the kallsyms extra pass on ARM on
a per board basis anymore.  It has nothing to do with the board.
Why? See:  http://marc.info/?l=linux-next&m=133267456809502

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

Latest results at:
	http://kisskb.ellerman.id.au/kisskb/branch/9/

Failures as of April 22th, 2012:
===============================

AM33:asb2303_defconfig,asb2364_defconfig
	when:	Mar 15
	why:	cc1: error: unrecognized command line option '-mmem-funcs'
	status:	Possible fix from TonyB sent for review.
	fix:	http://marc.info/?l=linux-kernel&m=133185020313818&w=2
	ref:	http://kisskb.ellerman.id.au/kisskb/buildresult/5878400/
----------------

ARM:mackerel_defconfig,ag5evm_defconfig
	when:	Apr 19 (possibly earlier?)
	why:	pfc-sh7372.c: undefined reference to `mmc_detect_change'
	why:	pfc-sh73a0.c: undefined reference to `mmc_detect_change'
	status:	
	fix:	
	ref:	http://article.gmane.org/gmane.linux.ports.sh.devel/14412
	ref:	http://article.gmane.org/gmane.linux.ports.sh.devel/14413
	ref:	http://kisskb.ellerman.id.au/kisskb/buildresult/6131930/
	ref:	http://kisskb.ellerman.id.au/kisskb/buildresult/6131908/

ARM:bcmring_defconfig
	when:	Apr 19 (possibly earlier?)
	why:	core.c: macro "AMBA_APB_DEVICE" requires 6 args, but only 5 given
	status:	fixed, pending feed into linux next.
	fix:
	ref:	http://www.spinics.net/lists/arm-kernel/msg169724.html

ARM:ezx_defconfig
	when:	Apr 19 (possibly earlier?)
	why:	ezx-pcap.c: implicit declaration of function 'irq_to_gpio'
	status:	
	fix:	
	ref:	http://kisskb.ellerman.id.au/kisskb/buildresult/6131924/

ARM:mini2440_defconfig
	when:	Apr 19 (possibly earlier?)
	why:	arm-unknown-linux-gnueabi-ld: no machine record defined
	status:
	fix:	http://marc.info/?l=linux-next&m=133494490918950&w=2
	ref:	http://kisskb.ellerman.id.au/kisskb/buildresult/6131932/

ARM:spear6xx_defconfig
	when:	Apr 19 (possibly earlier?)
	why:	asm/timex.h: fatal error: mach/timex.h: No such file
	status:
	fix:	http://marc.info/?l=linux-arm-kernel&m=133494361818349&w=2
	ref:	http://marc.info/?l=linux-arm-kernel&m=133480180430812&w=2

ARM:netx_defconfig,pnx4008_defconfig 
	when:	Mar 14
	why:	net/core/pktgen.c: can't find a register in class 'GENERAL_REGS'
	status:	
	fix:	
	ref:	http://kisskb.ellerman.id.au/kisskb/buildresult/5869486/
	ref:	https://lkml.org/lkml/2012/3/13/670

ARM:ixp4xx_defconfig
	when:	Oct 26
	why:	gpio.h: implicit declaration of function '__gpio_get_value'
	status:	fixed (Imre Kaloz) - but possibly needs rework?
	fix:	https://lkml.org/lkml/2012/2/8/288
	ref:	https://lkml.org/lkml/2012/2/8/287

ARM:raumfeld_defconfig
	when:	Nov 23
	why:	eeti_ts.c: implicit declaration of function 'irq_to_gpio'
	status:	perhaps broken since 2010?  See ref below.
	fix:	
	ref:	http://www.gossamer-threads.com/lists/linux/kernel/1291618?do=post_view_threaded#1291618

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

AVR32:allnoconfig
	when:	May 26 2010, 20:49
	why:	at32_map_usart: undefined reference to `atmel_default_console_device'
	status:
	fix:
	ref:
---------------

bfin: 50% of builds
	when:	Mar 31
	why:	"Error: pcrel too far BFD_RELOC_BFIN_10" from kernel/time/timekeeping.c
	status:	unknown, binutils issue?
	fix:
	ref:	http://kisskb.ellerman.id.au/kisskb/buildresult/6087324/
---------------

cris:allyesconfig,allmodconfig
	when:	Apr 3
	why:	too many to list here
	ref:	http://kisskb.ellerman.id.au/kisskb/buildresult/6035250/
	ref:	http://kisskb.ellerman.id.au/kisskb/buildresult/6035249/
----------------

h8300:defconfig
	when:	Mar 15
	why:	time.c: implicit declaration of function 'get_irq_regs'
	why:	also seems gcc suffers an ICE
	status:	ICE bug lodged with gcc folks (TonyB)
	ref:	http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52598
	ref:	http://kisskb.ellerman.id.au/kisskb/buildresult/5884668/
----------------

m32r:m32700ut.smp_defconfig
	when:	Mar 15
	why:	No rule to make target `arch/m32r/boot/compressed/vmlinux.bin
	ref:	http://kisskb.ellerman.id.au/kisskb/buildresult/5884670/
----------------

mips:ip27_defconfig
	when:	Apr 18
	why: iwlwifi/iwl-core.h: static decl of 'iwl_alloc_traffic_mem' follows non-static
	ref:	http://kisskb.ellerman.id.au/kisskb/buildresult/6131791/

mips:allmodconfig
	when:	Apr 17
	why:	sound/oss/soundcard.c: 'MAX_DMA_CHANNELS' undeclared
	status: one of many fixes mips needs...
	ref:	http://kisskb.ellerman.id.au/kisskb/buildresult/6091660/
----------------

parisc:defconfig
	when:	Apr 20
	why:	file 'asm-generic/kvm_para.h' is not exported
	ref:	http://kisskb.ellerman.id.au/kisskb/buildresult/6137786/

parisc:allmodconfig
	when:	?
	why:	include/linux/log2.h: implicit declaration of function 'fls'
	status:	reported by PaulG, WIP by David Howells 
	ref:	https://lkml.org/lkml/2012/2/29/409
	ref:	https://lkml.org/lkml/2012/3/6/228

parisc64:a500_defconfig 
	when:	?
	why:	include/linux/log2.h: implicit declaration of function 'fls'
	status:	reported by PaulG, WIP by David Howells 
	ref:	https://lkml.org/lkml/2012/2/29/409
	ref:	https://lkml.org/lkml/2012/3/6/228
------------------

sparc/m68k:all
	when:	Apr 18
	why:	fs/gfs2/lops.c:379:42: error: request for member 'virtual' in something not a structure or union
	status:	reported/bisected by PaulG
	ref:	http://marc.info/?l=linux-next&m=133479890929994&w=2
------------------

xtensa:defconfig
	when:	Apr 20
	why:	kallsyms.c:(.text+0x1eb44): undefined reference to `ack_bad_irq'
	ref:	http://kisskb.ellerman.id.au/kisskb/buildresult/6138090/

^ permalink raw reply

* Re: linux-next: build failure after merge of the final tree (md tree related)
From: NeilBrown @ 2012-04-23  0:18 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: linux-next, linux-kernel
In-Reply-To: <20120420153448.2257c33126add9118757791a@canb.auug.org.au>

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

On Fri, 20 Apr 2012 15:34:48 +1000 Stephen Rothwell <sfr@canb.auug.org.au>
wrote:

> Hi Neil,
> 
> After merging the final tree, today's linux-next build (i386 defconfig)
> failed like this:
> 
> drivers/built-in.o: In function `bitmap_resize':
> (.text+0x202b76): undefined reference to `__udivdi3'
> drivers/built-in.o: In function `bitmap_resize':
> (.text+0x202bac): undefined reference to `__udivdi3'
> 
> Caused by commit 6c5cb1922cca ("md/bitmap: add bitmap_resize function to
> allow bitmap resizing").
> 
> I also get these warnings:
> 
> drivers/md/bitmap.c: In function 'bitmap_resize':
> drivers/md/bitmap.c:1878:11: warning: comparison of distinct pointer types lacks a cast [enabled by default]
> drivers/md/bitmap.c:1887:11: warning: passing argument 3 of 'bitmap_get_counter' from incompatible pointer type [enabled by default]
> drivers/md/bitmap.c:1225:26: note: expected 'sector_t *' but argument is of type 'long int *'
> drivers/md/bitmap.c:1892:12: warning: passing argument 3 of 'bitmap_get_counter' from incompatible pointer type [enabled by default]
> drivers/md/bitmap.c:1225:26: note: expected 'sector_t *' but argument is of type 'long int *'
> drivers/md/bitmap.c:1920:8: warning: passing argument 3 of 'bitmap_get_counter' from incompatible pointer type [enabled by default]
> drivers/md/bitmap.c:1225:26: note: expected 'sector_t *' but argument is of type 'long int *'
> 
> I applied the patch below for the link failure, but the above warnings
> should be addressed as well.

Thanks Stephen.  I've fixed all that up now - and done a test 32-bit
compile :-)

Thanks,
NeilBrown

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 828 bytes --]

^ permalink raw reply

* Re: linux-next: manual merge of the usb tree with the usb.current tree
From: Greg KH @ 2012-04-22 22:27 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: linux-next, linux-kernel, Anatolij Gustschin, Ramneek Mehresh
In-Reply-To: <20120419151402.6f958fabc6bd96696b4cde3c@canb.auug.org.au>

On Thu, Apr 19, 2012 at 03:14:02PM +1000, Stephen Rothwell wrote:
> Hi Greg,
> 
> Today's linux-next merge of the usb tree got a conflict in
> drivers/usb/host/ehci-fsl.c between commit f941f6922533 ("USB: ehci-fsl:
> Fix kernel crash on mpc5121e") from the usb.current tree and commit
> 58c559e6509f ("fsl/usb: Add controller version based ULPI and UTMI phy
> support") from the usb tree.
> 
> I fixed it up (using the pdata assignment from the latter commit) and
> can carry the fix as necessary.

This should now be resolved in my tree.

thanks,

greg k-h

^ permalink raw reply

* Re: linux-next: Tree for Apr 20 (usb & target)
From: Sebastian Andrzej Siewior @ 2012-04-22 19:01 UTC (permalink / raw)
  To: Greg KH
  Cc: Nicholas A. Bellinger, Randy Dunlap, Stephen Rothwell, linux-next,
	LKML, linux-usb, target-devel, Felipe Balbi
In-Reply-To: <20120421153402.GA22953@kroah.com>

* Greg KH | 2012-04-21 08:34:02 [-0700]:

>> > CONFIG_MODULES is not enabled.
>> > CONFIG_TCM_USB_GADGET=y
>> > CONFIG_USB_GADGET=y
>> 
>> Sebastian + Greg-KH (Cc'ed), any ideas why this is the case here..?
>
>I have no idea, sorry.

The short version:
in order to fix this either move the usb-target-gadget to
drivers/usb/gadget/Kconfig and make sure only one gadget can be compiled
at a time or add some kind of depends.

The longer version:
This is a short comming of the gadget framework. We are able to build
multiple UDCs at a time and we can build multiple gadgets _as_ modules.
Since we can not bind & configure via an interface the whole thing works
right now via "modprobe $gadget. There is some infrastructure to accept
multiple UDCs/gadget but the *whole* thing is not complete.
In non-modules mode you can only select one gadget at a time. With the
target gadget living outside of usb/gadget selection it is possible to
select both at the same time which causes the duplicate symbols here.
A "quick" fix is not to define all the functions static and put
maybe_unsued on each function to avoid warnings. This is only duct tape
on top and I would prefer that nobody is sending such a patch. The
result is hardly usefull by a user.
A real fix would to get rid of the "#includes foo.c" and use a helper
module/library instead.
I tried this once and notice that the whole thing relies on
static/global variables which are initialized once on modprobe. So
with the second module loaded (read as rmmod $mod1 && modprobe $mod2)
the gadget framework explodes. Once I noticed that, the patches got out
of Felipe's tree before anyone noticed something. That means we should
first get rid of the global variables and then maybe try again :)

Sebastian

^ permalink raw reply

* Re: linux-next: Tree for Apr 20 (usb & target)
From: Greg KH @ 2012-04-21 15:34 UTC (permalink / raw)
  To: Nicholas A. Bellinger
  Cc: Randy Dunlap, Stephen Rothwell, linux-next, LKML, linux-usb,
	target-devel, Sebastian Andrzej Siewior
In-Reply-To: <1334999263.30707.129.camel@haakon2.linux-iscsi.org>

On Sat, Apr 21, 2012 at 02:07:43AM -0700, Nicholas A. Bellinger wrote:
> On Fri, 2012-04-20 at 14:49 -0700, Randy Dunlap wrote:
> > On 04/19/2012 10:51 PM, Stephen Rothwell wrote:
> > 
> > > Hi all,
> > > 
> > > Changes since 20120419:
> > 
> > 
> 
> Hi Randy,
> 
> > CONFIG_MODULES is not enabled.
> > CONFIG_TCM_USB_GADGET=y
> > CONFIG_USB_GADGET=y
> >
> > drivers/usb/built-in.o: In function `usb_descriptor_fillbuf':
> > (.text+0x53bb): multiple definition of `usb_descriptor_fillbuf'
> > drivers/target/built-in.o:(.text+0x1e605): first defined here
> > drivers/usb/built-in.o: In function `usb_string_ids_n':
> > (.text+0x4f1a): multiple definition of `usb_string_ids_n'
> > drivers/target/built-in.o:(.text+0x1f1ed): first defined here
> > drivers/usb/built-in.o: In function `usb_interface_id':
> > (.text+0x4ea8): multiple definition of `usb_interface_id'
> > drivers/target/built-in.o:(.text+0x1f0bc): first defined here
> > drivers/usb/built-in.o: In function `usb_string_id':
> > (.text+0x4ecc): multiple definition of `usb_string_id'
> > drivers/target/built-in.o:(.text+0x1f19f): first defined here
> > drivers/usb/built-in.o: In function `usb_string_ids_tab':
> > (.text+0x4ee8): multiple definition of `usb_string_ids_tab'
> > drivers/target/built-in.o:(.text+0x1f1bb): first defined here
> > drivers/usb/built-in.o: In function `usb_copy_descriptors':
> > (.text+0x5a01): multiple definition of `usb_copy_descriptors'
> > drivers/target/built-in.o:(.text+0x1ec48): first defined here
> > drivers/usb/built-in.o: In function `usb_composite_unregister':
> > (.text+0x4fe2): multiple definition of `usb_composite_unregister'
> > drivers/target/built-in.o:(.text+0x1f2b5): first defined here
> > drivers/usb/built-in.o: In function `config_ep_by_speed':
> > (.text+0x4bd7): multiple definition of `config_ep_by_speed'
> > drivers/target/built-in.o:(.text+0x1ecca): first defined here
> > drivers/usb/built-in.o: In function `usb_gadget_get_string':
> > (.text+0x5094): multiple definition of `usb_gadget_get_string'
> > drivers/target/built-in.o:(.text+0x1dd85): first defined here
> > drivers/usb/built-in.o: In function `usb_add_function':
> > (.text+0x4cfc): multiple definition of `usb_add_function'
> > drivers/target/built-in.o:(.text+0x1ee6c): first defined here
> > drivers/usb/built-in.o: In function `usb_composite_probe':
> > (.text+0x4f4a): multiple definition of `usb_composite_probe'
> > drivers/target/built-in.o:(.text+0x1f21d): first defined here
> > drivers/usb/built-in.o: In function `usb_composite_setup_continue':
> > (.text+0x4ffd): multiple definition of `usb_composite_setup_continue'
> > drivers/target/built-in.o:(.text+0x1f369): first defined here
> > drivers/usb/built-in.o: In function `usb_gadget_config_buf':
> > (.text+0x59ad): multiple definition of `usb_gadget_config_buf'
> > drivers/target/built-in.o:(.text+0x1ebf4): first defined here
> > drivers/usb/built-in.o: In function `usb_ep_autoconfig':
> > (.text+0x5bba): multiple definition of `usb_ep_autoconfig'
> > drivers/target/built-in.o:(.text+0x1e358): first defined here
> > drivers/usb/built-in.o: In function `usb_function_activate':
> > (.text+0x4e29): multiple definition of `usb_function_activate'
> > drivers/target/built-in.o:(.text+0x1f03b): first defined here
> > drivers/usb/built-in.o: In function `usb_ep_autoconfig_reset':
> > (.text+0x5bc7): multiple definition of `usb_ep_autoconfig_reset'
> > drivers/target/built-in.o:(.text+0x1e365): first defined here
> > drivers/usb/built-in.o: In function `usb_add_config':
> > (.text+0x5e6a): multiple definition of `usb_add_config'
> > drivers/target/built-in.o:(.text+0x1f0e0): first defined here
> > drivers/usb/built-in.o: In function `usb_ep_autoconfig_ss':
> > (.text+0x5a83): multiple definition of `usb_ep_autoconfig_ss'
> > drivers/target/built-in.o:(.text+0x1e0ab): first defined here
> > drivers/usb/built-in.o: In function `usb_function_deactivate':
> > (.text+0x4dc2): multiple definition of `usb_function_deactivate'
> > drivers/target/built-in.o:(.text+0x1efd4): first defined here
> > 
> > 
> 
> Mmmm, It looks like the source file include usage in target/usb-gadget.c
> might be causing some problems here:
> 
> #include "usbstring.c"
> #include "epautoconf.c"
> #include "config.c"
> #include "composite.c"
> 
> Sebastian + Greg-KH (Cc'ed), any ideas why this is the case here..?

I have no idea, sorry.

^ permalink raw reply

* Re: linux-next: Tree for Apr 20 (usb & target)
From: Nicholas A. Bellinger @ 2012-04-21  9:07 UTC (permalink / raw)
  To: Randy Dunlap
  Cc: Stephen Rothwell, linux-next, LKML, linux-usb, target-devel,
	Sebastian Andrzej Siewior, Greg KH
In-Reply-To: <4F91D9D9.6020609@xenotime.net>

On Fri, 2012-04-20 at 14:49 -0700, Randy Dunlap wrote:
> On 04/19/2012 10:51 PM, Stephen Rothwell wrote:
> 
> > Hi all,
> > 
> > Changes since 20120419:
> 
> 

Hi Randy,

> CONFIG_MODULES is not enabled.
> CONFIG_TCM_USB_GADGET=y
> CONFIG_USB_GADGET=y
>
> drivers/usb/built-in.o: In function `usb_descriptor_fillbuf':
> (.text+0x53bb): multiple definition of `usb_descriptor_fillbuf'
> drivers/target/built-in.o:(.text+0x1e605): first defined here
> drivers/usb/built-in.o: In function `usb_string_ids_n':
> (.text+0x4f1a): multiple definition of `usb_string_ids_n'
> drivers/target/built-in.o:(.text+0x1f1ed): first defined here
> drivers/usb/built-in.o: In function `usb_interface_id':
> (.text+0x4ea8): multiple definition of `usb_interface_id'
> drivers/target/built-in.o:(.text+0x1f0bc): first defined here
> drivers/usb/built-in.o: In function `usb_string_id':
> (.text+0x4ecc): multiple definition of `usb_string_id'
> drivers/target/built-in.o:(.text+0x1f19f): first defined here
> drivers/usb/built-in.o: In function `usb_string_ids_tab':
> (.text+0x4ee8): multiple definition of `usb_string_ids_tab'
> drivers/target/built-in.o:(.text+0x1f1bb): first defined here
> drivers/usb/built-in.o: In function `usb_copy_descriptors':
> (.text+0x5a01): multiple definition of `usb_copy_descriptors'
> drivers/target/built-in.o:(.text+0x1ec48): first defined here
> drivers/usb/built-in.o: In function `usb_composite_unregister':
> (.text+0x4fe2): multiple definition of `usb_composite_unregister'
> drivers/target/built-in.o:(.text+0x1f2b5): first defined here
> drivers/usb/built-in.o: In function `config_ep_by_speed':
> (.text+0x4bd7): multiple definition of `config_ep_by_speed'
> drivers/target/built-in.o:(.text+0x1ecca): first defined here
> drivers/usb/built-in.o: In function `usb_gadget_get_string':
> (.text+0x5094): multiple definition of `usb_gadget_get_string'
> drivers/target/built-in.o:(.text+0x1dd85): first defined here
> drivers/usb/built-in.o: In function `usb_add_function':
> (.text+0x4cfc): multiple definition of `usb_add_function'
> drivers/target/built-in.o:(.text+0x1ee6c): first defined here
> drivers/usb/built-in.o: In function `usb_composite_probe':
> (.text+0x4f4a): multiple definition of `usb_composite_probe'
> drivers/target/built-in.o:(.text+0x1f21d): first defined here
> drivers/usb/built-in.o: In function `usb_composite_setup_continue':
> (.text+0x4ffd): multiple definition of `usb_composite_setup_continue'
> drivers/target/built-in.o:(.text+0x1f369): first defined here
> drivers/usb/built-in.o: In function `usb_gadget_config_buf':
> (.text+0x59ad): multiple definition of `usb_gadget_config_buf'
> drivers/target/built-in.o:(.text+0x1ebf4): first defined here
> drivers/usb/built-in.o: In function `usb_ep_autoconfig':
> (.text+0x5bba): multiple definition of `usb_ep_autoconfig'
> drivers/target/built-in.o:(.text+0x1e358): first defined here
> drivers/usb/built-in.o: In function `usb_function_activate':
> (.text+0x4e29): multiple definition of `usb_function_activate'
> drivers/target/built-in.o:(.text+0x1f03b): first defined here
> drivers/usb/built-in.o: In function `usb_ep_autoconfig_reset':
> (.text+0x5bc7): multiple definition of `usb_ep_autoconfig_reset'
> drivers/target/built-in.o:(.text+0x1e365): first defined here
> drivers/usb/built-in.o: In function `usb_add_config':
> (.text+0x5e6a): multiple definition of `usb_add_config'
> drivers/target/built-in.o:(.text+0x1f0e0): first defined here
> drivers/usb/built-in.o: In function `usb_ep_autoconfig_ss':
> (.text+0x5a83): multiple definition of `usb_ep_autoconfig_ss'
> drivers/target/built-in.o:(.text+0x1e0ab): first defined here
> drivers/usb/built-in.o: In function `usb_function_deactivate':
> (.text+0x4dc2): multiple definition of `usb_function_deactivate'
> drivers/target/built-in.o:(.text+0x1efd4): first defined here
> 
> 

Mmmm, It looks like the source file include usage in target/usb-gadget.c
might be causing some problems here:

#include "usbstring.c"
#include "epautoconf.c"
#include "config.c"
#include "composite.c"

Sebastian + Greg-KH (Cc'ed), any ideas why this is the case here..?

Thanks,

--nab

^ permalink raw reply

* Re: linux-next: Tree for Apr 20 (kvm)
From: Randy Dunlap @ 2012-04-20 22:00 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: linux-next, LKML
In-Reply-To: <20120420155151.3fcac4c2d1002ade5ccf44ac@canb.auug.org.au>

On 04/19/2012 10:51 PM, Stephen Rothwell wrote:

> Hi all,
> 
> Changes since 20120419:
> 
> 
> The kvm tree inherited the kvm-ppc tree's build failure for which I
> reverted a commit.



on i386:

arch/x86/kvm/emulate.c:4122: Error: bad register name `%dil'


-- 
~Randy

^ permalink raw reply

* Re: linux-next: Tree for Apr 20 (usb & target)
From: Randy Dunlap @ 2012-04-20 21:49 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: linux-next, LKML, linux-usb, target-devel
In-Reply-To: <20120420155151.3fcac4c2d1002ade5ccf44ac@canb.auug.org.au>

On 04/19/2012 10:51 PM, Stephen Rothwell wrote:

> Hi all,
> 
> Changes since 20120419:


CONFIG_MODULES is not enabled.
CONFIG_TCM_USB_GADGET=y
CONFIG_USB_GADGET=y



drivers/usb/built-in.o: In function `usb_descriptor_fillbuf':
(.text+0x53bb): multiple definition of `usb_descriptor_fillbuf'
drivers/target/built-in.o:(.text+0x1e605): first defined here
drivers/usb/built-in.o: In function `usb_string_ids_n':
(.text+0x4f1a): multiple definition of `usb_string_ids_n'
drivers/target/built-in.o:(.text+0x1f1ed): first defined here
drivers/usb/built-in.o: In function `usb_interface_id':
(.text+0x4ea8): multiple definition of `usb_interface_id'
drivers/target/built-in.o:(.text+0x1f0bc): first defined here
drivers/usb/built-in.o: In function `usb_string_id':
(.text+0x4ecc): multiple definition of `usb_string_id'
drivers/target/built-in.o:(.text+0x1f19f): first defined here
drivers/usb/built-in.o: In function `usb_string_ids_tab':
(.text+0x4ee8): multiple definition of `usb_string_ids_tab'
drivers/target/built-in.o:(.text+0x1f1bb): first defined here
drivers/usb/built-in.o: In function `usb_copy_descriptors':
(.text+0x5a01): multiple definition of `usb_copy_descriptors'
drivers/target/built-in.o:(.text+0x1ec48): first defined here
drivers/usb/built-in.o: In function `usb_composite_unregister':
(.text+0x4fe2): multiple definition of `usb_composite_unregister'
drivers/target/built-in.o:(.text+0x1f2b5): first defined here
drivers/usb/built-in.o: In function `config_ep_by_speed':
(.text+0x4bd7): multiple definition of `config_ep_by_speed'
drivers/target/built-in.o:(.text+0x1ecca): first defined here
drivers/usb/built-in.o: In function `usb_gadget_get_string':
(.text+0x5094): multiple definition of `usb_gadget_get_string'
drivers/target/built-in.o:(.text+0x1dd85): first defined here
drivers/usb/built-in.o: In function `usb_add_function':
(.text+0x4cfc): multiple definition of `usb_add_function'
drivers/target/built-in.o:(.text+0x1ee6c): first defined here
drivers/usb/built-in.o: In function `usb_composite_probe':
(.text+0x4f4a): multiple definition of `usb_composite_probe'
drivers/target/built-in.o:(.text+0x1f21d): first defined here
drivers/usb/built-in.o: In function `usb_composite_setup_continue':
(.text+0x4ffd): multiple definition of `usb_composite_setup_continue'
drivers/target/built-in.o:(.text+0x1f369): first defined here
drivers/usb/built-in.o: In function `usb_gadget_config_buf':
(.text+0x59ad): multiple definition of `usb_gadget_config_buf'
drivers/target/built-in.o:(.text+0x1ebf4): first defined here
drivers/usb/built-in.o: In function `usb_ep_autoconfig':
(.text+0x5bba): multiple definition of `usb_ep_autoconfig'
drivers/target/built-in.o:(.text+0x1e358): first defined here
drivers/usb/built-in.o: In function `usb_function_activate':
(.text+0x4e29): multiple definition of `usb_function_activate'
drivers/target/built-in.o:(.text+0x1f03b): first defined here
drivers/usb/built-in.o: In function `usb_ep_autoconfig_reset':
(.text+0x5bc7): multiple definition of `usb_ep_autoconfig_reset'
drivers/target/built-in.o:(.text+0x1e365): first defined here
drivers/usb/built-in.o: In function `usb_add_config':
(.text+0x5e6a): multiple definition of `usb_add_config'
drivers/target/built-in.o:(.text+0x1f0e0): first defined here
drivers/usb/built-in.o: In function `usb_ep_autoconfig_ss':
(.text+0x5a83): multiple definition of `usb_ep_autoconfig_ss'
drivers/target/built-in.o:(.text+0x1e0ab): first defined here
drivers/usb/built-in.o: In function `usb_function_deactivate':
(.text+0x4dc2): multiple definition of `usb_function_deactivate'
drivers/target/built-in.o:(.text+0x1efd4): first defined here



-- 
~Randy

^ permalink raw reply


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox