[ 082/105] USB: opticon: fix memory leak in error path

2012-10-28 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold commit acbf0e5263de563e25f7c104868e4490b9e72b13 upstream. Fix memory leak in write error path. Signed-off-by: Johan Hovold Signed-off-by: Greg Kroah-Hartman Signed-off-by: Ben

[ 083/105] USB: mct_u232: fix broken close

2012-10-28 Thread Ben Hutchings
3.2: adjust context] Signed-off-by: Ben Hutchings --- drivers/usb/serial/mct_u232.c | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) --- a/drivers/usb/serial/mct_u232.c +++ b/drivers/usb/serial/mct_u232.c @@ -577,12 +577,14 @@ static void mct_u232_close(struct usb_se

[ 097/105] gen_init_cpio: avoid stack overflow when expanding

2012-10-28 Thread Ben Hutchings
ased on existing fix extracted from grsecurity. Signed-off-by: Kees Cook Cc: Michal Marek Cc: Brad Spengler Cc: PaX Team Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds Signed-off-by: Ben Hutchings --- usr/gen_init_cpio.c | 43 +++ 1 file ch

[ 098/105] fs/compat_ioctl.c: VIDEO_SET_SPU_PALETTE missing error check

2012-10-28 Thread Ben Hutchings
leaking kernel stack contents into userspace. Patch extracted from existing fix in grsecurity. Signed-off-by: Kees Cook Cc: David Miller Cc: Brad Spengler Cc: PaX Team Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds Signed-off-by: Ben Hutchings --- fs/compat_ioctl.c |2 ++ 1

[ 090/105] ehci: fix Lucid nohandoff pci quirk to be more generic with BIOS versions

2012-10-28 Thread Ben Hutchings
board name M11JB. Signed-off-by: Anisse Astier Signed-off-by: Greg Kroah-Hartman Signed-off-by: Ben Hutchings --- drivers/usb/host/pci-quirks.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/host/pci-quirks.c b/drivers/usb/host/pci-quirks.c index 966d148

[ 102/105] usb: gadget: at91_udc: fix dt support

2012-10-28 Thread Ben Hutchings
igned-off-by: Fabio Porcedda Signed-off-by: Felipe Balbi Signed-off-by: Greg Kroah-Hartman Signed-off-by: Ben Hutchings --- drivers/usb/gadget/at91_udc.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/usb/gadget/at91_udc.c +++ b/drivers/usb/gadget/at91_udc.c @@ -1

[ 099/105] Revert "lockd: use rpc clients cl_nodename for id encoding"

2012-10-28 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings This reverts 5ff39e971c87ea9f4c4c7b253898abafa960e32b which was commit 303a7ce92064c285a04c870f2dc0192fdb2968cb upstream. It is not necessary for kernel versions without per

[ 014/105] sparc64: do not clobber personality flags in sys_sparc64_personality()

2012-10-28 Thread Ben Hutchings
t one by properly using personality() macro to compare only PER_MASK bytes. Fix the second one by setting only the bits that should be set, instead of overwriting the whole value. Signed-off-by: Jiri Kosina Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings --- arch/sparc/kernel/sys_sp

[ 011/105] sparc64: fix ptrace interaction with force_successful_syscall_return()

2012-10-28 Thread Ben Hutchings
done force_successful_syscall_return() is broken... Signed-off-by: Al Viro Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings --- arch/sparc/kernel/syscalls.S | 32 ++-- 1 file changed, 14 insertions(+), 18 deletions(-) diff --git a/arch/sparc/kernel/syscalls.S b/arch/sparc/k

[ 103/105] ALSA: ac97 - Fix missing NULL check in snd_ac97_cvol_new()

2012-10-28 Thread Ben Hutchings
-Hartman Signed-off-by: Ben Hutchings --- sound/pci/ac97/ac97_codec.c |2 ++ 1 file changed, 2 insertions(+) --- a/sound/pci/ac97/ac97_codec.c +++ b/sound/pci/ac97/ac97_codec.c @@ -1271,6 +1271,8 @@ static int snd_ac97_cvol_new(struct snd_ tmp.index = ac97->

[ 095/105] genalloc: stop crashing the system when destroying a pool

2012-10-28 Thread Ben Hutchings
exit+0x0/0x94 --- Exception: c00 (System Call) at 00800753d1a0 SP (fffd0b0e640) is in userspace Signed-off-by: Thadeu Lima de Souza Cascardo Cc: Paul Gortmaker Cc: Benjamin Gaignard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds Signed-off-by: Ben Hutchings --- lib/genallo

[ 104/105] ALSA: emu10k1: add chip details for E-mu 1010 PCIe card

2012-10-28 Thread Ben Hutchings
. Signed-off-by: Maxim Kachur Signed-off-by: Takashi Iwai Signed-off-by: Greg Kroah-Hartman Signed-off-by: Ben Hutchings --- sound/pci/emu10k1/emu10k1_main.c |9 + 1 file changed, 9 insertions(+) --- a/sound/pci/emu10k1/emu10k1_main.c +++ b/sound/pci/emu10k1/emu10k1_main.c @@ -1416,6

[ 105/105] Add CDC-ACM support for the CX93010-2x UCMxx USB Modem

2012-10-28 Thread Ben Hutchings
tman Signed-off-by: Ben Hutchings --- drivers/usb/class/cdc-acm.c |3 +++ 1 file changed, 3 insertions(+) --- a/drivers/usb/class/cdc-acm.c +++ b/drivers/usb/class/cdc-acm.c @@ -1551,6 +1551,9 @@ static const struct usb_device_id acm_id Maybe we sh

[ 018/105] skge: Add DMA mask quirk for Marvell 88E8001 on ASUS P5NSLI motherboard

2012-10-28 Thread Ben Hutchings
her chipset exhibiting the same problem. http://www.spinics.net/lists/netdev/msg142287.html Signed-off-by: Graham Gower Signed-off-by: Jan Ceuleers Acked-by: Stephen Hemminger Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings --- drivers/net/ethernet/marvell/skge.c | 7 +++ 1 f

[ 100/105] netfilter: nf_conntrack: fix racy timer handling with reliable events

2012-10-28 Thread Ben Hutchings
delivery. This increases the size of the ecache extension. Still we can revisit this later and use variable size extensions to allocate this area on demand. Tested-by: Oliver Smith Signed-off-by: Pablo Neira Ayuso Acked-by: David Miller Signed-off-by: Greg Kroah-Hartman Signed-off-by: Ben Hutchings

[ 094/105] mm: fix XFS oops due to dirty pages without buffers on s390

2012-10-28 Thread Ben Hutchings
gered. Signed-off-by: Jan Kara Cc: Martin Schwidefsky Cc: Mel Gorman Cc: Hugh Dickins Cc: Heiko Carstens Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds [bwh: Backported to 3.2: adjust context; in particular there is no local 'anon' in page_remove_rmap()] Signed-off-by

[ 017/105] net: Fix skb_under_panic oops in neigh_resolve_output

2012-10-28 Thread Ben Hutchings
er Signed-off-by: Ben Hutchings --- net/core/neighbour.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/net/core/neighbour.c b/net/core/neighbour.c index 7aafaed..5b9709f 100644 --- a/net/core/neighbour.c +++ b/net/core/neighbour.c @@ -1254,8 +1254,6 @@ int neigh_reso

[ 006/105] ALSA: hda - Fix oops caused by recent commit "Fix internal mic for Lenovo Ideapad U300s"

2012-10-28 Thread Ben Hutchings
Signed-off-by: David Henningsson Signed-off-by: Takashi Iwai Signed-off-by: Ben Hutchings --- sound/pci/hda/patch_conexant.c |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sound/pci/hda/patch_conexant.c b/sound/pci/hda/patch_conexant.c index cbe115b..abb59f4 100644 ---

[ 007/105] e1000: fix vlan processing regression

2012-10-28 Thread Ben Hutchings
ed-off-by: Jeff Kirsher [Jonathan Nieder: It doesn't apply cleanly to kernels before v3.3-rc1~182^2~581 (net: introduce and use netdev_features_t for device features sets) but a backport is straightforward.] Signed-off-by: Jonathan Nieder Tested-by: Andrey Jr. Melnikov Signed-off-by: Ben Hutchin

[ 016/105] [media] au0828: fix case where STREAMOFF being called on stopped stream causes BUG()

2012-10-28 Thread Ben Hutchings
alled STREAMOFF on a v4l2 device that wasn't already streaming would cause a BUG() to be hit (MythTV). Reported-by: Larry Finger Reported-by: Jay Harbeston Signed-off-by: Devin Heitmueller Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Ben Hutchings --- drivers/media/video/au0828/au0828-vide

[ 019/105] vlan: dont deliver frames for unknown vlans to protocols

2012-10-28 Thread Ben Hutchings
ler so the rx_handler, if there is one, sees the frame unchanged, but afterwards, before the frame is delivered to the protocol stack, it gets marked whether there is an rx_handler or not. Signed-off-by: Florian Zumbiehl Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings --- include/linux

[ 005/105] mtd: nand: allow NAND_NO_SUBPAGE_WRITE to be set from driver

2012-10-28 Thread Ben Hutchings
Norris: This is a backport for v3.2 stable.] Signed-off-by: Ben Hutchings --- drivers/mtd/nand/nand_base.c |9 +++-- include/linux/mtd/nand.h |3 --- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/drivers/mtd/nand/nand_base.c b/drivers/mtd/nand/nand_base.c index

[ 008/105] SUNRPC: Set alloc_slot for backchannel tcp ops

2012-10-28 Thread Ben Hutchings
r+0x4/0x10 [] ? kthread_freezable_should_stop+0x70/0x70 [] ? gs_change+0x13/0x13 Signed-off-by: Bryan Schumaker Signed-off-by: Trond Myklebust [bwh: Backported to 3.2: adjust context] Signed-off-by: Ben Hutchings --- net/sunrpc/xprtsock.c |1 + 1 file changed, 1 insertion(+) --- a/net/sunrpc/xprtsock.c +++ b/

[ 015/105] sparc64: Be less verbose during vmemmap population.

2012-10-28 Thread Ben Hutchings
e output by an order of 16. Also demote this to KERN_DEBUG. Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings --- arch/sparc/mm/init_64.c | 28 +++- 1 file changed, 23 insertions(+), 5 deletions(-) diff --git a/arch/sparc/mm/init_64.c b/arch/sparc/mm/ini

[ 012/105] sparc64: Like x86 we should check current->mm during perf backtrace generation.

2012-10-28 Thread Ben Hutchings
ned-off-by: David S. Miller Signed-off-by: Ben Hutchings --- arch/sparc/kernel/perf_event.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/arch/sparc/kernel/perf_event.c b/arch/sparc/kernel/perf_event.c index 614da62..5331ae1 100644 --- a/arch/sparc/kernel/perf_event.c

[ 013/105] sparc64: Fix bit twiddling in sparc_pmu_enable_event().

2012-10-28 Thread Ben Hutchings
nd sparc_pmu_disable() do . The intent of sparc_pmu_enable_event() is clear, since it first clear out the event type encoding field. So fix this by OR'ing in the event encoding rather than the trace enable bits. Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings --- arch/sparc/ker

[ 010/105] drm/i915: no lvds quirk for Zotac ZDBOX SD ID12/ID13

2012-10-28 Thread Ben Hutchings
ff-by: Daniel Vetter Signed-off-by: Ben Hutchings --- drivers/gpu/drm/i915/intel_lvds.c |8 1 file changed, 8 insertions(+) diff --git a/drivers/gpu/drm/i915/intel_lvds.c b/drivers/gpu/drm/i915/intel_lvds.c index ab4d647..05fcadb 100644 --- a/drivers/gpu/drm/i915/intel_lvds.c +++ b/dr

[ 002/105] samsung-laptop: dont handle backlight if handled by acpi/video

2012-10-28 Thread Ben Hutchings
ommit 5dea7a2 ('samsung-laptop: move code into init/exit functions') - Use static variable since we do not have commit a6df489 ('samsung-laptop: put all local variables in a single structure')] Signed-off-by: Ben Hutchings --- --- a/drivers/platform/x86/samsung-laptop.c +

[ 004/105] jbd: Fix assertion failure in commit code due to lacking transaction credits

2012-10-28 Thread Ben Hutchings
possible (in lots of cases we just need a buffer attached to a transaction as a place holder but it must not be written out anyway). And in one case, we just have to bite the bullet and wait for transaction commit to finish. Reviewed-by: Josef Bacik Signed-off-by: Jan Kara Signed-off-by: Ben H

[ 000/105] 3.2.33-stable review

2012-10-28 Thread Ben Hutchings
a_ops [fdc858a466b738d35d3492bc7cf77b1dac98bf7c] Ben Hutchings (2): Revert "lockd: use rpc client's cl_nodename for id encoding" [not upstream; the fix is just not required for 3.2] samsung-laptop: make the dmi check

Re: Regression from 3.4.9 to 3.4.16 "stable" kernel

2012-10-29 Thread Ben Hutchings
Kroah-Hartman > > > > Willy > > > Thanks, Willy. > > I've also now downloaded linux-3.7.0-rc3, and it boots/runs without need for > patching. > So there's a fix somewhere in between that perhaps could also get backported > to -stable. Might well be: commit 1f2ff682ac951ed82cc043cf140d2851084512df Author: Yinghai Lu Date: Mon Oct 22 16:35:18 2012 -0700 x86, mm: Use memblock memory loop instead of e820_RAM However I'm not sure that this loop is correct either. Yinghai, does your version definitely iterate in increasing pfn order? If not then the max_pfn_mapped assignment must be conditional. Ben. -- Ben Hutchings Humans are not rational beings; they are rationalising beings. signature.asc Description: This is a digitally signed message part

Re: [ 102/105] usb: gadget: at91_udc: fix dt support

2012-10-29 Thread Ben Hutchings
On Mon, 2012-10-29 at 07:21 +0100, Fabio Porcedda wrote: > On Mon, Oct 29, 2012 at 12:17 AM, Ben Hutchings wrote: > > 3.2-stable review patch. If anyone has any objections, please let me know. > > Hi Ben, > this patch is only useful only for kernel version 3.4 and later

Re: [PATCH] net: dsa/slave: Fix compilation warnings

2012-10-29 Thread Ben Hutchings
> used [-Wunused-function] > net/dsa/slave.c:164:12: warning: 'dsa_slave_ioctl' defined but not used > [-Wunused-function] > > Fix them by enclosing these routines under #ifdef,endif. [...] This is not a useful configuration. It might make more sense to make NET_DSA a hid

Re: [PATCH firmware] rtl_nic: update firmware for RTL8168G

2012-10-30 Thread Ben Hutchings
n(-) [...] Applied, thanks. Ben. -- Ben Hutchings Humans are not rational beings; they are rationalising beings. signature.asc Description: This is a digitally signed message part

Re: [PATCH 06/11] net: calxedaxgmac: fix race with tx queue stop/wake

2013-08-27 Thread Ben Hutchings
_dma_ring_space(priv) < MAX_SKB_FRAGS)) { > netif_stop_queue(dev); > - > + /* Ensure netif_stop_queue is visible to tx completion */ > + smp_mb(); > + if (tx_dma_ring_space(priv) > MAX_SKB_FRAGS) > + netif_wake_q

Re: [PATCH RFC 01/77] PCI/MSI: Fix return value when populate_msi_sysfs() failed

2013-10-03 Thread Ben Hutchings
describing why in this > commit would be nice. [...] This function was already treating that error as fatal, and freeing the MSIs. The change in behaviour is that it now returns the error code in this case, rather than 0. This is obviously correct and properly described by the one-line su

Re: [PATCH RFC 06/77] PCI/MSI: Factor out pci_get_msi_cap() interface

2013-10-03 Thread Ben Hutchings
CI_MSI > +static inline int pci_get_msi_cap(struct pci_dev *dev) > +{ > + return -1; [...] Shouldn't this also return -EINVAL? Ben. -- Ben Hutchings, Staff Engineer, Solarflare Not speaking for my employer; that's the marketing department's job. They asked us to note that Sol

Re: [PATCH RFC 00/77] Re-design MSI/MSI-X interrupts enablement pattern

2013-10-03 Thread Ben Hutchings
Your patch 7 removes that. pci_enable_msi_block() unfortunately doesn't appear to do this. It seems to me that a more useful interface would take a minimum and maximum number of vectors from the driver. This wouldn't allow the driver to specify that it could only accept, say, any even

Re: [PATCH RFC 00/77] Re-design MSI/MSI-X interrupts enablement pattern

2013-10-04 Thread Ben Hutchings
On Fri, 2013-10-04 at 10:29 +0200, Alexander Gordeev wrote: > On Thu, Oct 03, 2013 at 11:49:45PM +0100, Ben Hutchings wrote: > > On Wed, 2013-10-02 at 12:48 +0200, Alexander Gordeev wrote: > > > This update converts pci_enable_msix() and pci_enable_msi_block() > > > int

[PATCH 1/2] sysrq: Document hexadecimal values for kernel.sysrq bitmask

2013-10-06 Thread Ben Hutchings
It makes more sense to enter a bitmask in hexadecimal rather than decimal. Sadly we can't make it read back as hexadecimal. Signed-off-by: Ben Hutchings --- Documentation/sysrq.txt | 19 +++ 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/Documentation/sysr

[PATCH 2/2] sysrq: Allow magic SysRq key functions to be disabled through Kconfig

2013-10-06 Thread Ben Hutchings
Turn the initial value of sysctl kernel.sysrq (SYSRQ_DEFAULT_ENABLE) into a Kconfig variable. Original version by Bastian Blank . Signed-off-by: Ben Hutchings --- v2: - Added cross-references between sysrq.txt and Kconfig help (and added the hex values with a preparatory patch) - Removed the

Re: Suspect loop in dmi_scan_machine()

2013-07-08 Thread Ben Hutchings
buf contains a copy of the 32 bytes centred at p. On the first iteration p - 16 is out of range, so the first 16 bytes of the buffer are filled with zeroes. Does that address your concerns? If not then please explain precisely how this loop can go wrong. Ben. -- Ben Hutchings We get into the hab

[PATCH] dmi_scan: Add comments on dmi_present() and the loop in dmi_scan_machine()

2013-07-10 Thread Ben Hutchings
My previous refactoring in commit 79bae42d51a5 resulted in slightly tricky code (though I think it's more elegant). Explain what it's doing. Signed-off-by: Ben Hutchings --- drivers/firmware/dmi_scan.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/driver

Re: [PATCH firmware] rtl_nic: add firmware rtl8411-2

2013-07-10 Thread Ben Hutchings
de 100644 rtl_nic/rtl8411-2.fw [...] Applied, thanks. Ben. -- Ben Hutchings Reality is just a crutch for people who can't handle science fiction. signature.asc Description: This is a digitally signed message part

Re: [PATCH 1/1 V2] linux-firmware: Add AMD microcode patch firmware files

2013-07-10 Thread Ben Hutchings
other downstream users can verify the signatures. linux-firmware.git itself is not currently being tagged, with or without signatures. Please include detached signatures in future. Ben. -- Ben Hutchings Reality is just a crutch for people who can't handle science fiction. signature.asc Description: This is a digitally signed message part

Re: [ 6/8] MAINTAINERS: add stable_kernel_rules.txt to stable maintainer information

2013-07-11 Thread Ben Hutchings
plied this in the wrong place for some reason. Ben. > > SIMTEC EB2410ITX (BAST) > P: Ben Dooks -- Ben Hutchings Reality is just a crutch for people who can't handle science fiction. signature.asc Description: This is a digitally signed message part

Re: [PATCH 1/2] Drivers: hv: balloon: Fix a bug in the hot-add code

2013-07-12 Thread Ben Hutchings
result of wait_for_completion_timeout(). Maybe update the comment to explain why it's OK to continue anyway? Ben. -- Ben Hutchings We get into the habit of living before acquiring the habit of thinking. - Albert Camus -- To unsubs

Re: [PATCH 1/2] Drivers: hv: balloon: Fix a bug in the hot-add code

2013-07-12 Thread Ben Hutchings
he comment in the patch explaining why it is ok to continue. [...] But that is not nearly as easy to see as the comment that is already *in the code* which your patch isn't updating. Ben. -- Ben Hutchings We get into the habit of living

Re: [PATCH 1/1] isdn: hfcpci_softirq: get func return to suppress compiler warning

2013-09-13 Thread Ben Hutchings
an result in a new compiler warning because ret is not used after it is assigned. Maybe add WARN_ON(ret)? Ben. -- Ben Hutchings, Staff Engineer, Solarflare Not speaking for my employer; that's the marketing department's job. They asked us to note that Solarflare product names are trademarke

Re: [REGRESSION][BISECTED] skge: add dma_mapping check

2013-09-18 Thread Ben Hutchings
ry it with an IOMMU in strict mode (intel_iommu=on,strict or amd_iommu=fullflush). Ben. -- Ben Hutchings, Staff Engineer, Solarflare Not speaking for my employer; that's the marketing department's job. They asked us to note that Solarflare product names are trademarked. -- To unsubs

Re: [PATCH 001/007] WAN Drivers: Update farsync driver and introduce fsflex driver

2013-09-18 Thread Ben Hutchings
quot;unsubscribe netdev" in > the body of a message to majord...@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- Ben Hutchings, Staff Engineer, Solarflare Not speaking for my employer; that's the marketing department's job. They asked us to no

Re: [PATCH 002/007] WAN Drivers: Update farsync driver and introduce fsflex driver

2013-09-18 Thread Ben Hutchings
/ > + int status_count; /* How many status events have been */ > + /* triggered.*/ > + u8 v24_in; /* Last 'getv24 i/p' value got */ > + u8 v24_out; /* Last 'setv24 o/p' value set */

Re: [PATCH 003/007] WAN Drivers: Update farsync driver and introduce fsflex driver

2013-09-18 Thread Ben Hutchings
+#ifdef UINT32 > +#define u32 UINT32 > +#define u16 UINT16 > +#define u8 UCHAR > +#endif > + > +#ifdef USSTYPES_H > +#define u32 U32 > +#define u16 U16 > +#define u8 U8 > +#endif [...] This sort of cruft doesn't belong in an in-tree driver. unifdef may be useful

Re: [PATCH 004/007] WAN Drivers: Update farsync driver and introduce fsflex driver

2013-09-18 Thread Ben Hutchings
E+9) > +#define FSTGSTATE (SIOCDEVPRIVATE+10) > +#define FSTSYSREQ (SIOCDEVPRIVATE+11) > +#define FSTGETSHELL (SIOCDEVPRIVATE+12) > +#define FSTSETMON (SIOCDEVPRIVATE+13) > +#define FSTSETPORT (SIOCDEVPRIVATE+14) > +#define FSTCMD (SIOCDEVPRIVATE+15) [..

Re: [PATCH 005/007] WAN Drivers: Update farsync driver and introduce fsflex driver

2013-09-18 Thread Ben Hutchings
ync_proc_open, > + .read = seq_read, > + .llseek = seq_lseek, > + .release = single_release, > }; Ben. -- Ben Hutchings, Staff Engineer, Solarflare Not speaking for my employer; that's the marketing department's job. They asked us to note that Solarflare pro

Re: [PATCH 006/007] WAN Drivers: Update farsync driver and introduce fsflex driver

2013-09-18 Thread Ben Hutchings
&farsync_proc_fops); [...] Drivers should not be adding to the top level of /proc, and generally should be adding any magic files under sysfs (per-device) or debugfs. There is a /proc/driver directory if this information really doesn't fit into either of those filesystems. Ben. -- Ben Hu

