[PATCH 3.16 013/129] clk: dove: fix refcount leak in dove_clk_init()

2019-07-07 Thread Ben Hutchings
ks") Signed-off-by: Stephen Boyd [bwh: Backported to 3.16: There is no ddnp variable here] Signed-off-by: Ben Hutchings --- --- a/drivers/clk/mvebu/dove.c +++ b/drivers/clk/mvebu/dove.c @@ -187,7 +187,9 @@ static void __init dove_clk_init(struct mvebu_coreclk_setup(np, _coreclks)

[PATCH 3.16 012/129] clk: armada-xp: fix refcount leak in axp_clk_init()

2019-07-07 Thread Ben Hutchings
of the of_node_put() when done. Add the missing of_node_put() to release the refcount. Signed-off-by: Yangtao Li Reviewed-by: Gregory CLEMENT Fixes: 0a11a6ae9437 ("clk: mvebu: armada-xp: maintain clock init order") Signed-off-by: Stephen Boyd Signed-off-by: Ben Hutchings --- drivers/clk/mvebu/a

[PATCH 3.16 002/129] staging: iio: adt7316: invert the logic of the check for an ldac pin

2019-07-07 Thread Ben Hutchings
: iio: new ADT7316/7/8 and ADT7516/7/9 driver") Signed-off-by: Jonathan Cameron [bwh: Backported to 3.16: adjust context] Signed-off-by: Ben Hutchings --- drivers/staging/iio/addac/adt7316.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/staging/iio/addac/adt7316.c +++

[PATCH 3.16 018/129] drm: Fix error handling in drm_legacy_addctx

