]>
git.karo-electronics.de Git - karo-tx-linux.git/log
hank [Wed, 24 Aug 2011 23:46:14 +0000 (09:46 +1000)]
The parameter's origin type is long. On an i386 architecture, it can
easily be larger than 0x80000000, causing this function to convert it to a
sign-extended u64 type. Change the type to unsigned long so we get the
correct result.
[akpm@linux-foundation.org: build fix]
Signed-off-by: hank <pyu@redhat.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: John Stultz <john.stultz@linaro.org>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Randy Dunlap [Wed, 24 Aug 2011 23:46:13 +0000 (09:46 +1000)]
Fix kconfig unmet dependency warning. BACKLIGHT_CLASS_DEVICE depends on
BACKLIGHT_LCD_SUPPORT, so select the latter along with the former.
warning: (DRM_RADEON_KMS && DRM_I915 && STUB_POULSBO && FB_BACKLIGHT && PANEL_SHARP_LS037V7DW01 && PANEL_ACX565AKM && USB_APPLEDISPLAY && FB_OLPC_DCON && ASUS_LAPTOP && SONY_LAPTOP && THINKPAD_ACPI && EEEPC_LAPTOP && ACPI_ASUS && ACPI_CMPC && SAMSUNG_Q10) selects BACKLIGHT_CLASS_DEVICE which has unmet direct dependencies (HAS_IOMEM && BACKLIGHT_LCD_SUPPORT)
Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Cc: David Airlie <airlied@linux.ie>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Carsten Emde [Wed, 24 Aug 2011 23:46:13 +0000 (09:46 +1000)]
When no floppy is found the module code can be released while a timer
function is pending or about to be executed.
CPU0 CPU1
floppy_init()
timer_softirq()
spin_lock_irq(&base->lock);
detach_timer();
spin_unlock_irq(&base->lock);
-> Interrupt
del_timer();
return -ENODEV;
module_cleanup();
<- EOI
call_timer_fn();
OOPS
Use del_timer_sync() to prevent this.
Signed-off-by: Carsten Emde <C.Emde@osadl.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
KAMEZAWA Hiroyuki [Wed, 24 Aug 2011 23:46:12 +0000 (09:46 +1000)]
Because of x86-implement-strict-user-copy-checks-for-x86_64.patch
When compiling mm/mempolicy.c the following warning is shown.
In file included from arch/x86/include/asm/uaccess.h:572,
from include/linux/uaccess.h:5,
from include/linux/highmem.h:7,
from include/linux/pagemap.h:10,
from include/linux/mempolicy.h:70,
from mm/mempolicy.c:68:
In function `copy_from_user',
inlined from `compat_sys_get_mempolicy' at mm/mempolicy.c:1415:
arch/x86/include/asm/uaccess_64.h:64: warning: call to `copy_from_user_overflow' declared with attribute warning: copy_from_user() buffer size is not provably correct
LD mm/built-in.o
Fix this by passing correct buffer size value.
Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Stephen Rothwell [Fri, 9 Sep 2011 06:13:44 +0000 (16:13 +1000)]
Merge remote-tracking branch 'kvmtool/master'
Conflicts:
include/net/9p/9p.h
Stephen Rothwell [Fri, 9 Sep 2011 06:07:04 +0000 (16:07 +1000)]
Merge remote-tracking branch 'moduleh/module.h-split'
Conflicts:
arch/arm/mach-bcmring/mm.c
drivers/scsi/libfc/fc_lport.c
include/linux/dmaengine.h
Stephen Rothwell [Fri, 9 Sep 2011 06:05:39 +0000 (16:05 +1000)]
Merge remote-tracking branch 'writeback/next'
Stephen Rothwell [Fri, 9 Sep 2011 06:00:40 +0000 (16:00 +1000)]
Merge remote-tracking branch 'tmem/linux-next'
Stephen Rothwell [Fri, 9 Sep 2011 05:56:41 +0000 (15:56 +1000)]
Merge remote-tracking branch 'staging/staging-next'
Conflicts:
drivers/staging/rtl8192e/r8192E_core.c
drivers/staging/xgifb/XGI_main_26.c
Stephen Rothwell [Fri, 9 Sep 2011 05:33:09 +0000 (15:33 +1000)]
Merge remote-tracking branch 'usb/usb-next'
Stephen Rothwell [Fri, 9 Sep 2011 05:31:10 +0000 (15:31 +1000)]
Merge remote-tracking branch 'tty/tty-next'
Stephen Rothwell [Fri, 9 Sep 2011 05:24:46 +0000 (15:24 +1000)]
Merge remote-tracking branch 'driver-core/driver-core-next'
Conflicts:
arch/arm/plat-mxc/devices.c
Stephen Rothwell [Fri, 9 Sep 2011 05:23:19 +0000 (15:23 +1000)]
Merge remote-tracking branch 'regmap/for-next'
Stephen Rothwell [Fri, 9 Sep 2011 05:21:59 +0000 (15:21 +1000)]
Merge remote-tracking branch 'namespace/master'
Stephen Rothwell [Fri, 9 Sep 2011 05:20:38 +0000 (15:20 +1000)]
Merge remote-tracking branch 'sysctl/master'
Stephen Rothwell [Fri, 9 Sep 2011 05:19:10 +0000 (15:19 +1000)]
Merge remote-tracking branch 'percpu/for-next'
Stephen Rothwell [Fri, 9 Sep 2011 05:17:52 +0000 (15:17 +1000)]
Merge remote-tracking branch 'edac-amd/for-next'
Stephen Rothwell [Fri, 9 Sep 2011 05:16:26 +0000 (15:16 +1000)]
Merge remote-tracking branch 'xen-two/linux-next'
Stephen Rothwell [Fri, 9 Sep 2011 05:11:02 +0000 (15:11 +1000)]
Merge remote-tracking branch 'xen/upstream/xen'
Stephen Rothwell [Fri, 9 Sep 2011 05:05:07 +0000 (15:05 +1000)]
Merge remote-tracking branch 'ptrace/ptrace'
Stephen Rothwell [Fri, 9 Sep 2011 05:03:42 +0000 (15:03 +1000)]
Merge remote-tracking branch 'kvm/linux-next'
Stephen Rothwell [Fri, 9 Sep 2011 04:57:18 +0000 (14:57 +1000)]
Merge remote-tracking branch 'rcu/rcu/next'
Stephen Rothwell [Fri, 9 Sep 2011 04:51:31 +0000 (14:51 +1000)]
Revert "Merge branch 'x86/spinlocks' into auto-latest"
This reverts commit
6f8fa39c81f12d98540598db42a1eaff65bba0ce , reversing
changes made to
4977f9bf2d9b511d36199ab3451a2592d6bc3793 .
Stephen Rothwell [Fri, 9 Sep 2011 04:50:07 +0000 (14:50 +1000)]
Merge remote-tracking branch 'tip/auto-latest'
Conflicts:
arch/x86/mm/fault.c
Stephen Rothwell [Fri, 9 Sep 2011 04:49:48 +0000 (14:49 +1000)]
Merge remote-tracking branch 'devicetree/devicetree/next'
Conflicts:
drivers/of/base.c
Stephen Rothwell [Fri, 9 Sep 2011 04:48:27 +0000 (14:48 +1000)]
Merge remote-tracking branch 'i7300_edac/linux_next'
Conflicts:
arch/x86/kernel/cpu/mcheck/mce.c
Stephen Rothwell [Fri, 9 Sep 2011 04:46:42 +0000 (14:46 +1000)]
Merge remote-tracking branch 'i7core_edac/linux_next'
Stephen Rothwell [Fri, 9 Sep 2011 04:43:58 +0000 (14:43 +1000)]
Merge remote-tracking branch 'fsnotify/for-next'
Stephen Rothwell [Fri, 9 Sep 2011 04:42:38 +0000 (14:42 +1000)]
Merge remote-tracking branch 'apm/for-next'
Stephen Rothwell [Fri, 9 Sep 2011 04:36:18 +0000 (14:36 +1000)]
Merge remote-tracking branch 'pm/linux-next'
Conflicts:
arch/arm/mach-shmobile/board-ap4evb.c
arch/s390/include/asm/thread_info.h
drivers/mfd/twl4030-irq.c
Stephen Rothwell [Fri, 9 Sep 2011 04:34:54 +0000 (14:34 +1000)]
Merge remote-tracking branch 'trivial/for-next'
Stephen Rothwell [Fri, 9 Sep 2011 04:33:33 +0000 (14:33 +1000)]
Merge remote-tracking branch 'osd/linux-next'
Stephen Rothwell [Fri, 9 Sep 2011 04:32:13 +0000 (14:32 +1000)]
Merge remote-tracking branch 'iommu/next'
Stephen Rothwell [Fri, 9 Sep 2011 04:30:47 +0000 (14:30 +1000)]
Merge remote-tracking branch 'watchdog/master'
Stephen Rothwell [Fri, 9 Sep 2011 04:30:08 +0000 (14:30 +1000)]
Merge remote-tracking branch 'agp/agp-next'
Stephen Rothwell [Fri, 9 Sep 2011 04:27:34 +0000 (14:27 +1000)]
Merge remote-tracking branch 'security/next'
Conflicts:
fs/ocfs2/xattr.c
Stephen Rothwell [Fri, 9 Sep 2011 04:26:13 +0000 (14:26 +1000)]
Merge remote-tracking branch 'voltage/for-next'
Stephen Rothwell [Fri, 9 Sep 2011 04:24:48 +0000 (14:24 +1000)]
Merge remote-tracking branch 'viafb/viafb-next'
Stephen Rothwell [Fri, 9 Sep 2011 04:23:27 +0000 (14:23 +1000)]
Merge remote-tracking branch 'fbdev/fbdev-next'
Stephen Rothwell [Fri, 9 Sep 2011 04:22:04 +0000 (14:22 +1000)]
Merge remote-tracking branch 'mfd/for-next'
Conflicts:
drivers/rtc/rtc-twl.c
Stephen Rothwell [Fri, 9 Sep 2011 03:58:25 +0000 (13:58 +1000)]
Merge remote-tracking branch 'md/for-next'
Stephen Rothwell [Fri, 9 Sep 2011 03:52:08 +0000 (13:52 +1000)]
Merge remote-tracking branch 'slab/for-next'
Stephen Rothwell [Fri, 9 Sep 2011 03:51:58 +0000 (13:51 +1000)]
Merge remote-tracking branch 'kgdb/kgdb-next'
Stephen Rothwell [Fri, 9 Sep 2011 03:50:36 +0000 (13:50 +1000)]
Merge remote-tracking branch 'mmc/mmc-next'
Stephen Rothwell [Fri, 9 Sep 2011 03:50:29 +0000 (13:50 +1000)]
Merge remote-tracking branch 'leds/for-mm'
Conflicts:
drivers/leds/Kconfig
Stephen Rothwell [Fri, 9 Sep 2011 03:48:41 +0000 (13:48 +1000)]
Merge remote-tracking branch 'battery/master'
Stephen Rothwell [Fri, 9 Sep 2011 03:47:10 +0000 (13:47 +1000)]
Merge branch 'quilt/device-mapper'
Stephen Rothwell [Fri, 9 Sep 2011 03:41:17 +0000 (13:41 +1000)]
Merge remote-tracking branch 'block/for-next'
Stephen Rothwell [Fri, 9 Sep 2011 03:39:32 +0000 (13:39 +1000)]
Merge remote-tracking branch 'input/next'
Stephen Rothwell [Fri, 9 Sep 2011 03:38:14 +0000 (13:38 +1000)]
Merge branch 'quilt/rr'
Stephen Rothwell [Fri, 9 Sep 2011 03:36:57 +0000 (13:36 +1000)]
Merge remote-tracking branch 'cpufreq/next'
Stephen Rothwell [Fri, 9 Sep 2011 03:35:39 +0000 (13:35 +1000)]
Merge remote-tracking branch 'sound-asoc/for-next'
Stephen Rothwell [Fri, 9 Sep 2011 03:34:12 +0000 (13:34 +1000)]
Merge remote-tracking branch 'sound/for-next'
Stephen Rothwell [Fri, 9 Sep 2011 03:28:55 +0000 (13:28 +1000)]
Merge remote-tracking branch 'crypto/master'
Stephen Rothwell [Fri, 9 Sep 2011 03:27:37 +0000 (13:27 +1000)]
Merge remote-tracking branch 'l2-mtd/master'
Conflicts:
arch/arm/mach-at91/board-usb-a9260.c
drivers/mtd/maps/lantiq-flash.c
Stephen Rothwell [Fri, 9 Sep 2011 03:17:03 +0000 (13:17 +1000)]
Merge remote-tracking branch 'bluetooth/master'
Stephen Rothwell [Fri, 9 Sep 2011 03:15:30 +0000 (13:15 +1000)]
Merge remote-tracking branch 'wireless/master'
Conflicts:
drivers/net/wireless/iwlwifi/iwl-pci.c
Stephen Rothwell [Fri, 9 Sep 2011 03:09:59 +0000 (13:09 +1000)]
Merge remote-tracking branch 'net/master'
Conflicts:
MAINTAINERS
arch/powerpc/configs/40x/hcu4_defconfig
Stephen Rothwell [Fri, 9 Sep 2011 03:04:15 +0000 (13:04 +1000)]
Merge remote-tracking branch 'slave-dma/next'
Stephen Rothwell [Fri, 9 Sep 2011 03:02:09 +0000 (13:02 +1000)]
Merge remote-tracking branch 'scsi/master'
Stephen Rothwell [Fri, 9 Sep 2011 03:02:05 +0000 (13:02 +1000)]
Merge remote-tracking branch 'ibft/master'
Stephen Rothwell [Fri, 9 Sep 2011 03:01:59 +0000 (13:01 +1000)]
Merge remote-tracking branch 'swiotlb/master'
Stephen Rothwell [Fri, 9 Sep 2011 03:00:34 +0000 (13:00 +1000)]
Merge remote-tracking branch 'acpi/test'
Stephen Rothwell [Fri, 9 Sep 2011 02:59:16 +0000 (12:59 +1000)]
Merge remote-tracking branch 'libata/NEXT'
Stephen Rothwell [Fri, 9 Sep 2011 02:59:11 +0000 (12:59 +1000)]
Merge remote-tracking branch 'kconfig/for-next'
Stephen Rothwell [Fri, 9 Sep 2011 02:57:47 +0000 (12:57 +1000)]
Merge remote-tracking branch 'kbuild/for-next'
Stephen Rothwell [Fri, 9 Sep 2011 02:56:27 +0000 (12:56 +1000)]
Merge remote-tracking branch 'docs/docs-move'
Stephen Rothwell [Fri, 9 Sep 2011 02:55:16 +0000 (12:55 +1000)]
Merge branch 'quilt/kernel-doc'
Stephen Rothwell [Fri, 9 Sep 2011 02:54:04 +0000 (12:54 +1000)]
Merge remote-tracking branch 'hwmon-staging/hwmon-next'
Stephen Rothwell [Fri, 9 Sep 2011 02:52:54 +0000 (12:52 +1000)]
Merge branch 'quilt/jdelvare-hwmon'
Stephen Rothwell [Fri, 9 Sep 2011 02:51:34 +0000 (12:51 +1000)]
Merge remote-tracking branch 'bjdooks-i2c/next-i2c'
Stephen Rothwell [Fri, 9 Sep 2011 02:50:23 +0000 (12:50 +1000)]
Merge branch 'quilt/i2c'
Stephen Rothwell [Fri, 9 Sep 2011 02:49:05 +0000 (12:49 +1000)]
Merge remote-tracking branch 'hid/for-next'
Conflicts:
drivers/hid/hid-core.c
drivers/hid/hid-ids.h
Stephen Rothwell [Fri, 9 Sep 2011 02:47:37 +0000 (12:47 +1000)]
Merge remote-tracking branch 'xfs/master'
Conflicts:
fs/xfs/xfs_super.c
Stephen Rothwell [Fri, 9 Sep 2011 02:46:23 +0000 (12:46 +1000)]
Merge remote-tracking branch 'v9fs/for-next'
Conflicts:
net/9p/trans_virtio.c
Stephen Rothwell [Fri, 9 Sep 2011 02:33:32 +0000 (12:33 +1000)]
Merge remote-tracking branch 'ocfs2/linux-next'
Stephen Rothwell [Fri, 9 Sep 2011 02:27:40 +0000 (12:27 +1000)]
Merge remote-tracking branch 'nfsd/nfsd-next'
Stephen Rothwell [Fri, 9 Sep 2011 02:26:27 +0000 (12:26 +1000)]
Merge remote-tracking branch 'nfs/linux-next'
Stephen Rothwell [Fri, 9 Sep 2011 02:25:15 +0000 (12:25 +1000)]
Merge remote-tracking branch 'logfs/master'
Stephen Rothwell [Fri, 9 Sep 2011 02:24:01 +0000 (12:24 +1000)]
Merge remote-tracking branch 'gfs2/master'
Stephen Rothwell [Fri, 9 Sep 2011 02:22:43 +0000 (12:22 +1000)]
Merge remote-tracking branch 'ext4/dev'
Stephen Rothwell [Fri, 9 Sep 2011 02:21:28 +0000 (12:21 +1000)]
Merge remote-tracking branch 'cifs/master'
Stephen Rothwell [Fri, 9 Sep 2011 02:20:14 +0000 (12:20 +1000)]
Merge remote-tracking branch 'ceph/for-next'
Stephen Rothwell [Fri, 9 Sep 2011 02:19:03 +0000 (12:19 +1000)]
Merge remote-tracking branch 'xtensa/master'
Stephen Rothwell [Fri, 9 Sep 2011 02:17:51 +0000 (12:17 +1000)]
Merge remote-tracking branch 'unicore32/unicore32'
Stephen Rothwell [Fri, 9 Sep 2011 02:16:40 +0000 (12:16 +1000)]
Merge remote-tracking branch 'tile/master'
Stephen Rothwell [Fri, 9 Sep 2011 02:15:27 +0000 (12:15 +1000)]
Merge remote-tracking branch 'rmobile/rmobile-latest'
Stephen Rothwell [Fri, 9 Sep 2011 02:14:15 +0000 (12:14 +1000)]
Merge remote-tracking branch 'sh/sh-latest'
Stephen Rothwell [Fri, 9 Sep 2011 02:13:03 +0000 (12:13 +1000)]
Merge remote-tracking branch 's390/features'
Stephen Rothwell [Fri, 9 Sep 2011 02:11:46 +0000 (12:11 +1000)]
Merge remote-tracking branch '52xx-and-virtex/powerpc/next'
Stephen Rothwell [Fri, 9 Sep 2011 02:10:34 +0000 (12:10 +1000)]
Merge remote-tracking branch 'powerpc/next'
Stephen Rothwell [Fri, 9 Sep 2011 02:09:23 +0000 (12:09 +1000)]
Merge remote-tracking branch 'openrisc/for-upstream'
Stephen Rothwell [Fri, 9 Sep 2011 02:08:05 +0000 (12:08 +1000)]
Merge remote-tracking branch 'mips/mips-for-linux-next'
Stephen Rothwell [Fri, 9 Sep 2011 02:06:47 +0000 (12:06 +1000)]
Merge remote-tracking branch 'm68knommu/for-next'
Stephen Rothwell [Fri, 9 Sep 2011 02:05:34 +0000 (12:05 +1000)]
Merge remote-tracking branch 'm68k/for-next'
Stephen Rothwell [Fri, 9 Sep 2011 02:04:22 +0000 (12:04 +1000)]
Merge remote-tracking branch 'ia64/test'
Stephen Rothwell [Fri, 9 Sep 2011 02:03:05 +0000 (12:03 +1000)]
Merge remote-tracking branch 'cris/for-next'
Stephen Rothwell [Fri, 9 Sep 2011 02:01:53 +0000 (12:01 +1000)]
Merge remote-tracking branch 'blackfin/for-linus'
Stephen Rothwell [Fri, 9 Sep 2011 02:00:41 +0000 (12:00 +1000)]
Merge remote-tracking branch 'ux500-core/ux500-core'
Stephen Rothwell [Fri, 9 Sep 2011 01:59:27 +0000 (11:59 +1000)]
Merge remote-tracking branch 's5p/for-next'
Conflicts:
arch/arm/mach-exynos4/mach-smdkc210.c