Re: [PATCH 007/007] WAN Drivers: Update farsync driver and introduce fsflex driver

2013-09-18 Thread Ben Hutchings
+= farsync.o > +obj-$(CONFIG_FARSYNC)+= farsync.o fsflex.o > obj-$(CONFIG_DSCC4) += dscc4.o > obj-$(CONFIG_X25_ASY)+= x25_asy.o > > -- > To unsubscribe from this list: send the line "unsubscribe netdev" in > the body of a messa

Re: [PATCH net-next 4/5] driver/net: enic: Exposing symbols for Cisco's low latency driver

2013-09-04 Thread Ben Hutchings
ct vnic_dev *vnic_dev_register(struct vnic_dev *vdev, > void *priv, struct pci_dev *pdev, struct vnic_dev_bar *bar, > unsigned int num_bars); > +struct pci_dev *vnic_dev_get_pdev(struct vnic_dev *vdev); > int vnic_dev_init_prov2(struct vnic_dev *vdev, u8 *buf, u32 len); >

[PATCH] hwrng: via-rng: Mark device ID table as __maybe_unused

2013-09-04 Thread Ben Hutchings
It is only used in modular builds. Reported-by: kbuild test robot Signed-off-by: Ben Hutchings --- drivers/char/hw_random/via-rng.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/char/hw_random/via-rng.c b/drivers/char/hw_random/via-rng.c index e737772..de5a6dc