2019-07-07 Thread Ben Hutchings
r type here] Signed-off-by: Ben Hutchings --- drivers/gpu/drm/drm_context.c | 15 +-- 1 file changed, 9 insertions(+), 6 deletions(-) --- a/drivers/gpu/drm/drm_context.c +++ b/drivers/gpu/drm/drm_context.c @@ -309,19 +309,22 @@ int drm_addctx(struct drm_device *dev, v { struct

[PATCH 3.16 003/129] staging: iio: adt7316: allow adt751x to use internal vref for all dacs

2019-07-07 Thread Ben Hutchings
support internal vref for all dacs. Change the else if to an if so both bits are checked rather than just one or the other. Signed-off-by: Jeremy Fertic Fixes: 35f6b6b86ede ("staging: iio: new ADT7316/7/8 and ADT7516/7/9 driver") Signed-off-by: Jonathan Cameron Signed-off-by: Ben

[PATCH 3.16 015/129] staging: iio: adt7316: fix handling of dac high resolution option

2019-07-07 Thread Ben Hutchings
r") Signed-off-by: Jeremy Fertic Signed-off-by: Jonathan Cameron [bwh: Backported to 3.16: adjust context] Signed-off-by: Ben Hutchings --- drivers/staging/iio/addac/adt7316.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) --- a/drivers/staging/iio/addac/adt7316.c +++ b/dri

[PATCH 3.16 000/129] 3.16.70-rc1 review

2019-07-07 Thread Ben Hutchings
[c25d47888f0fb3d836d68322d4aea2caf31a75a6] Bart Van Assche (1): scsi: target/iscsi: Avoid iscsit_release_commands_from_conn() deadlock [32e36bfbcf31452a854263e7c7f32fbefc4b44d8] Ben Hutchings (1): binder: Replace "%p" with "%pK" for stable [fdfb4a99b6ab8c393db1

[PATCH 3.16 017/129] staging: iio: adt7316: fix the dac write calculation

2019-07-07 Thread Ben Hutchings
he lsb register. Fixes: 35f6b6b86ede ("staging: iio: new ADT7316/7/8 and ADT7516/7/9 driver") Signed-off-by: Jeremy Fertic Signed-off-by: Jonathan Cameron Signed-off-by: Ben Hutchings --- drivers/staging/iio/addac/adt7316.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-

[PATCH 3.16 011/129] clk: kirkwood: fix refcount leak in kirkwood_clk_init()

2019-07-07 Thread Ben Hutchings
of the of_node_put() when done. Add the missing of_node_put() to release the refcount. Signed-off-by: Yangtao Li Reviewed-by: Gregory CLEMENT Fixes: 58d516ae95cb ("clk: mvebu: kirkwood: maintain clock init order") Signed-off-by: Stephen Boyd [bwh: Backported to 3.16: adjust context] Signed-o

[PATCH 3.16 001/129] staging: iio: adt7316: fix register and bit definitions

2019-07-07 Thread Ben Hutchings
in this driver so I would not suggest backporting these fixes to stable trees. Signed-off-by: Jeremy Fertic Fixes: 35f6b6b86ede ("staging: iio: new ADT7316/7/8 and ADT7516/7/9 driver") Signed-off-by: Jonathan Cameron Signed-off-by: Ben Hutchings --- drivers/staging/iio/addac/adt7316.c | 6 +++-

[PATCH 3.16 028/129] media: v4l2: i2c: ov7670: Fix PLL bypass register values

2019-07-07 Thread Ben Hutchings
Signed-off-by: Jacopo Mondi Signed-off-by: Sakari Ailus Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Ben Hutchings --- drivers/media/i2c/ov7670.c | 16 ++-- 1 file changed, 6 insertions(+), 10 deletions(-) --- a/drivers/media/i2c/ov7670.c +++ b/drivers/media/i2c/ov7670.c @

[PATCH 3.16 023/129] selinux: avoid silent denials in permissive mode under RCU walk

2019-07-07 Thread Ben Hutchings
uot; - Adjust context] Signed-off-by: Ben Hutchings --- --- a/security/selinux/avc.c +++ b/security/selinux/avc.c @@ -528,6 +528,7 @@ static inline int avc_sidcmp(u32 x, u32 * @perms : Permission mask bits * @ssid,@tsid,@tclass : identifier of an AVC entry * @seqno : sequence number whe

[PATCH 3.16 031/129] ASoC: imx-sgtl5000: put of nodes if finding codec fails

2019-07-07 Thread Ben Hutchings
l5000 clock support for imx-sgtl5000") Signed-off-by: Stefan Agner Reviewed-by: Daniel Baluta Acked-by: Nicolin Chen Reviewed-by: Fabio Estevam Signed-off-by: Mark Brown Signed-off-by: Ben Hutchings --- sound/soc/fsl/imx-sgtl5000.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -

[PATCH 3.16 024/129] crypto: pcbc - remove bogus memcpy()s with src == dest

2019-07-07 Thread Ben Hutchings
PTO] pcbc: Add Propagated CBC template") Cc: David Howells Signed-off-by: Eric Biggers Signed-off-by: Herbert Xu [bwh: Backported to 3.16: adjust context] Signed-off-by: Ben Hutchings --- crypto/pcbc.c | 14 -- 1 file changed, 4 insertions(+), 10 deletions(-) --- a/crypto/

[PATCH 3.16 021/129] RDMA/ocrdma: Fix out of bounds index check in query pkey

2019-07-07 Thread Ben Hutchings
RDMA/ocrdma: Add driver for Emulex OneConnect IBoE RDMA adapter") Signed-off-by: Gal Pressman Signed-off-by: Jason Gunthorpe Signed-off-by: Ben Hutchings --- drivers/infiniband/hw/ocrdma/ocrdma_verbs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/infiniband/hw/ocrdm

[PATCH 3.16 027/129] media: s5p-jpeg: Correct step and max values for V4L2_CID_JPEG_RESTART_INTERVAL

2019-07-07 Thread Ben Hutchings
f-by: Pawe? Chmiel Reviewed-by: Jacek Anaszewski Reviewed-by: Sylwester Nawrocki Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Ben Hutchings --- drivers/media/platform/s5p-jpeg/jpeg-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/dri

[PATCH 3.16 032/129] m68k: Add -ffreestanding to CFLAGS

2019-07-07 Thread Ben Hutchings
=15451481644=2 Signed-off-by: Finn Thain Signed-off-by: Geert Uytterhoeven Signed-off-by: Ben Hutchings --- arch/m68k/Makefile | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) --- a/arch/m68k/Makefile +++ b/arch/m68k/Makefile @@ -59,7 +59,10 @@ cpuflags-$(CONFIG_M5206e):= $(call cc-o

[PATCH 3.16 005/129] clk: socfpga: fix refcount leak

2019-07-07 Thread Ben Hutchings
yd [bwh: Backported to 3.16: drop changes in clk-pll-a10.c] Signed-off-by: Ben Hutchings --- --- a/drivers/clk/socfpga/clk-pll.c +++ b/drivers/clk/socfpga/clk-pll.c @@ -102,6 +102,7 @@ static __init struct clk *__socfpga_pll_ clkmgr_np = of_find_compatible_node(NULL,

[PATCH 3.16 030/129] crypto: tgr192 - fix unaligned memory access

2019-07-07 Thread Ben Hutchings
("[CRYPTO] Use standard byte order macros wherever possible") Signed-off-by: Eric Biggers Signed-off-by: Herbert Xu Signed-off-by: Ben Hutchings --- crypto/tgr192.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- a/crypto/tgr192.c +++ b/crypto/tgr192.c @@ -25,8 +25,9 @@

[PATCH 3.16 020/129] IB/usnic: Fix out of bounds index check in query pkey

2019-07-07 Thread Ben Hutchings
/usnic: Add Cisco VIC low-level hardware driver") Signed-off-by: Gal Pressman Acked-by: Parvi Kaustubhi Signed-off-by: Jason Gunthorpe Signed-off-by: Ben Hutchings --- drivers/infiniband/hw/usnic/usnic_ib_verbs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/inf

[PATCH 3.16 029/129] crypto: hash - set CRYPTO_TFM_NEED_KEY if ->setkey() fails

2019-07-07 Thread Ben Hutchings
quot;incompletely keyed" states became theoretically accessible via AF_ALG -- though, the opportunities for causing real mischief seem pretty limited.] Fixes: 9fa68f620041 ("crypto: hash - prevent using keyed hashes without setting key") Signed-off-by: Eric Biggers Signed-off-by

[PATCH 3.16 033/129] pinctrl: sh-pfc: r8a7778: Fix HSPI pin numbers and names

2019-07-07 Thread Ben Hutchings
8: add HSPI pin groups") Signed-off-by: Geert Uytterhoeven Reviewed-by: Simon Horman Signed-off-by: Ben Hutchings --- drivers/pinctrl/sh-pfc/pfc-r8a7778.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- a/drivers/pinctrl/sh-pfc/pfc-r8a7778.c +++ b/drivers/pinctrl/sh-pfc/pfc-

[PATCH 3.16 039/129] mtd: docg3: Fix passing zero to 'PTR_ERR' warning in doc_probe_device

2019-07-07 Thread Ben Hutchings
' Fixes: ae9d4934b2d7 ("mtd: docg3: add multiple floor support") Signed-off-by: YueHaibing Acked-by: Robert Jarzmik Signed-off-by: Boris Brezillon Signed-off-by: Ben Hutchings --- drivers/mtd/devices/docg3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/mtd/devic

[PATCH 3.16 051/129] rtc: 88pm860x: fix unintended sign extension

2019-07-07 Thread Ben Hutchings
ot;mfd: Add rtc support to 88pm860x") Signed-off-by: Colin Ian King Signed-off-by: Alexandre Belloni Signed-off-by: Ben Hutchings --- drivers/rtc/rtc-88pm860x.c | 21 ++--- 1 file changed, 14 insertions(+), 7 deletions(-) --- a/drivers/rtc/rtc-88pm860x.c +++ b/drivers/rtc/rtc-8

[PATCH 3.16 048/129] USB: serial: cp210x: add ID for Ingenico 3070

2019-07-07 Thread Ben Hutchings
with embedded USB-to-Serial converter. Signed-off-by: Ivan Mironov Signed-off-by: Johan Hovold Signed-off-by: Ben Hutchings --- drivers/usb/serial/cp210x.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/usb/serial/cp210x.c +++ b/drivers/usb/serial/cp210x.c @@ -57,6 +57,7 @@ static const struct

[PATCH 3.16 042/129] devres: always use dev_name() in devm_ioremap_resource()

2019-07-07 Thread Ben Hutchings
00-e7400fff : e740.ethernet ee20-ee2001ff : ee20.rpc ee208000-ee2080ff : ee20.rpc Fixes: 72f8c0bfa0de ("lib: devres: add convenience function to remap a resource") Signed-off-by: Sergei Shtylyov Signed-off-by: Greg Kroah-Hartman Signed-off-by: Ben Hutchings --- lib/de

[PATCH 3.16 037/129] mtd: docg3: Don't leak docg3->bbt in error path

2019-07-07 Thread Ben Hutchings
3.16.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Richard Weinberger commit 45c2ebd702a468d5037cf16aa4f8ea8d67776f6a upstream. Signed-off-by: Richard Weinberger Signed-off-by: Brian Norris Signed-off-by: Ben Hutchings --- drivers/mtd

[PATCH 3.16 007/129] clk: imx6q: fix refcount leak in imx6q_clocks_init()

2019-07-07 Thread Ben Hutchings
of the of_node_put() when done. Add the missing of_node_put() to release the refcount. Signed-off-by: Yangtao Li Fixes: 2acd1b6f889c ("ARM: i.MX6: implement clocks using common clock framework") Signed-off-by: Stephen Boyd [bwh: Backported to 3.16: adjust filename] Signed-off-by: Ben Hutchings ---

[PATCH 3.16 043/129] crypto: testmgr - skip crc32c context test for ahash algorithms

2019-07-07 Thread Ben Hutchings
, and also they prevent treating a crypto self-test failure as a bug when fuzzing the kernel.) Fixes: 8e3ee85e68c5 ("crypto: crc32c - Test descriptor context format") Signed-off-by: Eric Biggers Signed-off-by: Herbert Xu Signed-off-by: Ben Hutchings --- crypto/testmgr.c | 14 ++

[PATCH 3.16 041/129] ext2: Fix underflow in ext2_max_size()

2019-07-07 Thread Ben Hutchings
nge of possible block sizes look like: bits file_size 10 17247252480 11275415851008 12 2196873666560 13 2197948973056 14 2198486220800 15 2198754754560 16 219906752 Reported-by: yangerkun Signed-off-by: Jan Kara Signed-off-by: Ben Hutchings --- fs/ext2/super.c |

[PATCH 3.16 040/129] tty: ipwireless: Fix potential NULL pointer dereference

2019-07-07 Thread Ben Hutchings
("ipwireless: driver for PC Card 3G/UMTS modem") Signed-off-by: YueHaibing Signed-off-by: Greg Kroah-Hartman Signed-off-by: Ben Hutchings --- drivers/tty/ipwireless/hardware.c | 2 ++ 1 file changed, 2 insertions(+) --- a/drivers/tty/ipwireless/hardware.c +++ b/drivers/tty/ipwireless/

[PATCH 3.16 050/129] crypto: ahash - fix another early termination in hash walk

2019-07-07 Thread Ben Hutchings
the number of bytes remaining in the page, then later interpreted as the number of bytes remaining in the scatterlist element. Fix it. Fixes: 900a081f6912 ("crypto: ahash - Fix early termination in hash walk") Signed-off-by: Eric Biggers Signed-off-by: Herbert Xu Signed-off-by: Ben

[PATCH 3.16 034/129] hpet: Fix missing '=' character in the __setup() code of hpet_mmap_enable

2019-07-07 Thread Ben Hutchings
3945] HPET mmap enabled dmesg output with the kernel command line parameter hpet_mmap=0 [0.204652] HPET mmap disabled Fixes: 3d035f580699 ("drivers/char/hpet.c: allow user controlled mmap for user processes") Signed-off-by: Buland Singh Signed-off-by: Greg Kroah-Hartman Signed-o

[PATCH 3.16 054/129] bcache: never writeback a discard operation

2019-07-07 Thread Ben Hutchings
ned-off-by: Coly Li Signed-off-by: Jens Axboe [bwh: Backported to 3.16: check REQ_DISCARD flag instead of calling bio_op()] Signed-off-by: Ben Hutchings --- drivers/md/bcache/writeback.h | 3 +++ 1 file changed, 3 insertions(+) --- a/drivers/md/bcache/writeback.h +++ b/drivers/md/bcache/writeback.h @@ -68

[PATCH 3.16 047/129] rtc: ds1672: fix unintended sign extension

2019-07-07 Thread Ben Hutchings
] RTC subsystem: DS1672 driver") Signed-off-by: Colin Ian King Signed-off-by: Alexandre Belloni Signed-off-by: Ben Hutchings --- drivers/rtc/rtc-ds1672.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/drivers/rtc/rtc-ds1672.c +++ b/drivers/rtc/rtc-ds1672.c @@ -60,7

