]>
git.karo-electronics.de Git - karo-tx-linux.git/log
Arnd Bergmann [Thu, 3 May 2012 05:43:11 +0000 (15:43 +1000)]
drivers/leds: correct __devexit annotations
__devexit functions are discarded without CONFIG_HOTPLUG, so they need to
be referenced carefully. A __devexit function may also not be called from
a __devinit function.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Sha Zhengju [Thu, 3 May 2012 05:43:10 +0000 (15:43 +1000)]
memcg: free spare array to avoid memory leak
When the last event is unregistered, there is no need to keep the spare
array anymore. So free it to avoid memory leak.
Signed-off-by: Sha Zhengju <handai.szj@taobao.com>
Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Reviewed-by: Kirill A. Shutemov <kirill@shutemov.name>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Mike Galbraith [Thu, 3 May 2012 05:43:10 +0000 (15:43 +1000)]
namespaces, pid_ns: fix leakage on fork() failure
Fork() failure post namespace creation for a child cloned with
CLONE_NEWPID leaks pid_namespace/mnt_cache due to proc being mounted
during creation, but not unmounted during cleanup. Call
pid_ns_release_proc() during cleanup.
Signed-off-by: Mike Galbraith <efault@gmx.de>
Acked-by: Oleg Nesterov <oleg@redhat.com>
Reviewed-by: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Pavel Emelyanov <xemul@parallels.com>
Cc: Cyrill Gorcunov <gorcunov@openvz.org>
Cc: Louis Rilling <louis.rilling@kerlabs.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Chris Metcalf [Thu, 3 May 2012 05:43:09 +0000 (15:43 +1000)]
hugetlb: prevent BUG_ON in hugetlb_fault() -> hugetlb_cow()
66aebce747eaf ("hugetlb: fix race condition in hugetlb_fault()") added
code to avoid a race condition by elevating the page refcount in
hugetlb_fault() while calling hugetlb_cow().
However, one code path in hugetlb_cow() includes an assertion that the
page count is 1, whereas it may now also have the value 2 in this path.
The consensus is that this BUG_ON has served its purpose, so rather than
extending it to cover both cases, we just remove it.
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Acked-by: Mel Gorman <mel@csn.ul.ie>
Acked-by: Hillf Danton <dhillf@gmail.com>
Acked-by: Hugh Dickins <hughd@google.com>
Cc: Michal Hocko <mhocko@suse.cz>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: <stable@vger.kernel.org> [3.0.29+, 3.2.16+, 3.3.3+]
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Sasha Levin [Thu, 3 May 2012 05:43:09 +0000 (15:43 +1000)]
mm: fix division by 0 in percpu_pagelist_fraction()
percpu_pagelist_fraction_sysctl_handler() has only considered -EINVAL as a
possible error from proc_dointvec_minmax(). If any other error is
returned, it would proceed to divide by zero since
percpu_pagelist_fraction wasn't getting initialized at any point. For
example, writing 0 bytes into the proc file would trigger the issue.
Signed-off-by: Sasha Levin <levinsasha928@gmail.com>
Reviewed-by: Minchan Kim <minchan@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Konstantin Khlebnikov [Thu, 3 May 2012 05:43:09 +0000 (15:43 +1000)]
proc/pid/pagemap: correctly report non-present ptes and holes between vmas
Reset the current pagemap-entry if the current pte isn't present, or if
current vma is over. Otherwise pagemap reports last entry again and
again.
non-present pte reporting was broken in commit
v3.3-3738-g092b50b
("pagemap: introduce data structure for pagemap entry")
reporting for holes was broken in commit
v3.3-3734-g5aaabe8
("pagemap: avoid splitting thp when reading /proc/pid/pagemap")
Signed-off-by: Konstantin Khlebnikov <khlebnikov@openvz.org>
Reported-by: Pavel Emelyanov <xemul@parallels.com>
Cc: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Andrew Morton [Thu, 3 May 2012 05:43:08 +0000 (15:43 +1000)]
drivers/gpu/drm/gma500/mdfld_device.c: fix build
drivers/gpu/drm/gma500/mdfld_device.c:675: error: expected '}' before ';' token
Repairs "cdv: continue synching up with updated reference code".
Cc: Alan Cox <alan@linux.intel.com>
Cc: Dave Airlie <airlied@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Paul Gortmaker [Thu, 3 May 2012 05:43:08 +0000 (15:43 +1000)]
pagemap.h: fix warning about possibly used before init var
Commit
f56f821feb7b36223f309e0ec05986bb137ce418 (linux-next)
"mm: extend prefault helpers to fault in more than PAGE_SIZE"
added in the new functions:
fault_in_multipages_writeable
fault_in_multipages_readable
However, we currently see:
include/linux/pagemap.h:492: warning: 'ret' may be used uninitialized in this function
include/linux/pagemap.h:492: note: 'ret' was declared here
Unlike a lot of gcc nags, this one appears somewhat legit. i.e. passing
in an invalid negative value of "size" does make it look like all the
conditionals in there would be bypassed and the uninitialized value would
be returned.
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Stephen Rothwell [Thu, 3 May 2012 05:29:14 +0000 (15:29 +1000)]
Merge remote-tracking branch 'dma-mapping/dma-mapping-next'
Conflicts:
arch/x86/include/asm/dma-mapping.h
Stephen Rothwell [Thu, 3 May 2012 05:27:39 +0000 (15:27 +1000)]
Merge remote-tracking branch 'ep93xx/ep93xx-cleanup'
Stephen Rothwell [Thu, 3 May 2012 05:26:10 +0000 (15:26 +1000)]
Merge remote-tracking branch 'arm-soc/for-next'
Conflicts:
arch/arm/mach-ixp2000/enp2611.c
arch/arm/mach-ixp2000/include/mach/platform.h
arch/arm/mach-ixp2000/ixdp2400.c
arch/arm/mach-ixp2000/ixdp2800.c
arch/arm/mach-ixp2000/ixdp2x01.c
arch/arm/mach-ixp2000/pci.c
arch/arm/mach-ixp23xx/include/mach/platform.h
arch/arm/mach-ixp23xx/ixdp2351.c
arch/arm/mach-ixp23xx/pci.c
arch/arm/mach-ixp23xx/roadrunner.c
arch/arm/mach-lpc32xx/common.c
drivers/mfd/ab5500-core.c
lib/Makefile
Stephen Rothwell [Thu, 3 May 2012 05:12:03 +0000 (15:12 +1000)]
Merge remote-tracking branch 'gpio/gpio/next'
Stephen Rothwell [Thu, 3 May 2012 05:10:27 +0000 (15:10 +1000)]
Merge remote-tracking branch 'modem-shm/for-next'
Conflicts:
drivers/Kconfig
Stephen Rothwell [Thu, 3 May 2012 05:03:02 +0000 (15:03 +1000)]
Merge remote-tracking branch 'vhost/linux-next'
Conflicts:
drivers/net/virtio_net.c
Stephen Rothwell [Thu, 3 May 2012 05:02:57 +0000 (15:02 +1000)]
Merge remote-tracking branch 'moduleh/for-sfr'
Stephen Rothwell [Thu, 3 May 2012 05:01:28 +0000 (15:01 +1000)]
Merge remote-tracking branch 'tegra/for-next'
Stephen Rothwell [Thu, 3 May 2012 04:58:53 +0000 (14:58 +1000)]
Merge remote-tracking branch 'pinctrl/for-next'
Conflicts:
Documentation/driver-model/devres.txt
drivers/pinctrl/core.c
Stephen Rothwell [Thu, 3 May 2012 04:56:11 +0000 (14:56 +1000)]
Merge remote-tracking branch 'writeback/writeback-for-next'
Stephen Rothwell [Thu, 3 May 2012 04:54:19 +0000 (14:54 +1000)]
Merge remote-tracking branch 'tmem/linux-next'
Stephen Rothwell [Thu, 3 May 2012 04:52:51 +0000 (14:52 +1000)]
Merge remote-tracking branch 'char-misc/char-misc-next'
Stephen Rothwell [Thu, 3 May 2012 04:51:10 +0000 (14:51 +1000)]
Merge remote-tracking branch 'staging/staging-next'
Conflicts:
drivers/Kconfig
drivers/Makefile
drivers/staging/android/Kconfig
drivers/staging/android/Makefile
drivers/staging/line6/driver.c
Stephen Rothwell [Thu, 3 May 2012 04:44:57 +0000 (14:44 +1000)]
Merge remote-tracking branch 'usb/usb-next'
Conflicts:
drivers/input/tablet/wacom_wac.c
drivers/usb/core/inode.c
drivers/usb/host/ehci-tegra.c
Stephen Rothwell [Thu, 3 May 2012 04:32:55 +0000 (14:32 +1000)]
Merge remote-tracking branch 'tty/tty-next'
Stephen Rothwell [Thu, 3 May 2012 04:26:01 +0000 (14:26 +1000)]
Merge remote-tracking branch 'driver-core/driver-core-next'
Stephen Rothwell [Thu, 3 May 2012 04:24:22 +0000 (14:24 +1000)]
Merge remote-tracking branch 'regmap/for-next'
Conflicts:
drivers/base/regmap/regmap.c
Stephen Rothwell [Thu, 3 May 2012 04:24:12 +0000 (14:24 +1000)]
Merge remote-tracking branch 'drivers-x86/linux-next'
Stephen Rothwell [Thu, 3 May 2012 04:22:47 +0000 (14:22 +1000)]
Merge remote-tracking branch 'workqueues/for-next'
Stephen Rothwell [Thu, 3 May 2012 04:21:18 +0000 (14:21 +1000)]
Merge remote-tracking branch 'percpu/for-next'
Stephen Rothwell [Thu, 3 May 2012 04:19:12 +0000 (14:19 +1000)]
Merge remote-tracking branch 'xen-two/linux-next'
Stephen Rothwell [Thu, 3 May 2012 04:16:40 +0000 (14:16 +1000)]
Merge remote-tracking branch 'kvm-ppc/kvm-ppc-next'
Stephen Rothwell [Thu, 3 May 2012 04:09:44 +0000 (14:09 +1000)]
Merge remote-tracking branch 'kvm/linux-next'
Conflicts:
Documentation/feature-removal-schedule.txt
Stephen Rothwell [Thu, 3 May 2012 04:08:15 +0000 (14:08 +1000)]
Merge remote-tracking branch 'kmemleak/kmemleak'
Stephen Rothwell [Thu, 3 May 2012 04:01:16 +0000 (14:01 +1000)]
Merge remote-tracking branch 'rcu/rcu/next'
Stephen Rothwell [Thu, 3 May 2012 03:54:14 +0000 (13:54 +1000)]
Merge remote-tracking branch 'tip/auto-latest'
Conflicts:
arch/x86/Kconfig
Stephen Rothwell [Thu, 3 May 2012 03:52:36 +0000 (13:52 +1000)]
Merge remote-tracking branch 'spi/spi/next'
Stephen Rothwell [Thu, 3 May 2012 03:52:29 +0000 (13:52 +1000)]
Merge remote-tracking branch 'edac-amd/for-next'
Stephen Rothwell [Thu, 3 May 2012 03:50:55 +0000 (13:50 +1000)]
Merge remote-tracking branch 'fsnotify/for-next'
Stephen Rothwell [Thu, 3 May 2012 03:43:59 +0000 (13:43 +1000)]
Merge remote-tracking branch 'pm/linux-next'
Stephen Rothwell [Thu, 3 May 2012 03:37:01 +0000 (13:37 +1000)]
Merge remote-tracking branch 'trivial/for-next'
Conflicts:
sound/soc/imx/Kconfig
Stephen Rothwell [Thu, 3 May 2012 03:23:04 +0000 (13:23 +1000)]
Merge remote-tracking branch 'iommu/next'
Stephen Rothwell [Thu, 3 May 2012 03:21:34 +0000 (13:21 +1000)]
Merge remote-tracking branch 'watchdog/master'
Stephen Rothwell [Thu, 3 May 2012 03:18:49 +0000 (13:18 +1000)]
Merge remote-tracking branch 'selinux/master'
Stephen Rothwell [Thu, 3 May 2012 03:12:24 +0000 (13:12 +1000)]
Merge remote-tracking branch 'security/next'
Conflicts:
include/linux/filter.h
Stephen Rothwell [Thu, 3 May 2012 03:10:56 +0000 (13:10 +1000)]
Merge remote-tracking branch 'regulator/for-next'
Stephen Rothwell [Thu, 3 May 2012 03:08:58 +0000 (13:08 +1000)]
Merge remote-tracking branch 'fbdev/fbdev-next'
Stephen Rothwell [Thu, 3 May 2012 03:05:52 +0000 (13:05 +1000)]
Merge remote-tracking branch 'drm/drm-next'
Conflicts:
drivers/gpu/drm/i915/intel_display.c
Stephen Rothwell [Thu, 3 May 2012 02:09:50 +0000 (12:09 +1000)]
Merge remote-tracking branch 'mfd/for-next'
Stephen Rothwell [Thu, 3 May 2012 02:03:56 +0000 (12:03 +1000)]
Merge remote-tracking branch 'md/for-next'
Stephen Rothwell [Thu, 3 May 2012 01:57:21 +0000 (11:57 +1000)]
Merge remote-tracking branch 'slab/for-next'
Stephen Rothwell [Thu, 3 May 2012 01:55:48 +0000 (11:55 +1000)]
Merge remote-tracking branch 'mmc/mmc-next'
Stephen Rothwell [Thu, 3 May 2012 01:54:08 +0000 (11:54 +1000)]
Merge branch 'quilt/device-mapper'
Stephen Rothwell [Thu, 3 May 2012 01:47:54 +0000 (11:47 +1000)]
Merge remote-tracking branch 'block/for-next'
Conflicts:
Documentation/feature-removal-schedule.txt
Stephen Rothwell [Thu, 3 May 2012 01:43:53 +0000 (11:43 +1000)]
Merge remote-tracking branch 'cgroup/for-next'
Conflicts:
Documentation/feature-removal-schedule.txt
Stephen Rothwell [Thu, 3 May 2012 01:42:18 +0000 (11:42 +1000)]
Merge remote-tracking branch 'input/next'
Stephen Rothwell [Thu, 3 May 2012 01:40:46 +0000 (11:40 +1000)]
Merge branch 'quilt/rr'
Conflicts:
arch/arm/kernel/kprobes.c
arch/arm/kernel/smp.c
drivers/virtio/virtio_balloon.c
init/main.c
Stephen Rothwell [Thu, 3 May 2012 01:39:10 +0000 (11:39 +1000)]
Merge remote-tracking branch 'sound-asoc/for-next'
Stephen Rothwell [Thu, 3 May 2012 01:37:16 +0000 (11:37 +1000)]
Merge remote-tracking branch 'sound/for-next'
Stephen Rothwell [Thu, 3 May 2012 01:35:48 +0000 (11:35 +1000)]
Merge remote-tracking branch 'crypto/master'
Stephen Rothwell [Thu, 3 May 2012 01:34:18 +0000 (11:34 +1000)]
Merge remote-tracking branch 'l2-mtd/master'
Stephen Rothwell [Thu, 3 May 2012 01:32:47 +0000 (11:32 +1000)]
Merge remote-tracking branch 'bluetooth/master'
Stephen Rothwell [Thu, 3 May 2012 01:31:01 +0000 (11:31 +1000)]
Merge remote-tracking branch 'wireless-next/master'
Conflicts:
net/wireless/nl80211.c
Stephen Rothwell [Thu, 3 May 2012 01:11:08 +0000 (11:11 +1000)]
Merge remote-tracking branch 'net-next/master'
Conflicts:
drivers/net/ethernet/emulex/benet/be.h
drivers/net/ethernet/intel/e1000e/param.c
Stephen Rothwell [Thu, 3 May 2012 01:09:37 +0000 (11:09 +1000)]
Merge remote-tracking branch 'slave-dma/next'
Stephen Rothwell [Thu, 3 May 2012 01:07:58 +0000 (11:07 +1000)]
Merge remote-tracking branch 'isci/all'
Conflicts:
drivers/scsi/libsas/sas_discover.c
include/scsi/libsas.h
Stephen Rothwell [Thu, 3 May 2012 01:06:24 +0000 (11:06 +1000)]
Merge remote-tracking branch 'target-merge/for-next-merge'
Stephen Rothwell [Thu, 3 May 2012 01:04:56 +0000 (11:04 +1000)]
Merge remote-tracking branch 'target-updates/for-next'
Stephen Rothwell [Thu, 3 May 2012 01:03:22 +0000 (11:03 +1000)]
Merge remote-tracking branch 'scsi/for-next'
Stephen Rothwell [Thu, 3 May 2012 01:01:50 +0000 (11:01 +1000)]
Merge remote-tracking branch 'dlm/next'
Stephen Rothwell [Thu, 3 May 2012 01:00:20 +0000 (11:00 +1000)]
Merge remote-tracking branch 'ieee1394/for-next'
Stephen Rothwell [Thu, 3 May 2012 00:58:31 +0000 (10:58 +1000)]
Merge remote-tracking branch 'infiniband/for-next'
Stephen Rothwell [Thu, 3 May 2012 00:58:25 +0000 (10:58 +1000)]
Merge remote-tracking branch 'kconfig/for-next'
Stephen Rothwell [Thu, 3 May 2012 00:58:21 +0000 (10:58 +1000)]
Merge remote-tracking branch 'kbuild/for-next'
Stephen Rothwell [Thu, 3 May 2012 00:56:36 +0000 (10:56 +1000)]
Merge remote-tracking branch 'v4l-dvb/master'
Conflicts:
drivers/usb/gadget/uvc_queue.c
Stephen Rothwell [Thu, 3 May 2012 00:55:11 +0000 (10:55 +1000)]
Merge remote-tracking branch 'hwmon-staging/hwmon-next'
Stephen Rothwell [Thu, 3 May 2012 00:55:09 +0000 (10:55 +1000)]
Merge branch 'quilt/jdelvare-hwmon'
Stephen Rothwell [Thu, 3 May 2012 00:52:56 +0000 (10:52 +1000)]
Merge remote-tracking branch 'i2c-embedded/i2c-embedded/for-next'
Stephen Rothwell [Thu, 3 May 2012 00:52:54 +0000 (10:52 +1000)]
Merge remote-tracking branch 'bjdooks-i2c/next-i2c'
Conflicts:
drivers/i2c/busses/i2c-omap.c
Stephen Rothwell [Thu, 3 May 2012 00:51:26 +0000 (10:51 +1000)]
Merge branch 'quilt/i2c'
Stephen Rothwell [Thu, 3 May 2012 00:47:17 +0000 (10:47 +1000)]
Merge remote-tracking branch 'hid/for-next'
Stephen Rothwell [Thu, 3 May 2012 00:44:09 +0000 (10:44 +1000)]
Merge remote-tracking branch 'pci/next'
Stephen Rothwell [Thu, 3 May 2012 00:42:33 +0000 (10:42 +1000)]
Merge remote-tracking branch 'vfs/for-next'
Stephen Rothwell [Thu, 3 May 2012 00:41:10 +0000 (10:41 +1000)]
Merge remote-tracking branch 'xfs/for-next'
Stephen Rothwell [Thu, 3 May 2012 00:39:48 +0000 (10:39 +1000)]
Merge remote-tracking branch 'ubifs/linux-next'
Stephen Rothwell [Thu, 3 May 2012 00:33:42 +0000 (10:33 +1000)]
Merge remote-tracking branch 'nfsd/nfsd-next'
Stephen Rothwell [Thu, 3 May 2012 00:32:14 +0000 (10:32 +1000)]
Merge remote-tracking branch 'nfs/linux-next'
Stephen Rothwell [Thu, 3 May 2012 00:30:53 +0000 (10:30 +1000)]
Merge remote-tracking branch 'logfs/master'
Stephen Rothwell [Thu, 3 May 2012 00:29:31 +0000 (10:29 +1000)]
Merge remote-tracking branch 'gfs2/master'
Stephen Rothwell [Thu, 3 May 2012 00:28:05 +0000 (10:28 +1000)]
Merge remote-tracking branch 'fuse/for-next'
Stephen Rothwell [Thu, 3 May 2012 00:26:36 +0000 (10:26 +1000)]
Merge remote-tracking branch 'ext4/dev'
Stephen Rothwell [Thu, 3 May 2012 00:25:13 +0000 (10:25 +1000)]
Merge remote-tracking branch 'ext3/for_next'
Stephen Rothwell [Thu, 3 May 2012 00:23:52 +0000 (10:23 +1000)]
Merge remote-tracking branch 'ecryptfs/next'
Conflicts:
fs/ecryptfs/ecryptfs_kernel.h
Stephen Rothwell [Thu, 3 May 2012 00:22:26 +0000 (10:22 +1000)]
Merge remote-tracking branch 'cifs/master'
Stephen Rothwell [Thu, 3 May 2012 00:21:02 +0000 (10:21 +1000)]
Merge remote-tracking branch 'ceph/master'
Stephen Rothwell [Thu, 3 May 2012 00:15:11 +0000 (10:15 +1000)]
Merge remote-tracking branch 'tile/master'
Stephen Rothwell [Thu, 3 May 2012 00:13:49 +0000 (10:13 +1000)]
Merge remote-tracking branch 'sparc-next/master'
Stephen Rothwell [Thu, 3 May 2012 00:12:24 +0000 (10:12 +1000)]
Merge remote-tracking branch 'sh/sh-latest'
Stephen Rothwell [Thu, 3 May 2012 00:11:03 +0000 (10:11 +1000)]
Merge remote-tracking branch 's390/features'
Stephen Rothwell [Thu, 3 May 2012 00:09:42 +0000 (10:09 +1000)]
Merge remote-tracking branch 'mpc5xxx/next'
Stephen Rothwell [Thu, 3 May 2012 00:08:20 +0000 (10:08 +1000)]
Merge remote-tracking branch '4xx/next'
Mai La [Thu, 8 Mar 2012 17:18:45 +0000 (17:18 +0000)]
powerpc/44x: Add PCI MSI node for Maui APM821xx SoC and Bluestone board in DTS
Signed-off-by: Mai La <mla@apm.com>
Signed-off-by: Josh Boyer <jwboyer@gmail.com>