[013/121] net_sched: Fix stack info leak in cbq_dump_wrr().

2013-09-07 Thread Ben Hutchings
Carpenter and feedback from Joe Perches. Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings --- net/sched/sch_cbq.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/sched/sch_cbq.c b/net/sched/sch_cbq.c index b7cddb9..7f59944 100644 --- a/net/sched/sch_cbq.c +++ b/net/sched

[068/121] USB: adutux: fix big-endian device-type reporting

2013-09-07 Thread Ben Hutchings
Hovold Signed-off-by: Greg Kroah-Hartman Signed-off-by: Ben Hutchings --- drivers/usb/misc/adutux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/usb/misc/adutux.c +++ b/drivers/usb/misc/adutux.c @@ -829,7 +829,7 @@ static int adu_probe(struct usb_interfac /* let

[103/121] powerpc/hvsi: Increase handshake timeout from 200ms to 400ms.

2013-09-07 Thread Ben Hutchings
ff-by: Eugene Surovegin Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Ben Hutchings --- drivers/tty/hvc/hvsi_lib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/drivers/tty/hvc/hvsi_lib.c +++ b/drivers/tty/hvc/hvsi_lib.c @@ -341,8 +341,8 @@ void hvsilib_establish(struct hvsi

[044/121] virtio: console: fix race in port_fops_open() and port unplug

2013-09-07 Thread Ben Hutchings
script to reproduce this is: while true; do for i in $(seq 1 100); do echo $i > /dev/vport0p3; done; done; This opens and closes the port a lot of times; unplugging the port while this is happening triggers the bug. Signed-off-by: Amit Shah Signed-off-by: Rusty Russell Signed-off-by:

[060/121] drm/radeon: always program the MC on startup

2013-09-07 Thread Ben Hutchings
startup() fails. Failure to do so results in an unusable GPU. Based on a fix from: Mark Kettenis Signed-off-by: Alex Deucher [bwh: Backported to 3.2: adjust context, drop changes to cik.c and si.c] Signed-off-by: Ben Hutchings --- --- a/drivers/gpu/drm/radeon/evergreen.c +++ b/drivers/gpu/drm/radeon

[028/121] iwlwifi: add DELL SKU for 5150 HMC

2013-09-07 Thread Ben Hutchings
-by: Emmanuel Grumbach Signed-off-by: Johannes Berg [bwh: Backported to 3.2: adjust filename] Signed-off-by: Ben Hutchings --- drivers/net/wireless/iwlwifi/iwl-pci.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/net/wireless/iwlwifi/iwl-pci.c +++ b/drivers/net/wireless/iwlwifi/iwl-pci.c

[113/121] m32r: add memcpy() for CONFIG_KERNEL_GZIP=y

2013-09-07 Thread Ben Hutchings
mcpy(). Signed-off-by: Geert Uytterhoeven Cc: Hirokazu Takata Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds Signed-off-by: Ben Hutchings --- arch/m32r/boot/compressed/misc.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/m32r/boot/compressed/misc.c b

[034/121] Bluetooth: Add support for Atheros [0cf3:3121]

2013-09-07 Thread Ben Hutchings
: Gustavo Padovan Signed-off-by: Ben Hutchings --- drivers/bluetooth/ath3k.c | 2 ++ drivers/bluetooth/btusb.c | 1 + 2 files changed, 3 insertions(+) --- a/drivers/bluetooth/ath3k.c +++ b/drivers/bluetooth/ath3k.c @@ -92,6 +92,7 @@ static struct usb_device_id ath3k_table[ { USB_DEVICE(0x0489

[100/121] ath9k_htc: Restore skb headroom when returning skb to mac80211

2013-09-07 Thread Ben Hutchings
original position before returning the frame to mac80211 as other drivers like rt2x00 or ath5k do. Reported-by: Marc Kleine-Budde Signed-off-by: Helmut Schaa Tested-by: Marc Kleine-Budde Signed-off-by: Marc Kleine-Budde Signed-off-by: John W. Linville Signed-off-by: Ben Hutchings --- drivers

[094/121] CRIS: Add _sdata to vmlinux.lds.S

2013-09-07 Thread Ben Hutchings
fined reference to `_sdata' Signed-off-by: Jesper Nilsson Cc: Guenter Roeck Cc: Geert Uytterhoeven Signed-off-by: Greg Kroah-Hartman Signed-off-by: Ben Hutchings --- arch/cris/kernel/vmlinux.lds.S | 1 + 1 file changed, 1 insertion(+) --- a/arch/cris/kernel/vmlinux.lds.S +++ b/arch/c

[120/121] KVM: s390: move kvm_guest_enter,exit closer to sie

2013-09-07 Thread Ben Hutchings
guest fault and translate a user address as guest address. Signed-off-by: Dominik Dingel Signed-off-by: Christian Borntraeger Signed-off-by: Paolo Bonzini [bwh: Backported to 3.2: adjust context and add the rc variable] Signed-off-by: Ben Hutchings --- arch/s390/kvm/kvm-s390.c | 21

[056/121] [SCSI] megaraid_sas: megaraid_sas driver init fails in kdump kernel

2013-09-07 Thread Ben Hutchings
nsition to ready state unconditionally(not only executed for kdump kernel). Signed-off-by: Sumit Saxena Signed-off-by: Kashyap Desai Signed-off-by: James Bottomley Signed-off-by: Ben Hutchings --- drivers/scsi/megaraid/megaraid_sas_base.c | 20 +++- 1 file changed, 15 insert

[041/121] serial/mxs-auart: increase time to wait for transmitter to become idle

2013-09-07 Thread Ben Hutchings
ned-off-by: Greg Kroah-Hartman Signed-off-by: Ben Hutchings --- drivers/tty/serial/mxs-auart.c | 21 + 1 file changed, 13 insertions(+), 8 deletions(-) --- a/drivers/tty/serial/mxs-auart.c +++ b/drivers/tty/serial/mxs-auart.c @@ -543,7 +543,7 @@ auart_console_write(struct c

[004/121] sched: Fix the broken sched_rr_get_interval()

2013-09-07 Thread Ben Hutchings
rnel.org/r/1357621012-15039-1-git-send-email-gaoyang@taobao.com [ Since this is an ABI and an old bug, we'll test this via a slow upstream route, to hopefully discover any app breakage. ] Signed-off-by: Ingo Molnar Signed-off-by: Ben Hutchings --- kernel/sched/fair.c | 2 +- 1 file chang

[110/121] x86 get_unmapped_area: Access mmap_legacy_base through mm_struct member

2013-09-07 Thread Ben Hutchings
alds [bwh: Backported to 3.2: adjust context] Signed-off-by: Ben Hutchings --- arch/x86/kernel/sys_x86_64.c | 2 +- arch/x86/mm/mmap.c | 6 -- include/linux/mm_types.h | 1 + 3 files changed, 6 insertions(+), 3 deletions(-) --- a/arch/x86/kernel/sys_x86_64.c +++ b/arch/x86/kernel/

[115/121] microblaze: Fix __futex_atomic_op macro register usage

2013-09-07 Thread Ben Hutchings
e reg. New Microblaze toolchain is more strict in this and general purpose register should be used there "r". Signed-off-by: Michal Simek Signed-off-by: Ben Hutchings --- arch/microblaze/include/asm/futex.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/microblaze

[095/121] alpha: makefile: don't enforce small data model for kernel builds

2013-09-07 Thread Ben Hutchings
ed-off-by: Will Deacon Signed-off-by: Michael Cree Signed-off-by: Linus Torvalds Cc: Guenter Roeck Signed-off-by: Greg Kroah-Hartman Signed-off-by: Ben Hutchings --- arch/alpha/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/arch/alpha/Makefile +++ b/arch/alpha/Makefile

[007/121] perf tools: Add anonymous huge page recognition

2013-09-07 Thread Ben Hutchings
ngo Molnar Cc: Jiri Olsa Cc: Joshua Zhu Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/1357363797-3550-1-git-send-email-zhu.wen-...@hp.com Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: Ben Hutchings --- tools/perf/util/map.c | 3 ++- 1 f

[005/121] drm/i915: quirk no PCH_PWM_ENABLE for Dell XPS13 backlight

2013-09-07 Thread Ben Hutchings
: Daniel Vetter [ kamal: backport to 3.2 ] Signed-off-by: Ben Hutchings --- drivers/gpu/drm/i915/i915_drv.h | 1 + drivers/gpu/drm/i915/intel_display.c | 16 drivers/gpu/drm/i915/intel_lvds.c| 3 ++- 3 files changed, 19 insertions(+), 1 deletion(-) --- a/drivers/gpu

[061/121] hwmon: (adt7470) Fix incorrect return code check

2013-09-07 Thread Ben Hutchings
on my system. Setting the fan speed limits is the only code that uses adt7470_write_word_data(). After making the change the limit settings work and the alarms work also. Signed-off-by: Curt Brune Signed-off-by: Guenter Roeck Signed-off-by: Ben Hutchings --- drivers/hwmon/adt7470.c | 2 +- 1

[053/121] iwlwifi: dvm: fix calling ieee80211_chswitch_done() with NULL

2013-09-07 Thread Ben Hutchings
ve: https://bugzilla.redhat.com/show_bug.cgi?id=979581 Reported-by: Lukasz Jagiello Signed-off-by: Stanislaw Gruszka Reviewed-by: Emmanuel Grumbach Signed-off-by: Johannes Berg [bwh: Backported to 3.2: adjust context, filename] Signed-off-by: Ben Hutchings --- drivers/net/wireless/iwlwifi/iwl-c

[070/121] ARM: 7809/1: perf: fix event validation for software group leaders

2013-09-07 Thread Ben Hutchings
orrectly when dealing with multiple hardware PMUs anyway. Reported-by: Vince Weaver Tested-by: Vince Weaver Tested-by: Mark Rutland Signed-off-by: Will Deacon Signed-off-by: Russell King Signed-off-by: Ben Hutchings --- arch/arm/kernel/perf_event.c | 3 +++ 1 file changed, 3 insertions(+) --

[102/121] powerpc: Work around gcc miscompilation of __pa() on 64-bit

2013-09-07 Thread Ben Hutchings
tant (-PAGE_OFFSET) and add it on. (Note that MEMORY_START is always 0 on 64-bit.) Signed-off-by: Paul Mackerras Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Ben Hutchings --- arch/powerpc/Kconfig| 1 + arch/powerpc/include/asm/page.h | 10 ++ 2 files changed, 11 insert

[118/121] ALSA: opti9xx: Fix conflicting driver object name

2013-09-07 Thread Ben Hutchings
ngguang Wu Signed-off-by: Takashi Iwai Signed-off-by: Ben Hutchings --- sound/isa/opti9xx/opti92x-ad1848.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) --- a/sound/isa/opti9xx/opti92x-ad1848.c +++ b/sound/isa/opti9xx/opti92x-ad1848.c @@ -173,11 +173,7 @@ MODULE_DEVICE_TABL

[019/121] ALSA: usb: Parse UAC2 extension unit like for UAC1

2013-09-07 Thread Ben Hutchings
. Otherwise parse_audio_unit() fails when it sees an extension unit on a UAC2 device. UAC2_EXTENSION_UNIT_V2 is outside the range allocated by UAC1. Signed-off-by: Torstein Hegge Acked-by: Daniel Mack Signed-off-by: Takashi Iwai Signed-off-by: Ben Hutchings --- sound/usb/mixer.c | 5 - 1 file

[030/121] Bluetooth: Add support for Foxconn/Hon Hai [0489:e04d]

2013-09-07 Thread Ben Hutchings
=btusb I: If#= 1 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb Signed-off-by: Noguchi Kazutosi Signed-off-by: Gustavo Padovan Signed-off-by: Ben Hutchings --- drivers/bluetooth/ath3k.c | 2 ++ drivers/bluetooth/btusb.c | 1 + 2 files changed, 3 insertions(+) --- a/drivers/bluetooth

[093/121] sound: Fix make allmodconfig on MIPS correctly

2013-09-07 Thread Ben Hutchings
KEN. Since that Kconfig symbol doesn't exist, this dependency will always evaluate to true. Apparently GENERIC_ISA_DMA_SUPPORT_BROKEN was meant to be used here. Signed-off-by: Paul Bolle Signed-off-by: Takashi Iwai Cc: Guenter Roeck Signed-off-by: Greg Kroah-Hartman Signed-off-by: Ben Hutchi

[071/121] perf/arm: Fix armpmu_map_hw_event()

2013-09-07 Thread Ben Hutchings
-off-by: Linus Torvalds Signed-off-by: Ben Hutchings --- arch/arm/kernel/perf_event.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) --- a/arch/arm/kernel/perf_event.c +++ b/arch/arm/kernel/perf_event.c @@ -116,7 +116,12 @@ armpmu_map_cache_event(const unsigned (* static int

[042/121] ixgbe: Fix Tx Hang issue with lldpad on 82598EB

2013-09-07 Thread Ben Hutchings
configure DCB for the device. The adapter will continually Tx hang and reset in a loop. Signed-off-by: Jacob Keller Tested-by: Phil Schmitt Tested-by: Jack Morgan Signed-off-by: Jeff Kirsher Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings --- drivers/net/ethernet/intel/ixgbe

[009/121] sysctl net: Keep tcp_syn_retries inside the boundary

2013-09-07 Thread Ben Hutchings
: David S. Miller Signed-off-by: Ben Hutchings --- net/ipv4/sysctl_net_ipv4.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/net/ipv4/sysctl_net_ipv4.c b/net/ipv4/sysctl_net_ipv4.c index 5485077..739b073 100644 --- a/net/ipv4/sysctl_net_ipv4.c +++ b/net/ipv4

[048/121] rt2x00: fix stop queue

2013-09-07 Thread Ben Hutchings
() and then clear QUEUE_STARTED bit, will race with rt2x00queue_unpause_queue(), so calling ieee80211_stop_queue() directly is the only available solution to fix the problem without major rework. Signed-off-by: Stanislaw Gruszka Signed-off-by: John W. Linville Signed-off-by: Ben Hutchings

[076/121] USB: mos7720: fix broken control requests

2013-09-07 Thread Ben Hutchings
deferred) control requests. This not only violates the no-DMA-from-stack requirement but could also lead to corrupt control requests being submitted. Signed-off-by: Johan Hovold Signed-off-by: Greg Kroah-Hartman Signed-off-by: Ben Hutchings --- drivers/usb/serial/mos7720.c | 21

[075/121] usb: add two quirky touchscreen

2013-09-07 Thread Ben Hutchings
Signed-off-by: Ben Hutchings --- drivers/usb/core/quirks.c | 6 ++ 1 file changed, 6 insertions(+) --- a/drivers/usb/core/quirks.c +++ b/drivers/usb/core/quirks.c @@ -78,6 +78,12 @@ static const struct usb_device_id usb_qu { USB_DEVICE(0x04d8, 0x000c), .driver_info

[079/121] libata: apply behavioral quirks to sil3826 PMP

2013-09-07 Thread Ben Hutchings
Image 3726. Specifically fixes the repeated timeout/reset process which previously afflicted the 3726, as described from line 290. Slightly based on notes from: https://bugzilla.redhat.com/show_bug.cgi?id=890237 Signed-off-by: Terry Suereth Signed-off-by: Tejun Heo Signed-off-by: Ben Hutchings

[055/121] iwl4965: reset firmware after rfkill off

2013-09-07 Thread Ben Hutchings
: Ben Hutchings --- drivers/net/wireless/iwlegacy/iwl4965-base.c | 10 +- drivers/net/wireless/iwlegacy/iwl-core.c | 1 + 2 files changed, 6 insertions(+), 5 deletions(-) --- a/drivers/net/wireless/iwlegacy/iwl4965-base.c +++ b/drivers/net/wireless/iwlegacy/iwl4965-base.c @@ -868,12

[020/121] ALSA: ak4xx-adda: info leak in ak4xxx_capture_source_info()

2013-09-07 Thread Ben Hutchings
Carpenter Signed-off-by: Takashi Iwai Signed-off-by: Ben Hutchings --- sound/i2c/other/ak4xxx-adda.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/i2c/other/ak4xxx-adda.c b/sound/i2c/other/ak4xxx-adda.c index cef813d..ed726d1 100644 --- a/sound/i2c/other/ak4xxx-ad

[016/121] drm/i915/lvds: ditch ->prepare special case

2013-09-07 Thread Ben Hutchings
8614.html Cc: Takashi Iwai Cc: Giacomo Comes Acked-by: Chris Wilson Tested-by: Takashi Iwai Signed-Off-by: Daniel Vetter Signed-off-by: Ben Hutchings --- drivers/gpu/drm/i915/intel_lvds.c | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) --- a/drivers/gpu/drm/i915/intel_lv

[025/121] nl80211: fix mgmt tx status and testmode reporting for netns

2013-09-07 Thread Ben Hutchings
correctly. Mgmt tx status was multicasted to a different (default) netns instead of the one the AP was in. Signed-off-by: Michal Kazior Signed-off-by: Johannes Berg Signed-off-by: Ben Hutchings --- net/wireless/nl80211.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) --- a/net

[012/121] usbnet: do not pretend to support SG/TSO

2013-09-07 Thread Ben Hutchings
en/if usbnet really supports SG for devices who could get a performance gain. Based on a prior patch from Freddy Xin Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings --- drivers/net/usb/smsc75xx.c | 12 +++- 1 file changed, 3 insertions(+), 9 dele

[011/121] ipv6: take rtnl_lock and mark mrt6 table as freed on namespace cleanup

2013-09-07 Thread Ben Hutchings
RSP CR2: 882018552020 Reported-by: Srivatsa S. Bhat Tested-by: Srivatsa S. Bhat Signed-off-by: Hannes Frederic Sowa Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings --- net/ipv6/ip6mr.c | 5 + 1 file changed, 5 insertions(+) diff --git a/net/ipv6/ip6mr.c b/net/ipv6/ip6m

[054/121] iwl4965: set power mode early

2013-09-07 Thread Ben Hutchings
other commands. Otherwise it will fail to start with Microcode error. Signed-off-by: Stanislaw Gruszka Signed-off-by: John W. Linville [bwh: Backported to 3.2: adjust filename, context, naming] Signed-off-by: Ben Hutchings --- drivers/net/wireless/iwlegacy/iwl4965-base.c | 6 +++--- 1 file

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