[PATCH 3.16 254/294] hostap: avoid uninitialized variable use in hfa384x_get_rid

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit 48dc5fb3ba53b20418de8514700f63d88c5de3a3 upstream. The driver reads a value from hfa384x_from_bap(), which may fail, and then assigns the value to a local

[PATCH 3.16 231/294] i2o: hide unsafe ioctl on 64-bit

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann We get a warning about a broken pointer conversion on 64-bit architectures: drivers/message/i2o/i2o_config.c: In function 'i2o_cfg_passthru':

[PATCH 3.16 235/294] scsi: advansys: remove #warning message

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann The advansys driver was converted to the proper DMA API in linux-4.2, but the 3.18-stable kernel still warns about this: drivers/scsi/advansys.c:71:2: warning: #warning this

[PATCH 3.16 254/294] hostap: avoid uninitialized variable use in hfa384x_get_rid

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit 48dc5fb3ba53b20418de8514700f63d88c5de3a3 upstream. The driver reads a value from hfa384x_from_bap(), which may fail, and then assigns the value to a local variable. gcc

[PATCH 3.16 255/294] iwlegacy: avoid warning about missing braces

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit 2cce76c3fab410520610a7d2f52faebc3cfcf843 upstream. gcc-6 warns about code in il3945_hw_txq_ctx_free() being somewhat ambiguous:

[PATCH 3.16 206/294] ethernet: amd: fix pci device ids

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Varka Bhadram commit ba69a3d78e4f51e65933a86b8b107c86709bb2f5 upstream. Normally any device ids will be above the corresponding device driver structure. This patch moves the

[PATCH 3.16 255/294] iwlegacy: avoid warning about missing braces

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit 2cce76c3fab410520610a7d2f52faebc3cfcf843 upstream. gcc-6 warns about code in il3945_hw_txq_ctx_free() being somewhat ambiguous:

[PATCH 3.16 206/294] ethernet: amd: fix pci device ids

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Varka Bhadram commit ba69a3d78e4f51e65933a86b8b107c86709bb2f5 upstream. Normally any device ids will be above the corresponding device driver structure. This patch moves the pci device ids

[PATCH 3.16 273/294] ARM: 8452/3: PJ4: make coprocessor access sequences buildable in Thumb2 mode

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Ard Biesheuvel commit 5008efc83bf85b647aa1cbc44718b1675bbb7444 upstream. The PJ4 inline asm sequence to write to cp15 cannot be built in Thumb-2 mode, due to the

[PATCH 3.16 273/294] ARM: 8452/3: PJ4: make coprocessor access sequences buildable in Thumb2 mode

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Ard Biesheuvel commit 5008efc83bf85b647aa1cbc44718b1675bbb7444 upstream. The PJ4 inline asm sequence to write to cp15 cannot be built in Thumb-2 mode, due to the way it performs arithmetic on

[PATCH 3.16 202/294] mm/init: fix zone boundary creation

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Oliver O'Halloran commit 90cae1fe1c3540f791d5b8e025985fa5e699b2bb upstream. As a part of memory initialisation the architecture passes an array to free_area_init_nodes()

[PATCH 3.16 268/294] staging: dgnc: Fix frame size is larger than 1024B

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Konrad Zapalowicz commit ea6e9dea2e72a7abd146a2c5bab726b27f34b36c upstream. This comit fixes the following sparse warnign: drivers/staging/dgnc/dgnc_tty.c:572:1:

[PATCH 3.16 202/294] mm/init: fix zone boundary creation

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Oliver O'Halloran commit 90cae1fe1c3540f791d5b8e025985fa5e699b2bb upstream. As a part of memory initialisation the architecture passes an array to free_area_init_nodes() which specifies the

[PATCH 3.16 268/294] staging: dgnc: Fix frame size is larger than 1024B

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Konrad Zapalowicz commit ea6e9dea2e72a7abd146a2c5bab726b27f34b36c upstream. This comit fixes the following sparse warnign: drivers/staging/dgnc/dgnc_tty.c:572:1: warning: the frame size

