[ 119/153] s390/timer: avoid overflow when programming clock comparator

2013-03-03 Thread Ben Hutchings
sted-by: Christian Borntraeger Signed-off-by: Heiko Carstens Signed-off-by: Ben Hutchings --- arch/s390/kernel/time.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/s390/kernel/time.c b/arch/s390/kernel/time.c index a5f4f5a..0aa98db 100644 --- a/arch/s390/kernel/time.c +++ b/arc

[ 114/153] idr: fix top layer handling

2013-03-03 Thread Ben Hutchings
of rewrite. It's fragile like hell, Signed-off-by: Tejun Heo Cc: Rusty Russell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds [bwh: Backported to 3.2: - Adjust context - s/MAX_IDR_LEVEL/MAX_LEVEL/; s/MAX_IDR_SHIFT/MAX_ID_SHIFT/ - Drop change to idr_alloc()] Signed-off-by:

[ 121/153] xen-pciback: rate limit error messages from xen_pcibk_enable_msi{,x}()

2013-03-03 Thread Ben Hutchings
is CVE-2013-0231 / XSA-43. Also make the two messages uniform in both their wording and severity. Signed-off-by: Jan Beulich Acked-by: Ian Campbell Reviewed-by: Konrad Rzeszutek Wilk [bwh: Backported to 3.2: add #include , needed by printk_ratelimited()] Signed-off-by: Ben Hutchings

[ 120/153] unbreak automounter support on 64-bit kernel with 32-bit userspace (v2)

2013-03-03 Thread Ben Hutchings
Marinas CC: James Bottomley CC: Rolf Eike Beer [bwh: Backported to 3.2: adjust filename] Signed-off-by: Ben Hutchings --- --- a/include/linux/auto_fs.h +++ b/include/linux/auto_fs.h @@ -31,25 +31,16 @@ #define AUTOFS_MIN_PROTO_VERSION AUTOFS_PROTO_VERSION /* - * Architectures where both 32

[ 116/153] nbd: fsync and kill block device on shutdown

2013-03-03 Thread Ben Hutchings
export of kill_bdev() from commit ff01bb483265 ('fs: move code out of buffer.c')] Signed-off-by: Ben Hutchings --- --- a/drivers/block/nbd.c +++ b/drivers/block/nbd.c @@ -584,12 +584,20 @@ static int __nbd_ioctl(struct block_devi struct request sreq; dev

[ 123/153] xen-netback: correctly return errors from netbk_count_requests()

2013-03-03 Thread Ben Hutchings
-by: Christopher S. Aker Acked-by: Ian Campbell Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings --- drivers/net/xen-netback/netback.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/net/xen-netback/netback.c b/drivers/net/xen-netback/netback.c in

[ 118/153] drm/radeon/evergreen+: wait for the MC to settle after MC blackout

2013-03-03 Thread Ben Hutchings
://bugs.freedesktop.org/show_bug.cgi?id=56139 https://bugs.freedesktop.org/show_bug.cgi?id=57567 Signed-off-by: Alex Deucher Signed-off-by: Ben Hutchings --- drivers/gpu/drm/radeon/evergreen.c |2 ++ 1 file changed, 2 insertions(+) --- a/drivers/gpu/drm/radeon/evergreen.c +++ b/drivers/gpu/drm

[ 130/153] ata_piix: IDE-mode SATA patch for Intel Lynx Point DeviceIDs

2013-03-03 Thread Ben Hutchings
: Jeff Garzik Signed-off-by: Ben Hutchings --- drivers/ata/ata_piix.c |8 1 file changed, 8 insertions(+) --- a/drivers/ata/ata_piix.c +++ b/drivers/ata/ata_piix.c @@ -321,6 +321,14 @@ static const struct pci_device_id piix_p { 0x8086, 0x1e08, PCI_ANY_ID, PCI_ANY_ID, 0, 0

[ 125/153] ipv4: fix a bug in ping_err().

2013-03-03 Thread Ben Hutchings
id S. Miller Signed-off-by: Ben Hutchings --- net/ipv4/ping.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/ipv4/ping.c b/net/ipv4/ping.c index 43d4c3b..294a380 100644 --- a/net/ipv4/ping.c +++ b/net/ipv4/ping.c @@ -321,8 +321,8 @@ void ping_err(struct sk

[ 134/153] ata_piix: Add Device IDs for Intel Wellsburg PCH

2013-03-03 Thread Ben Hutchings
: Jeff Garzik Signed-off-by: Ben Hutchings --- drivers/ata/ata_piix.c |9 + 1 file changed, 9 insertions(+) --- a/drivers/ata/ata_piix.c +++ b/drivers/ata/ata_piix.c @@ -347,6 +347,15 @@ static const struct pci_device_id piix_p { 0x8086, 0x1f30, PCI_ANY_ID, PCI_ANY_ID, 0, 0

[ 145/153] usermodehelper: implement UMH_KILLABLE

2013-03-03 Thread Ben Hutchings
Torvalds Signed-off-by: Ben Hutchings --- include/linux/kmod.h |2 ++ kernel/kmod.c| 27 +-- 2 files changed, 27 insertions(+), 2 deletions(-) --- a/include/linux/kmod.h +++ b/include/linux/kmod.h @@ -54,6 +54,8 @@ enum umh_wait { UMH_WAIT_PROC =

[ 128/153] staging: comedi: ni_labpc: set up command4 register *after* command3

2013-03-03 Thread Ben Hutchings
register after the command3 register (as in `labpc_ai_rinsn()`) to avoid the problem. Thanks to Tuomas for suggesting the fix. Signed-off-by: Ian Abbott Signed-off-by: Ben Hutchings --- drivers/staging/comedi/drivers/ni_labpc.c | 31 --- 1 file changed, 16 insertions

[ 127/153] staging: comedi: ni_labpc: correct differential channel sequence for AI commands

2013-03-03 Thread Ben Hutchings
number needs to be doubled in differential mode is incorrect in `labpc_ai_cmd()`. This patch corrects the test. Thanks to Tuomas for suggesting the fix. Signed-off-by: Ian Abbott Signed-off-by: Ben Hutchings --- drivers/staging/comedi/drivers/ni_labpc.c | 4 +++- 1 file changed, 3 insertions

[ 098/153] mm: mmu_notifier: make the mmu_notifier srcu static

2013-03-03 Thread Ben Hutchings
: Andrea Arcangeli Cc: Xiao Guangrong Cc: Sagi Grimberg Cc: Peter Zijlstra Cc: Haggai Eran Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds Signed-off-by: Ben Hutchings --- mm/mmu_notifier.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- a/mm/mmu_notifier.c +++ b

[ 148/153] kmod: make __request_module() killable

2013-03-03 Thread Ben Hutchings
a call_usermodehelper_freeinfo()->cleanup. Reported-by: Tetsuo Handa Signed-off-by: Oleg Nesterov Cc: Rusty Russell Cc: Tejun Heo Cc: David Rientjes Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds Signed-off-by: Ben Hutchings --- kernel/kmod.c | 26

[ 135/153] [hid] usb hid quirks for Masterkit MA901 usb radio

2013-03-03 Thread Ben Hutchings
river. Signed-off-by: Alexey Klimov Acked-by: Hans Verkuil Acked-by: Jiri Kosina Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Ben Hutchings --- drivers/hid/hid-core.c |1 + drivers/hid/hid-ids.h |3 +++ 2 files changed, 4 insertions(+) --- a/drivers/hid/hid-core.c +++ b/driver

[ 146/153] usermodehelper: ____call_usermodehelper() doesnt need do_exit()

2013-03-03 Thread Ben Hutchings
Nesterov Cc: Tetsuo Handa Cc: Rusty Russell Cc: Tejun Heo Cc: David Rientjes Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds Signed-off-by: Ben Hutchings --- kernel/kmod.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/kernel/kmod.c +++ b/kernel/kmod.c @@ -186,7

[ 140/153] usb: Add quirk detection based on interface information

2013-03-03 Thread Ben Hutchings
, explictly listing all devices in the class make the quirks table unnecessarily large. Fix this by allowing matching devices based on interface information. Signed-off-by: Laurent Pinchart Acked-by: Alan Stern Signed-off-by: Greg Kroah-Hartman Signed-off-by: Ben Hutchings --- drivers/usb/core/driver.c

[ 152/153] ext4: fix hole punch failure when depth is greater than 0

2013-03-03 Thread Ben Hutchings
he particular extent from which removing blocks is actually required and continue backward until done. Signed-off-by: Ashish Sangwan Signed-off-by: Namjae Jeon Reviewed-by: Lukas Czerner Signed-off-by: Greg Kroah-Hartman Signed-off-by: Ben Hutchings --- fs

[ 141/153] usb: Add USB_QUIRK_RESET_RESUME for all Logitech UVC webcams

2013-03-03 Thread Ben Hutchings
vices) require the RESET_RESUME quirk. Instead of listing each and every model, match the devices based on the UVC interface information. Signed-off-by: Laurent Pinchart Acked-by: Alan Stern Signed-off-by: Greg Kroah-Hartman [bwh: Adjust context to apply after 3.2.38] Signed-off-by: Ben Hutc

[ 150/153] fs: cachefiles: add support for large files in filesystem caching

2013-03-03 Thread Ben Hutchings
Lecher Signed-off-by: Suresh Jayaraman Tested-by: Suresh Jayaraman Acked-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds [bwh: Backported to 3.2: - Adjust context - dentry_open() takes dentry and vfsmount pointers, not a path pointer] Signed-off-by: Ben

[ 018/153] ALSA: usb-audio: fix Roland A-PRO support

2013-03-03 Thread Ben Hutchings
driver from attaching to the device. Signed-off-by: Clemens Ladisch Signed-off-by: Ben Hutchings --- sound/usb/quirks-table.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/sound/usb/quirks-table.h +++ b/sound/usb/quirks-table.h @@ -1624,7 +1624,7 @@ YAMAHA_DEVICE(0x7010, "

[ 009/153] ext4: return ENOMEM if sb_getblk() fails

2013-03-03 Thread Ben Hutchings
e than EIO. In addition, make sure that the file system is marked as being inconsistent if sb_getblk() fails. Signed-off-by: "Theodore Ts'o" [bwh: Backported to 3.2: - Adjust context - Drop change to inline.c - Call to ext4_ext_check() from ext4_ext_find_extent() is condit

[ 005/153] [media] v4l: Reset subdev v4l2_dev field to NULL if registration fails

2013-03-03 Thread Ben Hutchings
Nawrocki Signed-off-by: Mauro Carvalho Chehab [bwh: Backported to 3.2: adjust context, filename] Signed-off-by: Ben Hutchings --- --- a/drivers/media/video/v4l2-device.c +++ b/drivers/media/video/v4l2-device.c @@ -159,31 +159,21 @@ int v4l2_device_register_subdev(struct v sd->v4l2_

[ 001/153] sunvdc: Fix off-by-one in generic_request().

2013-03-03 Thread Ben Hutchings
necessary. Reported-by: Mark Kettenis Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings --- drivers/block/sunvdc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/block/sunvdc.c +++ b/drivers/block/sunvdc.c @@ -461,7 +461,7 @@ static int generic_request(struct vdc_p

[ 003/153] KVM: s390: Handle hosts not supporting s390-virtio.

2013-03-03 Thread Ben Hutchings
-by: Gleb Natapov Signed-off-by: Ben Hutchings --- drivers/s390/kvm/kvm_virtio.c | 38 ++ 1 file changed, 30 insertions(+), 8 deletions(-) --- a/drivers/s390/kvm/kvm_virtio.c +++ b/drivers/s390/kvm/kvm_virtio.c @@ -414,6 +414,26 @@ static void

[ 139/153] 8250: use correct value for PORT_BRCM_TRUMANAGE

2013-03-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings When backporting commit ebebd49a8eab ('8250/16?50: Add support for Broadcom TruManage redirected serial port') I took the next available port type number for PORT_BRCM

[ 012/153] ARM: PXA3xx: program the CSMSADRCFG register

2013-03-03 Thread Ben Hutchings
-off-by: Haojian Zhuang Signed-off-by: Ben Hutchings --- arch/arm/mach-pxa/include/mach/smemc.h |1 + arch/arm/mach-pxa/smemc.c | 15 ++- 2 files changed, 15 insertions(+), 1 deletion(-) --- a/arch/arm/mach-pxa/include/mach/smemc.h +++ b/arch/arm/mach-pxa/include/mach

[ 016/153] s390/kvm: Fix store status for ACRS/FPRS

2013-03-03 Thread Ben Hutchings
Borntraeger Signed-off-by: Gleb Natapov [bwh: Backported to 3.2 as done in 3.0 by Jiri Slaby] Signed-off-by: Ben Hutchings Cc: Jiri Slaby --- arch/s390/kvm/kvm-s390.c |8 1 file changed, 8 insertions(+) --- a/arch/s390/kvm/kvm-s390.c +++ b/arch/s390/kvm/kvm-s390.c @@ -597,6 +597,14

[ 019/153] x86-32, mm: Rip out x86_32 NUMA remapping code

2013-03-03 Thread Ben Hutchings
ned-off-by: Ben Hutchings --- --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -1150,7 +1150,7 @@ config DIRECT_GBPAGES config NUMA bool "Numa Memory Allocation and Scheduler Support" depends on SMP - depends on X86_64 || (X86_32 && HIGHMEM64G && (X8

[ 149/153] exec: use -ELOOP for max recursion depth

2013-03-03 Thread Ben Hutchings
the depth. Signed-off-by: Kees Cook Cc: halfdog Cc: P J P Cc: Alexander Viro Signed-off-by: Andrew Morton [bwh: Backported to 3.2: adjust context] Signed-off-by: Ben Hutchings --- fs/binfmt_em86.c|1 - fs/binfmt_misc.c|6 -- fs/binfmt_script.c

[ 151/153] ext4: rewrite punch hole to use ext4_ext_remove_space()

2013-03-03 Thread Ben Hutchings
_DATA_VALID{1,2} along with the other extent splitting flags] Signed-off-by: Ben Hutchings --- fs/ext4/extents.c | 170 -- 1 file changed, 88 insertions(+), 82 deletions(-) --- a/fs/ext4/extents.c +++ b/fs/ext4/extents.c @@ -45,6 +45,17 @@

[ 007/153] dca: check against empty dca_domains list before unregister provider

2013-03-03 Thread Ben Hutchings
emptied. Dca should be prevented from trying to unregister any provider if dca_domain list is found empty. Reported-by: Jiang Liu Tested-by: Gaohuai Han Signed-off-by: Maciej Sosnowski Signed-off-by: Dan Williams Signed-off-by: Ben Hutchings --- drivers/dca/dca-core.c |5 + 1 file

[ 142/153] speakup: lower default software speech rate

2013-03-03 Thread Ben Hutchings
Thibault Signed-off-by: Greg Kroah-Hartman Signed-off-by: Ben Hutchings --- drivers/staging/speakup/speakup_soft.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/speakup/speakup_soft.c b/drivers/staging/speakup/speakup_soft.c index 42cdafe..2a67610 100644

[ 143/153] asus-laptop: Do not call HWRS on init

2013-03-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings commit cb7da022450cdaaebd33078b6b32fb7dd2aaf6db upstream. Since commit 8871e99f89b7 ('asus-laptop: HRWS/HWRS typo'), module initialisation is very slow on the Asus U

[ 136/153] [media] Avoid sysfs oops when an rc_devs raw device is absent

2013-03-03 Thread Ben Hutchings
recommended by Mauro Carvalho Chehab (-ENODEV instead of -EINVAL, and a signed-off-by). Signed-off-by: Douglas Bagnall Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Ben Hutchings --- drivers/media/rc/rc-main.c |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) --- a/drivers/media/rc/rc

[ 138/153] vhost: fix length for cross region descriptor

2013-03-03 Thread Ben Hutchings
ted so far, instead it includes the full descriptor length. Signed-off-by: Michael S. Tsirkin Acked-by: Jason Wang Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings --- drivers/vhost/vhost.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/vhost/vhost.c +++

[ 014/153] quota: autoload the quota_v2 module for QFMT_VFS_V1 quota format

2013-03-03 Thread Ben Hutchings
rror message if the quota code is built as a module and the quota_v2 module has not been loaded. Signed-off-by: "Theodore Ts'o" Reviewed-by: Carlos Maiolino Acked-by: Jan Kara Signed-off-by: Ben Hutchings --- include/linux/quota.h |1 + 1 file changed, 1 insertion(+) ---

[ 017/153] staging: comedi: disallow COMEDI_DEVCONFIG on non-board minors

2013-03-03 Thread Ben Hutchings
ate use for the COMEDI_DEVCONFIG ioctl on a special subdevice minor device node, disallow it and return -ENOTTY. Signed-off-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman Signed-off-by: Ben Hutchings --- drivers/staging/comedi/comedi_fops.c |5 + 1 file changed, 5 insertions(+)

[ 006/153] [media] omap_vout: find_vma() needs ->mmap_sem held

2013-03-03 Thread Ben Hutchings
ne by initialization, so I certainly might've missed something... Signed-off-by: Al Viro Cc: Sakari Ailus Cc: Laurent Pinchart Cc: Archit Taneja Cc: Prabhakar Lad Signed-off-by: Mauro Carvalho Chehab [bwh: Backported to 3.2: adjust filename] Signed-off-by: Ben Hutchings --- --- a/drive

[ 002/153] genirq: Avoid deadlock in spurious handling

2013-03-03 Thread Ben Hutchings
at it. Reported-and-tested-by: "Wang, Warner" Tested-by: Edward Donovan Cc: "Wang, Song-Bo (Stoney)" Signed-off-by: Thomas Gleixner Signed-off-by: Ben Hutchings --- kernel/irq/spurious.c |7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) --- a/kernel/irq/

[ 011/153] [PARISC] Purge existing TLB entries in set_pte_at and ptep_set_wrprotect

2013-03-03 Thread Ben Hutchings
nglin Signed-off-by: James Bottomley Signed-off-by: Ben Hutchings --- arch/parisc/include/asm/pgtable.h | 13 ++--- arch/parisc/kernel/cache.c| 18 ++ 2 files changed, 28 insertions(+), 3 deletions(-) --- a/arch/parisc/include/asm/pgtable.h +++ b/arch/parisc/in

[ 010/153] pcmcia/vrc4171: Add missing spinlock init

2013-03-03 Thread Ben Hutchings
ommit 7a410e8d4d97457c8c381e2de9cdc7bd3306badc. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman Signed-off-by: Ben Hutchings --- drivers/pcmcia/vrc4171_card.c |1 + 1 file changed, 1 insertion(+) --- a/drivers/pcmcia/vrc4171_card.c +++ b/drivers/pcmcia/vrc4171_card.c @@ -246,6 +246,7 @@ static int pccard

[ 013/153] USB: option: add and update Alcatel modems

2013-03-03 Thread Ben Hutchings
p;MI_05 Updating the blacklist info for the X060S_X200 and X220_X500D, reserving interfaces for a wwan driver, based on wwan VID_1BBB&PID_0000&MI_04 wwan VID_1BBB&PID_0017&MI_06 Signed-off-by: Bjørn Mork Signed-off-by: Greg Kroah-Hartman Signed-off-by: Ben Hutchings ---

[ 004/153] workqueue: consider work function when searching for busy work items

2013-03-03 Thread Ben Hutchings
Signed-off-by: Tejun Heo Reported-by: Andrey Isakov Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=51701 [bwh: Backported to 3.2: - Adjust context - Incorporate earlier logging cleanup in process_one_work() from 044c782ce3a9 ('workqueue: fix checkpatch issues')] Signed-o

Re: [ 052/153] idr: idr_for_each_entry() macro

2013-03-03 Thread Ben Hutchings
On Mon, 2013-03-04 at 03:37 +, Ben Hutchings wrote: > 3.2-stable review patch. If anyone has any objections, please let me know. > > -- > > From: Philipp Reisner > > commit 9749f30f1a387070e6e8351f35aeb829eacc3ab6 upstream. > > Inspired by the

Re: [ 093/153] ALSA: hda - hdmi: Make jacks phantom, if theyre not detectable

2013-03-03 Thread Ben Hutchings
On Mon, 2013-03-04 at 03:38 +, Ben Hutchings wrote: > 3.2-stable review patch. If anyone has any objections, please let me know. > > -- > > From: David Henningsson > > commit 30efd8debd1ef30be342d374f01e993509f5b76b upstream. > > Just as for

Re: [ 093/153] ALSA: hda - hdmi: Make jacks phantom, if theyre not detectable

2013-03-04 Thread Ben Hutchings
On Mon, 2013-03-04 at 08:46 +0100, David Henningsson wrote: > On 03/04/2013 06:13 AM, Ben Hutchings wrote: > > On Mon, 2013-03-04 at 03:38 +0000, Ben Hutchings wrote: > >> 3.2-stable review patch. If anyone has any objections, please let me know. > >> > >>

Re: [ 73/77] [hid] usb hid quirks for Masterkit MA901 usb radio

2013-03-04 Thread Ben Hutchings
I think that if the HID driver doesn't do anything useful with this device then this is still worth including in stable - it makes it possible to use an out-of-tree build of radio-ma901 with older kernel versions. Ben. -- Ben Hutchings Always try to do things in chronological order; it's less confusing that way. signature.asc Description: This is a digitally signed message part

Re: [PATCH] USB: storage: fix Huawei mode switching regression

2013-03-04 Thread Ben Hutchings
ystems. The long term plan is to remove > the list, not to add to it. Ref: > http://permalink.gmane.org/gmane.linux.usb.general/28543 [...] Can you add a comment to this effect? Ben. -- Ben Hutchings Always try to do things in chronological order; it's less confusing that way. si

Re: [ 052/153] idr: idr_for_each_entry() macro

2013-03-04 Thread Ben Hutchings
On Mon, 2013-03-04 at 22:05 +0100, Philipp Reisner wrote: > Sure, here it is: > -- > > From: Philipp Reisner > > commit 9749f30f1a387070e6e8351f35aeb829eacc3ab6 upstream. > > Inspired by the list_for_each_entry() macro > > Signed-off-by: Ben Hutchings &g

Re: [ 000/153] 3.2.40-stable review

2013-03-05 Thread Ben Hutchings
On Tue, 2013-03-05 at 23:07 +0900, Satoru Takeuchi wrote: > At Mon, 04 Mar 2013 03:37:07 +, > Ben Hutchings wrote: > > > > This is the start of the stable review cycle for the 3.2.40 release. > > There are 153 patches in this series, which will be posted as respon

Linux 3.2.40

2013-03-06 Thread Ben Hutchings
900: fix legacy assembly syntax Ashish Sangwan (1): ext4: fix hole punch failure when depth is greater than 0 Ben Hutchings (3): 8250: use correct value for PORT_BRCM_TRUMANAGE asus-laptop: Do not call HWRS on init Linux 3.2.40 Bjorn Helgaas (1): Driver cor

Re: + dmi_scan-fix-missing-check-for-_dmi_-signature-in-smbios_present.patch added to -mm tree

2013-03-06 Thread Ben Hutchings
offset = 16; > > + return memcmp(q + 16, "_DMI_", 5) || dmi_present(p + 16); > > } > > I remember H.J found a typo in this patch and the following patch. > >The patch has a typo: > > > >-offset = 16; > >+return memcmp(q

Re: [ 008/153] powerpc/eeh: Fix crash when adding a device in a slot with DDW

2013-03-07 Thread Ben Hutchings
d to add the #include. Ben. > Mikey > > On Mon, Mar 4, 2013 at 2:37 PM, Ben Hutchings wrote: > > 3.2-stable review patch. If anyone has any objections, please let me know. > > > > -- > > > > From: Thadeu Lima de Souza Cascardo > >

Re: Patch "dmi_scan: fix missing check for _DMI_ signature in smbios_present()" has been added to the 3.8-stable tree

2013-03-11 Thread Ben Hutchings
mware/dmi_scan.c: fetch dmi version from SMBIOS if it exists 3.4: b88532f drivers/firmware/dmi_scan.c: fetch dmi version from SMBIOS if it exists Ben. > From a40e7cf8f06b4e322ba902e4e9f6a6b0c2daa907 Mon Sep 17 00:00:00 2001 > From: Ben Hutchings > Date: Fri, 8 Mar 2013 12:43:32 -0800 &g

Re: [ 008/153] powerpc/eeh: Fix crash when adding a device in a slot with DDW

2013-03-13 Thread Ben Hutchings
On Wed, 2013-03-13 at 10:17 +1100, Michael Neuling wrote: > Thadeu Lima de Souza Cascardo wrote: > > > On Fri, Mar 08, 2013 at 03:29:55AM +, Ben Hutchings wrote: > > > On Fri, 2013-03-08 at 13:51 +1100, Michael Neuling wrote: > > > > This patch is breakin

[PATCH 3.0.y] md: protect against crash upon fsync on ro array

2013-03-13 Thread Ben Hutchings
stoph Hellwig we return success upon a flush request but we return -EROFS for other writes. We detect flush requests by checking if the bio has zero sectors. This patch is suitable to any -stable kernel to which it applies. Cc: Christoph Hellwig Cc: Ben Hutchings Cc: NeilBrown Signed-o

Re: [PATCH 3.0.y] md: protect against crash upon fsync on ro array

2013-03-13 Thread Ben Hutchings
Actually, Sebastian already sent an equivalent patch in <510ac77a.2000...@profitbricks.com>. And he did test it. Here's his patch with the upstream reference added. Ben. -- Ben Hutchings Humans are not rational beings; they are rationalising beings. From: Sebastian Riemer Date:

Re: [ 029/100] NFSv4.1: Hold reference to layout hdr in layoutget

2013-03-13 Thread Ben Hutchings
t_layout_hdr(). This will lead to a reference imbalance. Ben. > task = rpc_run_task(&task_setup_data); > if (IS_ERR(task)) > return ERR_CAST(task); > > > -- > To unsubscribe from this list: send the line "unsubscribe stable" in > th

Re: [ 031/100] iwlwifi: always copy first 16 bytes of commands

2013-03-13 Thread Ben Hutchings
IWL_HCMD_DFL_DUP))) > + copy = cmd->len[i]; > + > + if (copy) { > + memcpy((u8 *)out_cmd + cmd_pos, cmd->data[i], copy); > + cmd_pos += copy; > + copy_size += copy; > +

Re: [ 031/100] iwlwifi: always copy first 16 bytes of commands

2013-03-13 Thread Ben Hutchings
On Thu, 2013-03-14 at 01:50 +, Ben Hutchings wrote: > On Tue, 2013-03-12 at 15:31 -0700, Greg Kroah-Hartman wrote: > > 3.8-stable review patch. If anyone has any objections, please let me know. > > > > -- > > > > Fro

Re: [ 031/100] iwlwifi: always copy first 16 bytes of commands

2013-03-14 Thread Ben Hutchings
loop. This is still clearly a mistake > in the patch though. > > I will fix this upstream, I guess you'll want to wait for that for > stable? I'll Cc:stable that patch as well. I agree with your analysis that this is actually harmless, so no objections to including the patch in stable as it is. Ben. -- Ben Hutchings Humans are not rational beings; they are rationalising beings. signature.asc Description: This is a digitally signed message part

Re: [ 04/21] target/pscsi: Fix page increment

2013-03-15 Thread Ben Hutchings
NULL; > } > > - page++; > len -= bytes; > data_len -= bytes; > off = 0; So in case a fragment crosses a page boundary, we wrap around to the beginning of the same page?

Re: [ 11/21] hwmon: (sht15) Check return value of regulator_enable()

2013-03-15 Thread Ben Hutchings
t;* Setup a notifier block to update this if another device >* causes the voltage to change Since this has now been released, I think you need this follow-up fix in 3.0.y and 3.4.y: --- From: Ben Hutchings Subject: hwmon: sht15: Fix memory leak if regula

Re: [PATCH] hw_random: free rng_buffer at module exit

2013-03-16 Thread Ben Hutchings
t module exit. > > > > Signed-off-by: Satoru Takeuchi > > Cc: Rusty Russell > > Cc: Matt Mackall > > Cc: Herbert Xu > > Cc: Aurelien Jarno > > Cc: Greg Kroah-Hartman > > Cc: stable@vger.kernel.org > > Cc: stable might be overkill, but I'

Re: [PATCH 3.2] iommu/amd: Initialize device table after dma_ops

2013-03-16 Thread Ben Hutchings
On Sun, 2013-03-03 at 23:58 +0100, Joerg Roedel wrote: > Hi Ben, > > On Sat, Mar 02, 2013 at 11:00:35PM +0000, Ben Hutchings wrote: > > I'm not convinced about this backport, because the order of > > initialisation already changed a lot after 3.2 and before the upstream

Re: [PATCH] tty: Correct tty buffer flush.

2013-03-16 Thread Ben Hutchings
rn; > > + while ((thead = tty->buf.head->next) != NULL) { > > + tty_buffer_free(tty, tty->buf.head); > > + tty->buf.head = thead; > > } > > - tty->buf.tail = NULL; > > + WARN_ON(tty->buf.head != tty->buf.tail); > >

Re: [PATCH 1/2] efivars: Disable external interrupt while holding efivars->lock

2013-03-16 Thread Ben Hutchings
is implemented using efi_pstore_write() here] Signed-off-by: Ben Hutchings --- drivers/firmware/efivars.c | 84 -- 1 file changed, 43 insertions(+), 41 deletions(-) --- a/drivers/firmware/efivars.c +++ b/drivers/firmware/efivars.c @@ -393,10 +393,11 @@ static efi_st

Re: [PATCH 2/2] efi: be more paranoid about available space when creating variables

2013-03-16 Thread Ben Hutchings
( 8 | (1UL << (BITS_PER_LONG-1))) +#define EFI_OUT_OF_RESOURCES ( 9 | (1UL << (BITS_PER_LONG-1))) #define EFI_NOT_FOUND (14 | (1UL << (BITS_PER_LONG-1))) +#define EFI_SECURITY_VIOLATION (26 | (1UL << (BITS_PER_LONG-1))) typedef unsigned long efi_status_t; typedef u8 efi_bool_t; -- Ben Hutchings Usenet is essentially a HUGE group of people passing notes in class. - Rachel Kadel, `A Quick Guide to Newsgroup Etiquette' signature.asc Description: This is a digitally signed message part

Re: [3.0,3.2,3.4] [PATCH] ftrace: Update the kconfig for DYNAMIC_FTRACE

2013-03-16 Thread Ben Hutchings
t; Subject: [PATCH] ftrace: Update the kconfig for DYNAMIC_FTRACE [...] Added to the queue for 3.2, thanks. Ben. -- Ben Hutchings Usenet is essentially a HUGE group of people passing notes in class. - Rachel Kadel, `A Quick Guide to Newsgroup Etiquette' signature.asc D

Re: [3.0,3.2][PATCH] decnet: Fix disappearing sysctl entries

2013-03-16 Thread Ben Hutchings
> Signed-off-by: "Eric W. Biederman" [...] Queued up for 3.2, thanks. Ben. -- Ben Hutchings Usenet is essentially a HUGE group of people passing notes in class. - Rachel Kadel, `A Quick Guide to Newsgroup Etiquette' signature.asc Description: This is a digitally signed message part

Re: Fix memory leak in cpufreq stats.

2013-03-16 Thread Ben Hutchings
break; > >> case CPU_DOWN_PREPARE: > >> + case CPU_DOWN_PREPARE_FROZEN: > >> cpufreq_stats_free_sysfs(cpu); > >> break; > >> case CPU_DEAD: > >> > >> Br > >> XiaoBing Tu >

Re: [ 052/100] drm/i915: Increase the RC6p threshold.

2013-03-17 Thread Ben Hutchings
p_THRESHOLD, 64000); /* unused */ > > /* Check if we are enabling RC6 */ Is there any reason why this shouldn't be applied to 3.2.y and 3.4.y? The same function and writes are present, only in intel_display.c rather than intel_pm.c. Ben. -- Ben Hutchings Never attribute to consp

Re: [PATCH 3.2 1/4] USB: Don't use EHCI port sempahore for USB 3.0 hubs.

2013-03-17 Thread Ben Hutchings
to the queue, along with 2/4, v2 3/4 and v2 4/4. Thanks a lot. Ben. -- Ben Hutchings Never attribute to conspiracy what can adequately be explained by stupidity. signature.asc Description: This is a digitally signed message part

Re: stable 3.0 and CVEs

2013-03-17 Thread Ben Hutchings
mit: 6d1068b3a98519247d8ba4ec85cd40ac136dbdf9 > Git-commit: f2ebd422f71cda9c791f76f85d2ca102ae34a1ed > Git-commit: b92946e2919134ebe2a4083e4302236295ea2a73 > Git-commit: bf118a342f10dafe44b14451a1392c3254629a1f Already backported in 3.2.y. Ben. -- Ben Hutchings Never attribute to conspiracy what ca

Re: [PATCH][v3.2.y] xen-netfront: delay gARP until backend switches to Connected

2013-03-17 Thread Ben Hutchings
ed to resolve http://bugs.launchpad.net/bugs/1154608 . > > commit 08e34eb14fe4cfd934b5c169a7682a969457c4ea > Author: Laszlo Ersek > Date: Sun Dec 11 01:48:59 2011 + > > xen-netfront: delay gARP until backend switches to Connected Added to the queue, thanks. Ben. -- Ben Hutching

Re: [PATCH] block: use i_size_write() in bd_set_size()

2013-03-17 Thread Ben Hutchings
-off-by: Jens Axboe > Acked-by: Jeff Mahoney [...] Queued up for 3.2, thanks. Ben. -- Ben Hutchings Never attribute to conspiracy what can adequately be explained by stupidity. signature.asc Description: This is a digitally signed message part

Re: [PATCH] loopdev: fix a deadlock

2013-03-17 Thread Ben Hutchings
a block: use > i_size_write() in bd_set_size() > Cc: stable@vger.kernel.org # 3.0 3.2 3.4 3.8 > Signed-off-by: Andrew Morton > Signed-off-by: Jens Axboe > Acked-by: Jeff Mahoney [...] Queued up for 3.2, thanks. Ben. -- Ben Hutchings Never attribute to conspiracy what can adequately be explained by stupidity. signature.asc Description: This is a digitally signed message part

Re: [PATCH] loopdev: remove an user triggerable oops

2013-03-17 Thread Ben Hutchings
: Guo Chao > Cc: Alexander Viro > Cc: Guo Chao > Cc: M. Hindess > Cc: Nikanth Karthikesan > Cc: Jens Axboe > Cc: stable@vger.kernel.org # 3.2 3.4 3.8 > Signed-off-by: Andrew Morton > Signed-off-by: Jens Axboe > Acked-by: Jeff Mahoney [...] Queued up for 3.2, thanks.

[ 02/82] btrfs: Init io_lock after cloning btrfs device struct

2013-03-17 Thread Ben Hutchings
homas Gleixner Signed-off-by: Chris Mason Signed-off-by: Ben Hutchings --- fs/btrfs/volumes.c |1 + 1 file changed, 1 insertion(+) --- a/fs/btrfs/volumes.c +++ b/fs/btrfs/volumes.c @@ -543,6 +543,7 @@ static int __btrfs_close_devices(struct new_device->write

[ 14/82] ath9k_htc: fix signal strength handling issues

2013-03-17 Thread Ben Hutchings
) only tracks beacons of the AP that we're connected to. Signed-off-by: Felix Fietkau Signed-off-by: John W. Linville [bwh: Backported to 3.2: use compare_ether_addr() instead of ether_addr_equal(), with opposite sense] Signed-off-by: Ben Hutchings --- drivers/net/wireless/ath/ath9k/

[ 17/82] xen/pci: We dont do multiple MSIs.

2013-03-17 Thread Ben Hutchings
d with error -22 That is b/c in ahci_host_activate the second call to devm_request_threaded_irq would return -EINVAL as we passed in (on the second run) an IRQ that was never initialized. Reported-and-Tested-by: Sander Eikelenboom Signed-off-by: Konrad Rzeszutek Wilk Signed-off-by: Ben Hu

[ 09/82] ARM: fix scheduling while atomic warning in alignment handling code

2013-03-17 Thread Ben Hutchings
-off-by: Russell King Signed-off-by: Ben Hutchings --- arch/arm/mm/alignment.c | 11 --- 1 file changed, 4 insertions(+), 7 deletions(-) --- a/arch/arm/mm/alignment.c +++ b/arch/arm/mm/alignment.c @@ -749,7 +749,6 @@ do_alignment(unsigned long addr, unsigne unsigned long instr

[ 08/82] ARM: VFP: fix emulation of second VFP instruction

2013-03-17 Thread Ben Hutchings
uot; but fail to properly take account of the FPEXC_FP2V flag in FPEXC. This is because the test for the second instruction register being valid is bogus, and will always skip emulation of the second instruction. Reported-by: Martin Storsjö Tested-by: Martin Storsjö Signed-off-by: Russell King

[ 12/82] proc connector: reject unprivileged listener bumps

2013-03-17 Thread Ben Hutchings
: adjust context] Signed-off-by: Ben Hutchings --- drivers/connector/cn_proc.c |8 1 file changed, 8 insertions(+) --- a/drivers/connector/cn_proc.c +++ b/drivers/connector/cn_proc.c @@ -303,6 +303,12 @@ static void cn_proc_mcast_ctl(struct cn_ if (msg->len != sizeof(*mc

[ 16/82] cifs: ensure that cifs_get_root() only traverses directories

2013-03-17 Thread Ben Hutchings
org/show_bug.cgi?id=53221 Reported-and-tested-by: Kjell Braden Signed-off-by: Jeff Layton Signed-off-by: Steve French Signed-off-by: Ben Hutchings --- fs/cifs/cifsfs.c |5 + 1 file changed, 5 insertions(+) --- a/fs/cifs/cifsfs.c +++ b/fs/cifs/cifsfs.c @@ -561,6 +561,11 @@ c

[ 70/82] USB: Dont use EHCI port sempahore for USB 3.0 hubs.

2013-03-17 Thread Ben Hutchings
Signed-off-by: Sarah Sharp Acked-by: Alan Stern Signed-off-by: Ben Hutchings --- drivers/usb/core/hub.c | 15 +++ 1 files changed, 7 insertions(+), 8 deletions(-) --- a/drivers/usb/core/hub.c +++ b/drivers/usb/core/hub.c @@ -2271,17 +2271,16 @@ static int hub_port_reset(stru

[ 45/82] USB: EHCI: dont check DMA values in QH overlays

2013-03-17 Thread Ben Hutchings
on reported at: https://bugs.launchpad.net/bugs/1088733 Signed-off-by: Alan Stern Reported-by: Joseph Salisbury Reported-and-tested-by: Stephen Thirlwall Signed-off-by: Greg Kroah-Hartman Signed-off-by: Ben Hutchings --- drivers/usb/host/ehci-q.c | 18 +- 1 file changed,

[ 59/82] Fix 4 port and add support for 8 port Unknown PCI serial port cards

2013-03-17 Thread Ben Hutchings
ontext] Signed-off-by: Ben Hutchings --- drivers/tty/serial/8250_pci.c | 17 +++-- 1 file changed, 7 insertions(+), 10 deletions(-) --- a/drivers/tty/serial/8250_pci.c +++ b/drivers/tty/serial/8250_pci.c @@ -1154,6 +1154,7 @@ pci_xr17c154_setup(struct serial_private /* Unknown vendor

[ 41/82] ftrace: Update the kconfig for DYNAMIC_FTRACE

2013-03-17 Thread Ben Hutchings
Signed-off-by: Ben Hutchings --- kernel/trace/Kconfig | 24 ++-- 1 file changed, 14 insertions(+), 10 deletions(-) --- a/kernel/trace/Kconfig +++ b/kernel/trace/Kconfig @@ -386,24 +386,28 @@ config KPROBE_EVENT If you want to use perf tools, this option is stron

[ 42/82] decnet: Fix disappearing sysctl entries

2013-03-17 Thread Ben Hutchings
Biederman" Signed-off-by: Ben Hutchings --- net/decnet/af_decnet.c |4 net/decnet/sysctl_net_decnet.c | 28 2 files changed, 32 insertions(+), 0 deletions(-) --- a/net/decnet/af_decnet.c +++ b/net/decnet/af_decnet.c @@ -2354,6 +2354,8

[ 21/82] ARM: 7663/1: perf: fix ARMv7 EVTYPE_MASK to include NSH bit

2013-03-17 Thread Ben Hutchings
patch fixes the broken mask. Reported-by: Christoffer Dall Signed-off-by: Will Deacon Signed-off-by: Russell King Signed-off-by: Ben Hutchings --- arch/arm/kernel/perf_event_v7.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/arch/arm/kernel/perf_event_v7.c +++ b/arch/arm/k

[ 24/82] hwmon: (sht15) Check return value of regulator_enable()

2013-03-17 Thread Ben Hutchings
x27;t. Signed-off-by: Mark Brown Signed-off-by: Guenter Roeck [bwh: Backported to 3.2: driver does not use the devm API to manage memory, so goto err_free_data rather than returning on error] Signed-off-by: Ben Hutchings --- drivers/hwmon/sht15.c |8 +++- 1 file changed, 7 insertions(+), 1 del

[ 19/82] dm snapshot: add missing module aliases

2013-03-17 Thread Ben Hutchings
"snapshot-merge" targets. Reference: https://bugzilla.redhat.com/889973 Reported-by: Chao Yang Signed-off-by: Mikulas Patocka Signed-off-by: Alasdair G Kergon Signed-off-by: Ben Hutchings --- drivers/md/dm-snap.c |2 ++ 1 file changed, 2 insertions(+) --- a/drivers/md/dm-snap.c

[ 20/82] drm/i915: Dont clobber crtc->fb when queue_flip fails

2013-03-17 Thread Ben Hutchings
ble. v2: Update crtc->fb before queue_flip and restore it back after a failure. Signed-off-by: Ville Syrjälä Reviewed-by: Chris Wilson Reported-and-Tested-by: Mika Kuoppala Signed-off-by: Daniel Vetter [bwh: Backported to 3.2: adjust context] Signed-off-by: Ben Hutchings --- drivers/g

[ 23/82] hwmon: (pmbus/ltc2978) Use detected chip ID to select supported functionality

2013-03-17 Thread Ben Hutchings
if wrong. We should also use the correct chip ID to select supported functionality. Signed-off-by: Guenter Roeck Acked-by: Jean Delvare Signed-off-by: Ben Hutchings --- drivers/hwmon/pmbus/ltc2978.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/hwmon/pmbus/ltc2978.c

[ 22/82] hwmon: (pmbus/ltc2978) Fix peak attribute handling

2013-03-17 Thread Ben Hutchings
not need to be an array. Signed-off-by: Guenter Roeck Acked-by: Jean Delvare [bwh: Backported to 3.2: adjust context] Signed-off-by: Ben Hutchings --- drivers/hwmon/pmbus/ltc2978.c | 28 +++- 1 file changed, 15 insertions(+), 13 deletions(-) --- a/drivers/hwmon/pmbus

[ 26/82] ALSA: vmaster: Fix slave change notification

2013-03-17 Thread Ben Hutchings
ue is changed. Signed-off-by: Takashi Iwai Signed-off-by: Ben Hutchings --- sound/core/vmaster.c |5 - 1 file changed, 4 insertions(+), 1 deletion(-) --- a/sound/core/vmaster.c +++ b/sound/core/vmaster.c @@ -209,7 +209,10 @@ static int slave_put(struct snd_kcontrol } if (!ch

[ 30/82] HID: add support for Sony RF receiver with USB product id 0x0374

2013-03-17 Thread Ben Hutchings
: Jiri Kosina Signed-off-by: Ben Hutchings --- drivers/hid/hid-core.c |1 + drivers/hid/hid-ids.h |1 + drivers/hid/hid-sony.c |4 +++- 3 files changed, 5 insertions(+), 1 deletion(-) --- a/drivers/hid/hid-core.c +++ b/drivers/hid/hid-core.c @@ -1533,6 +1533,7 @@ static const struct

<    1   2   3   4   5   6   7   8   9   10   >