[PATCH 3.16 044/129] crypto: arm64/aes-ccm - fix logical bug in AAD MAC handling

2019-07-07 Thread Ben Hutchings
. Reported-by: Eric Biggers Fixes: a3fd82105b9d1 ("arm64/crypto: AES in CCM mode using ARMv8 Crypto ...") Signed-off-by: Ard Biesheuvel Signed-off-by: Herbert Xu Signed-off-by: Ben Hutchings --- arch/arm64/crypto/aes-ce-ccm-core.S | 5 +++-- 1 file changed, 3 insertions(+), 2

[PATCH 3.16 056/129] jbd2: clear dirty flag when revoking a buffer from an older transaction

2019-07-07 Thread Ben Hutchings
). Signed-off-by: zhangyi (F) Signed-off-by: Theodore Ts'o Reviewed-by: Jan Kara Signed-off-by: Ben Hutchings --- fs/jbd2/transaction.c | 17 - 1 file changed, 12 insertions(+), 5 deletions(-) --- a/fs/jbd2/transaction.c +++ b/fs/jbd2/transaction.c @@ -1479,14 +1479

[PATCH 3.16 058/129] ext4: update quota information while swapping boot loader inode

2019-07-07 Thread Ben Hutchings
"revert" somtimes, so update the quota while all operations has been finished. Signed-off-by: yangerkun Signed-off-by: Theodore Ts'o [bwh: Backported to 3.16: - Include - dquot_initialize() does not return an erro - Adjust context] Signed-off-by: Ben Hutchings --- --- a/fs/ext4/ioctl.