[PATCH 3.16 267/294] Staging: wlan-ng: fix sparse warning in prism2fw.c

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: A Raghavendra Rao commit 41cb65c4854e14f12b1cbb8215e509d8ad4d0c88 upstream. Fix the following sparse warning : In file included from

[PATCH 3.16 267/294] Staging: wlan-ng: fix sparse warning in prism2fw.c

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: A Raghavendra Rao commit 41cb65c4854e14f12b1cbb8215e509d8ad4d0c88 upstream. Fix the following sparse warning : In file included from drivers/staging/wlan-ng/prism2usb.c:5:0:

[PATCH 3.16 237/294] be2iscsi: Fix bogus WARN_ON length check

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Tim Gardner commit dd29dae00d39186890a5eaa2fe4ad8768bfd41a9 upstream. drivers/scsi/be2iscsi/be_main.c: In function 'be_sgl_create_contiguous':

[PATCH 3.16 237/294] be2iscsi: Fix bogus WARN_ON length check

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Tim Gardner commit dd29dae00d39186890a5eaa2fe4ad8768bfd41a9 upstream. drivers/scsi/be2iscsi/be_main.c: In function 'be_sgl_create_contiguous': drivers/scsi/be2iscsi/be_main.c:3187:18:

[PATCH 3.16 232/294] dm bufio: hide bogus warning

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann mips-gcc-5.3 warns about correct code on linux-3.18 and earlier: In file included from ../include/linux/blkdev.h:4:0, from

[PATCH 3.16 232/294] dm bufio: hide bogus warning

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann mips-gcc-5.3 warns about correct code on linux-3.18 and earlier: In file included from ../include/linux/blkdev.h:4:0, from ../drivers/md/dm-bufio.h:12,

[PATCH 3.16 275/294] ARM: 8160/1: drop warning about return_address not using unwind tables

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Uwe Kleine-König commit e16343c47e4276f5ebc77ca16feb5e50ca1918f9 upstream. The warning was introduced in 2009 (commit 4bf1fa5a34aa ([ARM] 5613/1: implement

[PATCH 3.16 275/294] ARM: 8160/1: drop warning about return_address not using unwind tables

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Uwe Kleine-König commit e16343c47e4276f5ebc77ca16feb5e50ca1918f9 upstream. The warning was introduced in 2009 (commit 4bf1fa5a34aa ([ARM] 5613/1: implement CALLER_ADDRESSx)). The only

Re: [PATCH] sysctl: add register_sysctl() dummy helper

2017-11-06 Thread Will Deacon
On Mon, Nov 06, 2017 at 02:36:40PM +0100, Arnd Bergmann wrote: > The register_sysctl() function has been around for five years with commit > fea478d4101a ("sysctl: Add register_sysctl for normal sysctl users") > but now that arm64 started using it, I ran into a compile error: > >

Re: [PATCH] sysctl: add register_sysctl() dummy helper

2017-11-06 Thread Will Deacon
On Mon, Nov 06, 2017 at 02:36:40PM +0100, Arnd Bergmann wrote: > The register_sysctl() function has been around for five years with commit > fea478d4101a ("sysctl: Add register_sysctl for normal sysctl users") > but now that arm64 started using it, I ran into a compile error: > >

[PATCH 3.16 264/294] Staging: iio: adc: fix indent on break statement

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Colin Ian King commit b6acb0cfc21293a1bfc283e9217f58f7474ef728 upstream. Fix indent warning when building with gcc 6: drivers/staging/iio/adc/ad7192.c:239:4:

[PATCH 3.16 264/294] Staging: iio: adc: fix indent on break statement

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Colin Ian King commit b6acb0cfc21293a1bfc283e9217f58f7474ef728 upstream. Fix indent warning when building with gcc 6: drivers/staging/iio/adc/ad7192.c:239:4: warning: statement is indented

[PATCH 3.16 286/294] mtd: cfi: reduce stack size

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit d09957fbb4d0b059b3176b510540df69048ad170 upstream. The cfi_staa_write_buffers function uses a large amount of kernel stack whenever

[PATCH 3.16 286/294] mtd: cfi: reduce stack size

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit d09957fbb4d0b059b3176b510540df69048ad170 upstream. The cfi_staa_write_buffers function uses a large amount of kernel stack whenever CONFIG_MTD_MAP_BANK_WIDTH_32 is set,

[PATCH 3.16 262/294] staging: imx-drm: fix indentation warning

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann gcc-6 produces a harmless warning: drivers/staging/imx-drm/imx-hdmi.c: In function 'hdmi_config_AVI': drivers/staging/imx-drm/imx-hdmi.c:967:2: error: this 'else'

[PATCH 3.16 262/294] staging: imx-drm: fix indentation warning

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann gcc-6 produces a harmless warning: drivers/staging/imx-drm/imx-hdmi.c: In function 'hdmi_config_AVI': drivers/staging/imx-drm/imx-hdmi.c:967:2: error: this 'else' clause does

[PATCH 3.16 274/294] ARM: OMAP: Fix Kconfig warning for omap1

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Tony Lindgren commit 52aaac5ae52ad9a7016410ffeedbaf24b722f3a2 upstream. Commit 21278aeafbfa ("ARM: use menuconfig for sub-arch menus") improved the sub-arch menus, but

[PATCH 3.16 290/294] MIPS: elf2ecoff: Ignore PT_MIPS_ABIFLAGS program headers.

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Ralf Baechle commit 26f7c4bd05cf34e63a4a794150ab66a40a5a84a9 upstream. These are generated by very recent toolchains and result in an error message when attenpting to

[PATCH 3.16 270/294] x86/boot: Add CONFIG_PARAVIRT_SPINLOCKS quirk to arch/x86/boot/compressed/misc.h

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Ingo Molnar commit 927392d73a97d8d235bb65400e2e3c7f0bec2b6f upstream. Linus reported the following new warning on x86 allmodconfig with GCC 5.1: >

[PATCH 3.16 274/294] ARM: OMAP: Fix Kconfig warning for omap1

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Tony Lindgren commit 52aaac5ae52ad9a7016410ffeedbaf24b722f3a2 upstream. Commit 21278aeafbfa ("ARM: use menuconfig for sub-arch menus") improved the sub-arch menus, but accidentally caused new

[PATCH 3.16 290/294] MIPS: elf2ecoff: Ignore PT_MIPS_ABIFLAGS program headers.

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Ralf Baechle commit 26f7c4bd05cf34e63a4a794150ab66a40a5a84a9 upstream. These are generated by very recent toolchains and result in an error message when attenpting to convert a kernel from

[PATCH 3.16 270/294] x86/boot: Add CONFIG_PARAVIRT_SPINLOCKS quirk to arch/x86/boot/compressed/misc.h

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Ingo Molnar commit 927392d73a97d8d235bb65400e2e3c7f0bec2b6f upstream. Linus reported the following new warning on x86 allmodconfig with GCC 5.1: > ./arch/x86/include/asm/spinlock.h: In

[PATCH 3.16 272/294] ARM: 8221/1: PJ4: allow building in Thumb-2 mode

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Ard Biesheuvel commit 13d1b9575ac2c2da143cd2236b6cf0fc314570f8 upstream. Two files that get included when building the multi_v7_defconfig target fail to build when

[PATCH 3.16 272/294] ARM: 8221/1: PJ4: allow building in Thumb-2 mode

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Ard Biesheuvel commit 13d1b9575ac2c2da143cd2236b6cf0fc314570f8 upstream. Two files that get included when building the multi_v7_defconfig target fail to build when selecting THUMB2_KERNEL for

[PATCH 3.16 279/294] MIPS: DEC: Fix an int-handler.S CPU_DADDI_WORKAROUNDS regression

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: "Maciej W. Rozycki" commit 68fe55680d0f3342969f49412fceabb90bdfadba upstream. Fix a commit 3021773c7c3e ("MIPS: DEC: Avoid la pseudo-instruction in delay slots")

[PATCH 3.16 279/294] MIPS: DEC: Fix an int-handler.S CPU_DADDI_WORKAROUNDS regression

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: "Maciej W. Rozycki" commit 68fe55680d0f3342969f49412fceabb90bdfadba upstream. Fix a commit 3021773c7c3e ("MIPS: DEC: Avoid la pseudo-instruction in delay slots") regression and remove

[PATCH 3.16 263/294] staging: vt6655: fix overly large stack usage

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann We get a warning for the large stack usage in some configurations: drivers/staging/vt6655/device_main.c: In function 'device_ioctl':

[PATCH 3.16 263/294] staging: vt6655: fix overly large stack usage

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann We get a warning for the large stack usage in some configurations: drivers/staging/vt6655/device_main.c: In function 'device_ioctl': drivers/staging/vt6655/device_main.c:2974:1:

[PATCH 3.16 294/294] net/xen-netback: disable on 64KB page granularity

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann Building the linux-3.16 stable branch, I ran into this warning that shows a serious problem in the xen-netback driver: drivers/net/xen-netback/netback.c: In

[PATCH 3.16 294/294] net/xen-netback: disable on 64KB page granularity

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann Building the linux-3.16 stable branch, I ran into this warning that shows a serious problem in the xen-netback driver: drivers/net/xen-netback/netback.c: In function

[PATCH 3.16 276/294] ARM: 8296/1: cache-l2x0: clean up aurora cache handling

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit 20e783e39e55c2615fb61d1b3d139ee9edcf6772 upstream. The aurora cache controller is the only remaining user of a couple of functions in this file and are

[PATCH 3.16 276/294] ARM: 8296/1: cache-l2x0: clean up aurora cache handling

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit 20e783e39e55c2615fb61d1b3d139ee9edcf6772 upstream. The aurora cache controller is the only remaining user of a couple of functions in this file and are completely unused

[PATCH 3.16 292/294] e1000e: fix call to do_div() to use u64 arg

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Jeff Kirsher commit 30544af5483755b11bb5924736e9e0b45ef0644a upstream. We were using s64 for lat_ns (latency nano-second value) since in our calculations a

[PATCH 3.16 292/294] e1000e: fix call to do_div() to use u64 arg

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Jeff Kirsher commit 30544af5483755b11bb5924736e9e0b45ef0644a upstream. We were using s64 for lat_ns (latency nano-second value) since in our calculations a negative value could be a

[PATCH 3.16 258/294] netfilter; Add some missing default cases to switch statements in nft_reject.

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: "David S. Miller" commit 129d23a56623eea0947a05288158d76dc7f2f0ac upstream. This fixes: net/netfilter/nft_reject.c: In function ‘nft_reject_dump’:

[PATCH 3.16 258/294] netfilter; Add some missing default cases to switch statements in nft_reject.

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: "David S. Miller" commit 129d23a56623eea0947a05288158d76dc7f2f0ac upstream. This fixes: net/netfilter/nft_reject.c: In function ‘nft_reject_dump’:

[PATCH 3.16 271/294] ARM: cns3xxx: shut up frame size warning

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann This shuts up a warning in the 3.18-stable series that has been fixed in newer kernels with commit 498a92d42596 ("ARM: cns3xxx: pci: avoid potential stack

[PATCH 3.16 271/294] ARM: cns3xxx: shut up frame size warning

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann This shuts up a warning in the 3.18-stable series that has been fixed in newer kernels with commit 498a92d42596 ("ARM: cns3xxx: pci: avoid potential stack overflow"):

[PATCH 3.16 018/294] i2c: mux: pinctrl: mention correct module name in Kconfig help text

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Chris Gorman commit d1510a2e5ab6cb3a67f1c55ca5e7a6d2c6dec340 upstream. Kconfig says the resulting module is pinctrl-i2cmux, but the module when built is

[PATCH 3.16 293/294] MIPS: Fix a warning for virt_to_page

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Zubair Lutfullah Kakakhel commit 4d5b3bdc0ecb0cf5b1e1598eeaaac4b5cb33868d upstream. Compiling mm/highmem.c gives a warning: passing argument 1 of 'virt_to_phys'

[PATCH 3.16 018/294] i2c: mux: pinctrl: mention correct module name in Kconfig help text

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Chris Gorman commit d1510a2e5ab6cb3a67f1c55ca5e7a6d2c6dec340 upstream. Kconfig says the resulting module is pinctrl-i2cmux, but the module when built is i2c-mux-pinctrl. Fixes: ae58d1e40698

[PATCH 3.16 293/294] MIPS: Fix a warning for virt_to_page

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Zubair Lutfullah Kakakhel commit 4d5b3bdc0ecb0cf5b1e1598eeaaac4b5cb33868d upstream. Compiling mm/highmem.c gives a warning: passing argument 1 of 'virt_to_phys' makes pointer from integer

[PATCH 3.16 269/294] x86/xen: fix upper bound of pmd loop in xen_cleanhighmap()

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Juergen Gross commit 1cf38741308c64d08553602b3374fb39224eeb5a upstream. xen_cleanhighmap() is operating on level2_kernel_pgt only. The upper bound of the loop setting

[PATCH 3.16 269/294] x86/xen: fix upper bound of pmd loop in xen_cleanhighmap()

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Juergen Gross commit 1cf38741308c64d08553602b3374fb39224eeb5a upstream. xen_cleanhighmap() is operating on level2_kernel_pgt only. The upper bound of the loop setting non-kernel-image entries

[PATCH 3.16 291/294] net: ti: cpmac: Fix compiler warning due to type confusion

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Paul Burton commit 2f5281ba2a8feaf6f0aee93356f350855bb530fc upstream. cpmac_start_xmit() used the max() macro on skb->len (an unsigned int) and ETH_ZLEN (a signed int

[PATCH 3.16 259/294] drm/i915: cleanup some indenting

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit ba0635ffb7665d76715b43ae8144e014a90c1e63 upstream. Static checkers complain that we should probably add curly braces because, from the

[PATCH 3.16 291/294] net: ti: cpmac: Fix compiler warning due to type confusion

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Paul Burton commit 2f5281ba2a8feaf6f0aee93356f350855bb530fc upstream. cpmac_start_xmit() used the max() macro on skb->len (an unsigned int) and ETH_ZLEN (a signed int literal). This led to

[PATCH 3.16 259/294] drm/i915: cleanup some indenting

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit ba0635ffb7665d76715b43ae8144e014a90c1e63 upstream. Static checkers complain that we should probably add curly braces because, from the indenting, it looks like

[PATCH 3.16 288/294] perf: Avoid horrible stack usage

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: "Peter Zijlstra (Intel)" commit 86038c5ea81b519a8a1fcfcd5e4599aab0cdd119 upstream. Both Linus (most recent) and Steve (a while ago) reported that perf related callbacks

[PATCH 3.16 288/294] perf: Avoid horrible stack usage

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: "Peter Zijlstra (Intel)" commit 86038c5ea81b519a8a1fcfcd5e4599aab0cdd119 upstream. Both Linus (most recent) and Steve (a while ago) reported that perf related callbacks have massive stack

[PATCH 3.16 252/294] net: vxge: avoid unused function warnings

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit 57e7c8cef224af166b8ec932b5e383641418c005 upstream. When CONFIG_PCI_MSI is disabled, we get warnings about unused functions in the vxge driver:

[PATCH 3.16 209/294] module: fix types of device tables aliases

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Andrey Ryabinin commit 6301939d97d079f0d3dbe71e750f4daf5d39fc33 upstream. MODULE_DEVICE_TABLE() macro used to create aliases to device tables. Normally alias should

[PATCH 3.16 252/294] net: vxge: avoid unused function warnings

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit 57e7c8cef224af166b8ec932b5e383641418c005 upstream. When CONFIG_PCI_MSI is disabled, we get warnings about unused functions in the vxge driver:

[PATCH 3.16 209/294] module: fix types of device tables aliases

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Andrey Ryabinin commit 6301939d97d079f0d3dbe71e750f4daf5d39fc33 upstream. MODULE_DEVICE_TABLE() macro used to create aliases to device tables. Normally alias should have the same type as

[PATCH 3.16 284/294] MIPS: elf2ecoff: Fix warning due to dead code.

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Ralf Baechle commit 2d76e9633b572ae5a64150b638eed77f4afc12db upstream. HOSTCC arch/mips/boot/elf2ecoff arch/mips/boot/elf2ecoff.c: In function ‘main’:

[PATCH 3.16 284/294] MIPS: elf2ecoff: Fix warning due to dead code.

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Ralf Baechle commit 2d76e9633b572ae5a64150b638eed77f4afc12db upstream. HOSTCC arch/mips/boot/elf2ecoff arch/mips/boot/elf2ecoff.c: In function ‘main’: arch/mips/boot/elf2ecoff.c:271:8:

[PATCH 3.16 283/294] MIPS: TXx9: Delete an unused variable in tx4927_pcibios_setup

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Atsushi Nemoto commit 1bc2d3e38e5bf90af4e9d64e1696f2d39757355a upstream. Signed-off-by: Atsushi Nemoto Cc: linux-m...@linux-mips.org Patchwork:

[PATCH 3.16 283/294] MIPS: TXx9: Delete an unused variable in tx4927_pcibios_setup

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Atsushi Nemoto commit 1bc2d3e38e5bf90af4e9d64e1696f2d39757355a upstream. Signed-off-by: Atsushi Nemoto Cc: linux-m...@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/7216/

[PATCH 3.16 285/294] staging: r8192ee: prorperly format warning message

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann In stable/linux-3.16.y, we get a warning for 64-bit architectures: drivers/staging/rtl8192ee/pci.c: In function '_rtl_pci_rx_interrupt':

[PATCH 3.16 285/294] staging: r8192ee: prorperly format warning message

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann In stable/linux-3.16.y, we get a warning for 64-bit architectures: drivers/staging/rtl8192ee/pci.c: In function '_rtl_pci_rx_interrupt': include/linux/kern_levels.h:4:18:

Re: possible deadlock in generic_file_write_iter

2017-11-06 Thread Byungchul Park
On Mon, Nov 06, 2017 at 05:01:07PM +0100, Peter Zijlstra wrote: > On Mon, Nov 06, 2017 at 02:35:44PM +0100, Dmitry Vyukov wrote: > > On Mon, Nov 6, 2017 at 2:33 PM, Al Viro wrote: > > > On Mon, Nov 06, 2017 at 02:15:44PM +0100, Jan Kara wrote: > > > > > >> > Should we

Re: possible deadlock in generic_file_write_iter

2017-11-06 Thread Byungchul Park
On Mon, Nov 06, 2017 at 05:01:07PM +0100, Peter Zijlstra wrote: > On Mon, Nov 06, 2017 at 02:35:44PM +0100, Dmitry Vyukov wrote: > > On Mon, Nov 6, 2017 at 2:33 PM, Al Viro wrote: > > > On Mon, Nov 06, 2017 at 02:15:44PM +0100, Jan Kara wrote: > > > > > >> > Should we annotate these inodes with

Re: [RFC PATCH] mm, oom_reaper: gather each vma to prevent leaking TLB entry

2017-11-06 Thread Will Deacon
On Mon, Nov 06, 2017 at 01:27:26PM +0100, Michal Hocko wrote: > On Mon 06-11-17 09:52:51, Michal Hocko wrote: > > On Mon 06-11-17 15:04:40, Bob Liu wrote: > > > On Mon, Nov 6, 2017 at 11:36 AM, Wang Nan wrote: > > > > tlb_gather_mmu(, mm, 0, -1) means gathering all virtual

Re: [RFC PATCH] mm, oom_reaper: gather each vma to prevent leaking TLB entry

2017-11-06 Thread Will Deacon
On Mon, Nov 06, 2017 at 01:27:26PM +0100, Michal Hocko wrote: > On Mon 06-11-17 09:52:51, Michal Hocko wrote: > > On Mon 06-11-17 15:04:40, Bob Liu wrote: > > > On Mon, Nov 6, 2017 at 11:36 AM, Wang Nan wrote: > > > > tlb_gather_mmu(, mm, 0, -1) means gathering all virtual memory > > > > space.

[PATCH 3.16 287/294] drbd: avoid redefinition of BITS_PER_PAGE

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Lars Ellenberg commit 2630628b2dbc3fc320aafaf84836119e4e3d62f1 upstream. Apparently we now implicitly get definitions for BITS_PER_PAGE and BITS_PER_PAGE_MASK from

[PATCH 3.16 282/294] MIPS: Fix the build on jz4740 after removing the custom gpio.h

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Alban Bedel commit 5b235dc2647e4977b17b5c41d959d0f455831c3f upstream. Somehow the wrong version of the patch to remove the use of custom gpio.h on mips has been merged. This

[PATCH 3.16 287/294] drbd: avoid redefinition of BITS_PER_PAGE

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Lars Ellenberg commit 2630628b2dbc3fc320aafaf84836119e4e3d62f1 upstream. Apparently we now implicitly get definitions for BITS_PER_PAGE and BITS_PER_PAGE_MASK from the pid_namespace.h

[PATCH 3.16 282/294] MIPS: Fix the build on jz4740 after removing the custom gpio.h

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Alban Bedel commit 5b235dc2647e4977b17b5c41d959d0f455831c3f upstream. Somehow the wrong version of the patch to remove the use of custom gpio.h on mips has been merged. This patch add the

[PATCH 3.16 289/294] MIPS: jz4740: fix build error in irq.h

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann kernelci found build error on the 3.16 and 3.18 stable trees that don't show up in later versions: arch/mips/jz4740/irq.h:21:38: error: 'struct irq_data' declared

[PATCH 3.16 289/294] MIPS: jz4740: fix build error in irq.h

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann kernelci found build error on the 3.16 and 3.18 stable trees that don't show up in later versions: arch/mips/jz4740/irq.h:21:38: error: 'struct irq_data' declared inside

Re: [PATCH 4.13 10/36] PM / QoS: Fix default runtime_pm device resume latency

2017-11-06 Thread Rafael J. Wysocki
On 11/6/2017 10:12 AM, Greg Kroah-Hartman wrote: 4.13-stable review patch. If anyone has any objections, please let me know. Please drop this from the -stable queue, it has been reverted from the mainline. Thanks, Rafael -- From: Tero Kristo commit

Re: [PATCH 4.13 10/36] PM / QoS: Fix default runtime_pm device resume latency

2017-11-06 Thread Rafael J. Wysocki
On 11/6/2017 10:12 AM, Greg Kroah-Hartman wrote: 4.13-stable review patch. If anyone has any objections, please let me know. Please drop this from the -stable queue, it has been reverted from the mainline. Thanks, Rafael -- From: Tero Kristo commit

Re: [PATCH] pci: fix kernel-doc build warning

2017-11-06 Thread Randy Dunlap
On 11/06/2017 04:33 PM, Bjorn Helgaas wrote: > On Sun, Oct 29, 2017 at 05:07:11PM -0700, Randy Dunlap wrote: >> From: Randy Dunlap >> >> Fix build error in kernel-doc notation: >> >> ../drivers/pci/pci.c:3479: ERROR: Unexpected indentation. >> >> Signed-off-by: Randy Dunlap

Re: [PATCH 4.13 09/36] PM / QoS: Fix device resume latency PM QoS

2017-11-06 Thread Rafael J. Wysocki
On 11/6/2017 10:12 AM, Greg Kroah-Hartman wrote: 4.13-stable review patch. If anyone has any objections, please let me know. Please drop this from the -stable queue, it has been reverted from the mainline. Thanks, Rafael -- From: Rafael J. Wysocki

Re: [PATCH] pci: fix kernel-doc build warning

2017-11-06 Thread Randy Dunlap
On 11/06/2017 04:33 PM, Bjorn Helgaas wrote: > On Sun, Oct 29, 2017 at 05:07:11PM -0700, Randy Dunlap wrote: >> From: Randy Dunlap >> >> Fix build error in kernel-doc notation: >> >> ../drivers/pci/pci.c:3479: ERROR: Unexpected indentation. >> >> Signed-off-by: Randy Dunlap >> Cc: Bjorn Helgaas

Re: [PATCH 4.13 09/36] PM / QoS: Fix device resume latency PM QoS

2017-11-06 Thread Rafael J. Wysocki
On 11/6/2017 10:12 AM, Greg Kroah-Hartman wrote: 4.13-stable review patch. If anyone has any objections, please let me know. Please drop this from the -stable queue, it has been reverted from the mainline. Thanks, Rafael -- From: Rafael J. Wysocki commit

Re: [PATCH] ibmphp_pci: Use common error handling code in unconfigure_boot_device()

2017-11-06 Thread Bjorn Helgaas
On Mon, Oct 30, 2017 at 01:30:13PM +0100, SF Markus Elfring wrote: > From: Markus Elfring > Date: Mon, 30 Oct 2017 13:26:32 +0100 > > * Add a jump target so that a specific error message is stored only once > at the end of this function implementation. > > *

Re: [PATCH] ibmphp_pci: Use common error handling code in unconfigure_boot_device()

2017-11-06 Thread Bjorn Helgaas
On Mon, Oct 30, 2017 at 01:30:13PM +0100, SF Markus Elfring wrote: > From: Markus Elfring > Date: Mon, 30 Oct 2017 13:26:32 +0100 > > * Add a jump target so that a specific error message is stored only once > at the end of this function implementation. > > * Replace two calls of the macro

Re: [PATCH v2 14/18] powerpc: Define set_thread_used_vas()

2017-11-06 Thread Nicholas Piggin
On Fri, 6 Oct 2017 19:28:14 -0700 Sukadev Bhattiprolu wrote: > A CP_ABORT instruction is required in processes that have mapped a VAS > "paste address" with the intention of using COPY/PASTE instructions. > But since CP_ABORT is expensive, we want to restrict it to

[PATCH 3.16 230/294] tty/isicom: fix big-endian compile warning

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit f3e2d56dce47dbd0bb3f69f84741b439542fef37 upstream. Building an arm allmodconfig kernel triggers a lengthy but harmless warning in the isicom driver:

Re: [PATCH v2 14/18] powerpc: Define set_thread_used_vas()

2017-11-06 Thread Nicholas Piggin
On Fri, 6 Oct 2017 19:28:14 -0700 Sukadev Bhattiprolu wrote: > A CP_ABORT instruction is required in processes that have mapped a VAS > "paste address" with the intention of using COPY/PASTE instructions. > But since CP_ABORT is expensive, we want to restrict it to only processes > that

[PATCH 3.16 230/294] tty/isicom: fix big-endian compile warning

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit f3e2d56dce47dbd0bb3f69f84741b439542fef37 upstream. Building an arm allmodconfig kernel triggers a lengthy but harmless warning in the isicom driver: drvers/tty/isicom.c:

[PATCH 3.16 251/294] net: tulip: turn compile-time warning into dev_warn()

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit de92718883ddbcd11b738d36ffcf57617b97fa12 upstream. The tulip driver causes annoying build-time warnings for allmodconfig builds for all recent

[PATCH 3.16 251/294] net: tulip: turn compile-time warning into dev_warn()

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit de92718883ddbcd11b738d36ffcf57617b97fa12 upstream. The tulip driver causes annoying build-time warnings for allmodconfig builds for all recent architectures:

[PATCH 3.16 010/294] net: bcmgenet: fix off-by-one in incrementing read pointer

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Florian Fainelli commit cf377d886f7944a5ccdbd164b89949e13617b096 upstream. Commit b629be5c8399d7c423b92135eb43a86c924d1cbc ("net: bcmgenet: check harder for out of

[PATCH 3.16 229/294] tty: nozomi: avoid a harmless gcc warning

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit a4f642a8a3c2838ad09fe8313d45db46600e1478 upstream. The nozomi wireless data driver has its own helper function to transfer data from a FIFO, doing an extra

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