[PATCH 3.16 055/129] bcache: treat stale && dirty keys as bad keys

2019-07-07 Thread Ben Hutchings
of these stale && dirty keys, and treat them as bad key in bch_extent_bad(). (Coly Li: fix indent which was modified by sender's email client) Signed-off-by: Tang Junhui Signed-off-by: Coly Li Signed-off-by: Jens Axboe [bwh: Backported to 3.16: adjust context] Signed-off-by: Ben Hutchings

[PATCH 3.16 064/129] iscsi_ibft: Fix missing break in switch statement

2019-07-07 Thread Ben Hutchings
T_TGT_NAME, which is unnecessary. This bug was found thanks to the ongoing efforts to enable -Wimplicit-fallthrough. Fixes: b33a84a38477 ("ibft: convert iscsi_ibft module to iscsi boot lib") Signed-off-by: Gustavo A. R. Silva Signed-off-by: Konrad Rzeszutek Wilk Signed-off-by: Ben Hut

[PATCH 3.16 067/129] serial: 8250_pci: Fix number of ports for ACCES serial cards

2019-07-07 Thread Ben Hutchings
show up as eight. Fixes: c8d192428f52 ("serial: 8250: added acces i/o products quad and octal serial cards") Signed-off-by: Jay Dolan Signed-off-by: Greg Kroah-Hartman Signed-off-by: Ben Hutchings --- drivers/tty/serial/8250/8250_pci.c | 36 +++--- 1 file c

[PATCH 3.16 066/129] tpm: Fix off-by-one when reading binary_bios_measurements

2019-07-07 Thread Ben Hutchings
- Adjust filename, context] Signed-off-by: Ben Hutchings --- --- a/drivers/char/tpm/tpm_eventlog.c +++ b/drivers/char/tpm/tpm_eventlog.c @@ -81,7 +81,7 @@ static void *tpm_bios_measurements_start for (i = 0; i < *pos; i++) { event = addr; - if ((addr +

[PATCH 3.16 053/129] rtc: pm8xxx: fix unintended sign extension

2019-07-07 Thread Ben Hutchings
rivers/rtc: add support for Qualcomm PMIC8xxx RTC") Signed-off-by: Colin Ian King Signed-off-by: Alexandre Belloni Signed-off-by: Ben Hutchings --- drivers/rtc/rtc-pm8xxx.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) --- a/drivers/rtc/rtc-pm8xxx.c +++ b/drivers/rtc/rtc-pm8xx

[PATCH 3.16 065/129] tpm/tpm_i2c_atmel: Return -E2BIG when the transfer is incomplete

2019-07-07 Thread Ben Hutchings
behaviour. Fixes: a2871c62e186 ("tpm: Add support for Atmel I2C TPMs") Signed-off-by: Jarkko Sakkinen Reviewed-by: Stefan Berger Reviewed-by: Jerry Snitselaar [bwh: Backported to 3.16: adjust context] Signed-off-by: Ben Hutchings --- --- a/drivers/char/tpm/tpm_i2c_atmel.c +++ b/driver

[PATCH 3.16 061/129] pinctrl: sh-pfc: r8a7791: Fix scifb2_data_c pin group

2019-07-07 Thread Ben Hutchings
e selected. Fixes: 5088451962389924 ("pinctrl: sh-pfc: r8a7791 PFC support") Signed-off-by: Geert Uytterhoeven Reviewed-by: Simon Horman Signed-off-by: Ben Hutchings --- drivers/pinctrl/sh-pfc/pfc-r8a7791.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/pinctrl/

[PATCH 3.16 069/129] leds: lp55xx: fix null deref on firmware load failure

2019-07-07 Thread Ben Hutchings
c06d178df11 ("leds-lp55xx: support firmware interface") Signed-off-by: Michal Kazior Signed-off-by: Jacek Anaszewski Signed-off-by: Ben Hutchings --- drivers/leds/leds-lp55xx-common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/drivers/leds/leds-lp55xx-comm

[PATCH 3.16 079/129] irqchip/brcmstb-l2: Use _irqsave locking variants in non-interrupt code

2019-07-07 Thread Ben Hutchings
n Fainelli [maz: tidied up $SUBJECT] Signed-off-by: Marc Zyngier [bwh: Backported to 3.16: adjust context] Signed-off-by: Ben Hutchings --- drivers/irqchip/irq-brcmstb-l2.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) --- a/drivers/irqchip/irq-brcmstb-l2.c +++ b/drivers/i

[PATCH 3.16 080/129] powerpc/83xx: Also save/restore SPRG4-7 during suspend

2019-07-07 Thread Ben Hutchings
pc/mm: e300c2/c3/c4 TLB errata workaround") Signed-off-by: Christophe Leroy Signed-off-by: Michael Ellerman Signed-off-by: Ben Hutchings --- arch/powerpc/platforms/83xx/suspend-asm.S | 34 ++- 1 file changed, 27 insertions(+), 7 deletions(-) --- a/arch/powerpc/platforms/83

[PATCH 3.16 085/129] powerpc/mm/hash: Handle mmap_min_addr correctly in get_unmapped_area topdown search

2019-07-07 Thread Ben Hutchings
his handle cases in which mmap_min_addr > PAGE_SIZE. Fixes: fba2369e6ceb ("mm: use vm_unmapped_area() on powerpc architecture") Reviewed-by: Laurent Dufour Signed-off-by: Aneesh Kumar K.V Signed-off-by: Michael Ellerman [bwh: Backported to 3.16: adjust context] Signed-off-by: Ben Hutch

[PATCH 3.16 081/129] powerpc/wii: properly disable use of BATs when requested.

2019-07-07 Thread Ben Hutchings
. This patch makes sure that the specific wii RAM mapping function takes it into account as well. Fixes: de32400dd26e ("wii: use both mem1 and mem2 as ram") Reviewed-by: Jonathan Neuschafer Signed-off-by: Christophe Leroy Signed-off-by: Michael Ellerman Signed-off-by: Ben Hutchings --- ar

[PATCH 3.16 071/129] ASoC: fsl_esai: fix register setting issue in RIGHT_J mode

2019-07-07 Thread Ben Hutchings
d24e76b698 ("ASoC: fsl_esai: Add ESAI CPU DAI driver") Signed-off-by: Shengjiu Wang Reviewed-by: Fabio Estevam Ackedy-by: Nicolin Chen Signed-off-by: Mark Brown Signed-off-by: Ben Hutchings --- sound/soc/fsl/fsl_esai.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-)

[PATCH 3.16 009/129] clk: vf610: fix refcount leak in vf610_clocks_init()

2019-07-07 Thread Ben Hutchings
of the of_node_put() when done. Add the missing of_node_put() to release the refcount. Signed-off-by: Yangtao Li Fixes: 1f2c5fd5f048 ("ARM: imx: add VF610 clock support") Signed-off-by: Stephen Boyd [bwh: Backported to 3.16: adjust filename] Signed-off-by: Ben Hutchings --- arch/arm/mach-imx/clk-v

[PATCH 3.16 068/129] serial: 8250_pci: Have ACCES cards that use the four port Pericom PI7C9X7954 chip use the pci_pericom_setup()

2019-07-07 Thread Ben Hutchings
("serial: 8250: added acces i/o products quad and octal serial cards") Signed-off-by: Jay Dolan Signed-off-by: Greg Kroah-Hartman Signed-off-by: Ben Hutchings --- drivers/tty/serial/8250/8250_pci.c | 105 + 1 file changed, 105 insertions(+) --- a/drivers/

[PATCH 3.16 076/129] ASoC: fsl: Fix of-node refcount unbalance in fsl_ssi_probe_from_dt()

2019-07-07 Thread Ben Hutchings
to the top of the function as there is no suitable block scope - Adjust context] Signed-off-by: Ben Hutchings --- --- a/sound/soc/fsl/fsl_ssi.c +++ b/sound/soc/fsl/fsl_ssi.c @@ -1229,6 +1229,7 @@ static int fsl_ssi_probe(struct platform struct fsl_ssi_private *ssi_private; i

[PATCH 3.16 074/129] perf header: Fix wrong node write in NUMA_TOPOLOGY feature

2019-07-07 Thread Ben Hutchings
Cc: Alexander Shishkin Cc: Peter Zijlstra Fixes: fbe96f29ce4b ("perf tools: Make perf.data more self-descriptive (v8)" Link: http://lkml.kernel.org/r/20190219095815.15931-2-jo...@kernel.org Signed-off-by: Arnaldo Carvalho de Melo [bwh: Backported to 3.16: adjust context] Signed-o

[PATCH 3.16 060/129] parport_pc: fix find_superio io compare code, should use equal test.

2019-07-07 Thread Ben Hutchings
5a2 ("parport_pc: clean up the modified while loops using for") Cc: Alan Cox Signed-off-by: QiaoChong [rewrite the commit message] Signed-off-by: Sudip Mukherjee Signed-off-by: Greg Kroah-Hartman Signed-off-by: Ben Hutchings --- drivers/parport/parport_pc.c | 2 +- 1 file changed

[PATCH 3.16 072/129] cdc-wdm: pass return value of recover_from_urb_loss

2019-07-07 Thread Ben Hutchings
c-wdm") Signed-off-by: YueHaibing Signed-off-by: Greg Kroah-Hartman Signed-off-by: Ben Hutchings --- drivers/usb/class/cdc-wdm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/usb/class/cdc-wdm.c +++ b/drivers/usb/class/cdc-wdm.c @@ -1089,7 +1089,7 @@ static int wdm_post_re

[PATCH 3.16 078/129] fs/nfs: Fix nfs_parse_devname to not modify it's argument

2019-07-07 Thread Ben Hutchings
y: Trond Myklebust Signed-off-by: Ben Hutchings --- fs/nfs/super.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/fs/nfs/super.c +++ b/fs/nfs/super.c @@ -1893,7 +1893,7 @@ static int nfs_parse_devname(const char /* kill possible hostname list: not supported */

[PATCH 3.16 090/129] powerpc/powernv: Make opal log only readable by root

2019-07-07 Thread Ben Hutchings
Donnellan Signed-off-by: Michael Ellerman Signed-off-by: Ben Hutchings --- arch/powerpc/platforms/powernv/opal-msglog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/arch/powerpc/platforms/powernv/opal-msglog.c +++ b/arch/powerpc/platforms/powernv/opal-msglog.c @@ -92,7 +9

[PATCH 3.16 095/129] powerpc/32: Clear on-stack exception marker upon exception return

2019-07-07 Thread Ben Hutchings
Signed-off-by: Ben Hutchings --- arch/powerpc/kernel/entry_32.S | 9 + 1 file changed, 9 insertions(+) --- a/arch/powerpc/kernel/entry_32.S +++ b/arch/powerpc/kernel/entry_32.S @@ -757,6 +757,9 @@ fast_exception_return: mtcrr10 lwz r10,_LINK(r11) mtlrr10

[PATCH 3.16 077/129] KVM: x86/mmu: Do not cache MMIO accesses while memslots are in flux

2019-07-07 Thread Ben Hutchings
MMIO cache during updates will make its behavior consistent with the MMIO spte behavior and documentation. Fixes: 56f17dd3fbc4 ("kvm: x86: fix stale mmio cache bug") Signed-off-by: Sean Christopherson Signed-off-by: Paolo Bonzini [ Signed-off-by: Ben Hutchings --- arch/x86/kvm

[PATCH 3.16 088/129] serial: 8250_of: assume reg-shift of 2 for mrvl,mmp-uart

2019-07-07 Thread Ben Hutchings
-by: Ben Hutchings --- drivers/tty/serial/of_serial.c | 4 1 file changed, 4 insertions(+) --- a/drivers/tty/serial/of_serial.c +++ b/drivers/tty/serial/of_serial.c @@ -93,6 +93,10 @@ static int of_platform_serial_setup(stru if (of_property_read_u32(np, "reg-offset&quo

[PATCH 3.16 094/129] 9p: use inode->i_lock to protect i_size_write() under 32-bit

2019-07-07 Thread Ben Hutchings
another subsystem] Link: http://lkml.kernel.org/r/20190124063514.8571-2-hout...@huawei.com Fixes: 7549ae3e81cc ("9p: Use the i_size_[read, write]() macros instead of using inode->i_size directly.") Reported-by: Xing Gaopeng Signed-off-by: Hou Tao Signed-off-by: Dominique Martinet [bwh

[PATCH 3.16 102/129] mm: fix potential data race in SyS_swapon

2019-07-07 Thread Ben Hutchings
oop further down: renamed cpu there. Reported-by: Andrey Konovalov Signed-off-by: Hugh Dickins Signed-off-by: Al Viro Signed-off-by: Ben Hutchings --- mm/swapfile.c | 25 +++-- 1 file changed, 7 insertions(+), 18 deletions(-) --- a/mm/swapfile.c +++ b/mm/swapfile.c @@ -2

[PATCH 3.16 084/129] btrfs: init csum_list before possible free

2019-07-07 Thread Ben Hutchings
ed to 3.16: adjust context] Signed-off-by: Ben Hutchings --- fs/btrfs/scrub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/fs/btrfs/scrub.c +++ b/fs/btrfs/scrub.c @@ -417,6 +417,7 @@ struct scrub_ctx *scrub_setup_ctx(struct sctx->pages_per_rd_bio = pages_per_rd_bio;

[PATCH 3.16 073/129] libertas_tf: don't set URB_ZERO_PACKET on IN USB transfer

2019-07-07 Thread Ben Hutchings
with tracebacks. Analogous issue was fixed in regular libertas driver in commit 6528d8804780 ("libertas: don't set URB_ZERO_PACKET on IN USB transfer"). Signed-off-by: Lubomir Rintel Reviewed-by: Steve deRosier Signed-off-by: Kalle Valo [bwh: Backported to 3.16: adjust filename] Signed-o

[PATCH 3.16 087/129] staging: android: ashmem: Avoid range_alloc() allocation with ashmem_mutex held.

2019-07-07 Thread Ben Hutchings
, for there is a plan to remove this code in near future. Signed-off-by: Tetsuo Handa Reviewed-by: Joel Fernandes Signed-off-by: Greg Kroah-Hartman [bwh: Backported to 3.16: adjust context] Signed-off-by: Ben Hutchings --- drivers/staging/android/ashmem.c | 42 ++-- 1

[PATCH 3.16 093/129] NFSv4.1: Reinitialise sequence results before retransmitting a request

2019-07-07 Thread Ben Hutchings
in the event of a signal we need to treat the request as if it had not been sent. Signed-off-by: Trond Myklebust [bwh: Backported to 3.16: adjust context] Signed-off-by: Ben Hutchings --- fs/nfs/nfs4proc.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) --- a/fs/nfs/nfs4proc.c

[PATCH 3.16 097/129] ip6mr: Do not call __IP6_INC_STATS() from preemptible context

2019-07-07 Thread Ben Hutchings
ip6_mr_forward().") Signed-off-by: Ido Schimmel Reported-by: Amit Cohen Signed-off-by: David S. Miller [bwh: Backported to 3.16: adjust context] Signed-off-by: Ben Hutchings --- net/ipv6/ip6mr.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) --- a/net/ipv6/ip6mr.c ++

[PATCH 3.16 119/129] l2tp: fix infoleak in l2tp_ip6_recvmsg()

2019-07-07 Thread Ben Hutchings
TPv3 IP encapsulation support for IPv6") Signed-off-by: Eric Dumazet Reported-by: syzbot Signed-off-by: David S. Miller [bwh: Backported to 3.16: adjust context] Signed-off-by: Ben Hutchings --- net/l2tp/l2tp_ip6.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) --- a/net/l2tp

[PATCH 3.16 008/129] clk: imx6sx: fix refcount leak in imx6sx_clocks_init()

2019-07-07 Thread Ben Hutchings
of the of_node_put() when done. Add the missing of_node_put() to release the refcount. Signed-off-by: Yangtao Li Fixes: d55135689019 ("ARM: imx: add clock driver for imx6sx") Signed-off-by: Stephen Boyd [bwh: Backported to 3.16: adjust filename] Signed-off-by: Ben Hutchings --- arch/arm/ma

[PATCH 3.16 086/129] ALSA: bebob: use more identical mod_alias for Saffire Pro 10 I/O against Liquid Saffire 56

2019-07-07 Thread Ben Hutchings
7, crc 25286 480 textual descriptor 484 minimal ASCII 488 4c495155 "LIQU" 48c 49445f53 "ID_S" 490 41464649 "AFFI" 494 52455f35 "RE_5" 498 3600 "6" Fixes: 25784ec2d034 ("ALSA: bebob: Add support for Foc

[PATCH 3.16 089/129] regulator: wm831x-dcdc: Fix list of wm831x_dcdc_ilim from mA to uA

2019-07-07 Thread Ben Hutchings
the array const and change to use unsigned int. Fixes: e4ee831f949a ("regulator: Add WM831x DC-DC buck convertor support") Signed-off-by: Axel Lin Acked-by: Charles Keepax Signed-off-by: Mark Brown Signed-off-by: Ben Hutchings --- drivers/regulator/wm831x-dcdc.c | 4 ++-- 1 file

[PATCH 3.16 100/129] CIFS: Fix read after write for files with read caching

2019-07-07 Thread Ben Hutchings
this by turning off caching regardless of the error code being returned. The patches fixes generic tests 075 and 112 from the xfs-tests. Signed-off-by: Pavel Shilovsky Signed-off-by: Steve French Reviewed-by: Ronnie Sahlberg Signed-off-by: Ben Hutchings --- fs/cifs/file.c | 12 +++- 1 file changed

[PATCH 3.16 091/129] Btrfs: fix corruption reading shared and compressed extents after hole punching

2019-07-07 Thread Ben Hutchings
red extents") Fixes: 005efedf2c7d0 ("Btrfs: fix read corruption of compressed and shared extents") Tested-by: Zygo Blaxell Signed-off-by: Filipe Manana Signed-off-by: David Sterba Signed-off-by: Ben Hutchings --- fs/btrfs/extent_io.c |

[PATCH 3.16 098/129] CIFS: Do not reset lease state to NONE on lease break

2019-07-07 Thread Ben Hutchings
ench [bwh: Backported to 3.16: drop change in smb311_operations] Signed-off-by: Ben Hutchings --- --- a/fs/cifs/smb2misc.c +++ b/fs/cifs/smb2misc.c @@ -420,7 +420,6 @@ smb2_tcon_has_lease(struct cifs_tcon *tc __u8 lease_state; struct list_head *tmp; struct cifsFileI

[PATCH 3.16 107/129] cpufreq: pxa2xx: remove incorrect __init annotation

2019-07-07 Thread Ben Hutchings
rgmann Acked-by: Viresh Kumar Reviewed-by: Nathan Chancellor Acked-by: Robert Jarzmik Signed-off-by: Rafael J. Wysocki Signed-off-by: Ben Hutchings --- drivers/cpufreq/pxa2xx-cpufreq.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/drivers/cpufreq/pxa2xx-cpufreq.c +++ b/drivers/c

[PATCH 3.16 104/129] s390/virtio: handle find on invalid queue gracefully

2019-07-07 Thread Ben Hutchings
] Signed-off-by: Ben Hutchings --- drivers/s390/kvm/virtio_ccw.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) --- a/drivers/s390/kvm/virtio_ccw.c +++ b/drivers/s390/kvm/virtio_ccw.c @@ -258,6 +258,8 @@ static void virtio_ccw_drop_indicators(s { struct virtio_ccw_vq_info *info

[PATCH 3.16 096/129] net-sysfs: Fix mem leak in netdev_register_kobject

2019-07-07 Thread Ben Hutchings
call kset_unregister to free 'dev->queues_kset' in error path of register_queue_kobjects, otherwise will cause a mem leak. Reported-by: Hulk Robot Fixes: 1d24eb4815d1 ("xps: Transmit Packet Steering") Signed-off-by: YueHaibing Signed-off-by: David S. Miller [bwh: Backported to 3

[PATCH 3.16 118/129] net/mlx4_core: Fix qp mtt size calculation

2019-07-07 Thread Ben Hutchings
-by: Tariq Toukan Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings --- drivers/net/ethernet/mellanox/mlx4/resource_tracker.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- a/drivers/net/ethernet/mellanox/mlx4/resource_tracker.c +++ b/drivers/net/ethernet/mel

[PATCH 3.16 109/129] xen, cpu_hotplug: Prevent an out of bounds access

2019-07-07 Thread Ben Hutchings
value than "nr_cpu_ids" to cpu_possible() or it results in an out of bounds access. Fixes: d68d82afd4c8 ("xen: implement CPU hotplugging") Signed-off-by: Dan Carpenter Reviewed-by: Juergen Gross Signed-off-by: Juergen Gross Signed-off-by: Ben Hutchings --- drivers/xen/cpu_hotpl

[PATCH 3.16 110/129] route: set the deleted fnhe fnhe_daddr to 0 in ip_del_fnhe to fix a race

2019-07-07 Thread Ben Hutchings
-by: David S. Miller Signed-off-by: Ben Hutchings --- net/ipv4/route.c | 4 1 file changed, 4 insertions(+) --- a/net/ipv4/route.c +++ b/net/ipv4/route.c @@ -1279,6 +1279,10 @@ static void ip_del_fnhe(struct fib_nh *n if (fnhe->fnhe_d

[PATCH 3.16 112/129] gro_cells: make sure device is up in gro_cells_receive()

2019-07-07 Thread Ben Hutchings
80050033 CR2: f4ca0b9e CR3: 94941000 CR4: 001406f0 Fixes: c9e6bc644e55 ("net: add gro_cells infrastructure") Signed-off-by: Eric Dumazet Reported-by: syzbot Signed-off-by: David S. Miller [bwh: Backported to 3.16: - Adjust filename, context - Return type is vo

[PATCH 3.16 127/129] mwifiex: Abort at too short BSS descriptor element

2019-07-07 Thread Ben Hutchings
size for each type and performs copying without checking the source size. This may lead to read over boundary. Fix this by putting the source size check in appropriate places. Signed-off-by: Takashi Iwai Signed-off-by: Kalle Valo [bwh: Backported to 3.16: adjust filename] Signed-off-by: Ben

[PATCH 3.16 114/129] It's wrong to add len to sector_nr in raid10 reshape twice

2019-07-07 Thread Ben Hutchings
to bio. If there is bad block it can't copy one chunk at a time, it needs to goto read_more. Now the sector_nr is wrong. It can cause data corruption. Signed-off-by: Xiao Ni Signed-off-by: Song Liu Signed-off-by: Ben Hutchings --- drivers/md/raid10.c | 1 - 1 file changed, 1 deletion

[PATCH 3.16 117/129] net/mlx4_core: Fix locking in SRIOV mode when switching between events and polling

2019-07-07 Thread Ben Hutchings
y: David S. Miller Signed-off-by: Ben Hutchings --- drivers/net/ethernet/mellanox/mlx4/cmd.c | 8 1 file changed, 8 insertions(+) --- a/drivers/net/ethernet/mellanox/mlx4/cmd.c +++ b/drivers/net/ethernet/mellanox/mlx4/cmd.c @@ -2196,6 +2196,8 @@ int mlx4_cmd_use_events(struc

[PATCH 3.16 115/129] md: Fix failed allocation of md_register_thread

2019-07-07 Thread Ben Hutchings
ees allocated resources. Committer node: Added similar fix to raid5.c, as suggested by Guoqing. Acked-by: Guoqing Jiang Signed-off-by: Aditya Pakki Signed-off-by: Song Liu Signed-off-by: Ben Hutchings --- drivers/md/raid10.c | 2 ++ drivers/md/raid5.c | 2 ++ 2 files changed, 4 inserti

[PATCH 3.16 103/129] mm, swap: bounds check swap_info array accesses to avoid NULL derefs

2019-07-07 Thread Ben Hutchings
swapin of synchronous device" - Use ACCESS_ONCE() instead of {READ,WRITE}_ONCE() - Adjust context] Signed-off-by: Ben Hutchings --- --- a/include/linux/swap.h +++ b/include/linux/swap.h @@ -451,6 +451,7 @@ extern sector_t map_swap_page(struct pag extern sector_t swapdev_block(int, pgoff_t

[PATCH 3.16 106/129] net/hsr: fix possible crash in add_timer()

2019-07-07 Thread Ben Hutchings
o 3.16: adjust context] Signed-off-by: Ben Hutchings --- net/hsr/hsr_device.c | 14 ++ 1 file changed, 6 insertions(+), 8 deletions(-) --- a/net/hsr/hsr_device.c +++ b/net/hsr/hsr_device.c @@ -78,9 +78,8 @@ void hsr_check_announce(struct net_devic if ((hsr_dev->operstate == IF_O

[PATCH 3.16 113/129] kernel/sysctl.c: add missing range check in do_proc_dointvec_minmax_conv

2019-07-07 Thread Ben Hutchings
ff-by: Zev Weiss Cc: Brendan Higgins Cc: Iurii Zaikin Cc: Kees Cook Cc: Luis Chamberlain Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds Signed-off-by: Ben Hutchings --- kernel/sysctl.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) --- a/kernel/sysctl.c ++

[PATCH 3.16 019/129] ARM: s3c24xx: Fix boolean expressions in osiris_dvs_notify

2019-07-07 Thread Ben Hutchings
r '&'. This issue was detected with the help of Coccinelle. Fixes: 4fa084af28ca ("ARM: OSIRIS: DVS (Dynamic Voltage Scaling) supoort.") Signed-off-by: Gustavo A. R. Silva [krzk: Fix -Wparentheses warning] Signed-off-by: Krzysztof Kozlowski Signed-off-by: Ben Hutchings --- arch/arm/ma

[PATCH 3.16 123/129] fuse: Add FOPEN_STREAM to use stream_open()

2019-07-07 Thread Ben Hutchings
EAM will be < v3.14 where just FOPEN_NONSEEKABLE is sufficient to implement streams without read vs write deadlock. Cc: sta...@vger.kernel.org # v3.14+ Signed-off-by: Kirill Smelkov Signed-off-by: Miklos Szeredi Signed-off-by: Ben Hutchings --- fs/fuse/file.c| 4 +++- include/uapi/lin

[PATCH 3.16 120/129] pptp: dst_release sk_dst_cache in pptp_sock_destruct

2019-07-07 Thread Ben Hutchings
d-by: Xiumei Mu Signed-off-by: Xin Long Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings --- drivers/net/ppp/pptp.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/net/ppp/pptp.c +++ b/drivers/net/ppp/pptp.c @@ -579,6 +579,7 @@ static void pptp_sock_destruct(struct so

[PATCH 3.16 022/129] security/selinux: pass 'flags' arg to avc_audit() and avc_has_perm_flags()

2019-07-07 Thread Ben Hutchings
the slow_avc_audit. Signed-off-by: NeilBrown Signed-off-by: Al Viro [bwh: Backported to 3.16 as dependency of commit 3a28cff3bd4b "selinux: avoid silent denials in permissive mode under RCU walk"] Signed-off-by: Ben Hutchings --- security/selinux/avc.c | 18 +-

[PATCH 3.16 108/129] lib/div64.c: off by one in shift

2019-07-07 Thread Ben Hutchings
: 658716d19f8f ("div64_u64(): improve precision on 32bit platforms") Signed-off-by: Stanislaw Gruszka Reported-by: Siarhei Volkau Tested-by: Siarhei Volkau Acked-by: Oleg Nesterov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds Signed-off-by: Ben Hutchings --- lib/div64.c | 4 ++

[PATCH 3.16 125/129] media: uvcvideo: Fix 'type' check leading to overflow

2019-07-07 Thread Ben Hutchings
://groups.google.com/forum/#!topic/syzkaller/Ot1fOE6v1d8 A similar (non-compiling) patch was provided at that time. Reported-by: syzbot Signed-off-by: Alistair Strachan Signed-off-by: Laurent Pinchart Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Ben Hutchings --- drivers/media/usb/uvc

[PATCH 3.16 014/129] staging: iio: adt7316: fix dac_bits assignment

2019-07-07 Thread Ben Hutchings
Signed-off-by: Jeremy Fertic Signed-off-by: Jonathan Cameron [bwh: Backported to 3.16: adjust context] Signed-off-by: Ben Hutchings --- drivers/staging/iio/addac/adt7316.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) --- a/drivers/staging/iio/addac/adt7316.c +++ b/drivers/s

[PATCH 3.16 129/129] netns: provide pure entropy for net_hash_mix()

2019-07-07 Thread Ben Hutchings
of CONFIG_NET_NS. Fixes: 0b4419162aa6 ("netns: introduce the net_hash_mix "salt" for hashes") Signed-off-by: Eric Dumazet Reported-by: Amit Klein Reported-by: Benny Pinkas Cc: Pavel Emelyanov Signed-off-by: David S. Miller [bwh: Backported to 3.16: adjust context] Signed-o

[PATCH 3.16 006/129] clk: samsung: exynos4: fix refcount leak in exynos4_get_xom()

2019-07-07 Thread Ben Hutchings
of the of_node_put() when done. Add the missing of_node_put() to release the refcount. Signed-off-by: Yangtao Li Fixes: e062b571777f ("clk: exynos4: register clocks using common clock framework") Signed-off-by: Stephen Boyd Signed-off-by: Ben Hutchings --- drivers/clk/samsung/clk-exynos4.c | 1

[PATCH 3.16 126/129] mwifiex: Fix possible buffer overflows at parsing bss descriptor

2019-07-07 Thread Ben Hutchings
filename] Signed-off-by: Ben Hutchings --- drivers/net/wireless/mwifiex/scan.c | 4 1 file changed, 4 insertions(+) --- a/drivers/net/wireless/mwifiex/scan.c +++ b/drivers/net/wireless/mwifiex/scan.c @@ -1171,6 +1171,8 @@ int mwifiex_update_bss_desc_with_ie(stru

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