Re: [PATCH v2] drivers: Update drv260x driver

2016-12-10 Thread Dmitry Torokhov
Hi Jingkui, On Fri, Dec 09, 2016 at 01:45:26PM -0800, Jingkui Wang wrote: > Update driver drv260x to use generic device properties > Remove platform data and corresponding header file Please next time come up with more descriptive subject than "drivers: Update drv260x driver": when scanning commi

Re: Misalignment, MIPS, and ip_hdr(skb)->version

2016-12-10 Thread Greg KH
On Sat, Dec 10, 2016 at 11:18:14PM +0100, Dan Lüdtke wrote: > > > On 8 Dec 2016, at 05:34, Daniel Kahn Gillmor wrote: > > > > On Wed 2016-12-07 19:30:34 -0500, Hannes Frederic Sowa wrote: > >> Your custom protocol should be designed in a way you get an aligned ip > >> header. Most protocols of t

Re: [PATCH] Revert "tty: serial: 8250: add CON_CONSDEV to flags"

2016-12-10 Thread Greg Kroah-Hartman
On Sun, Dec 11, 2016 at 10:05:49AM +0800, Herbert Xu wrote: > This commit needs to be reverted because it prevents people from > using the serial console as a secondary console with input being > directed to tty0. > > IOW, if you boot with console=ttyS0 console=tty0 then all kernels > prior to thi

Re: [PATCH v2 2/2] USB: OHCI: pxa27x:fix code warnig and errors

2016-12-10 Thread Greg Kroah-Hartman
On Sat, Dec 10, 2016 at 11:08:45PM +, csmanjuvi...@gmail.com wrote: > From: Manjunath Goudar > > This patch will fix the checkpatch.pl following errors: > WARNING: Prefer [subsystem eg: netdev]_err([subsystem]dev, ... > then dev_err(dev, ... then pr_err(... to printk(KERN_ERR ... > ERROR: sp

Re: [PATCH v2 1/2] USB: OHCI: pxa27x:fix code warnings

2016-12-10 Thread Greg Kroah-Hartman
On Sat, Dec 10, 2016 at 11:08:44PM +, csmanjuvi...@gmail.com wrote: > From: Manjunath Goudar > > This patch will fix the checkpatch.pl following warning: > WARNING: Block comments use * on subsequent lines > > Signed-off-by: Manjunath Goudar > Cc: Alan Stern > Cc: Greg Kroah-Hartman > Cc:

[PATCH] Input: drv260x - fix initializing overdrive voltage

2016-12-10 Thread Dmitry Torokhov
We were accidentally initializing haptics->rated_voltage twice, and did not initialize overdrive voltage. Signed-off-by: Dmitry Torokhov --- drivers/input/misc/drv260x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/misc/drv260x.c b/drivers/input/misc/drv260x.

kvm: use-after-free in process_srcu

2016-12-10 Thread Dmitry Vyukov
Hello, I am getting the following use-after-free reports while running syzkaller fuzzer. On commit 318c8932ddec5c1c26a4af0f3c053784841c598e (Dec 7). Unfortunately it is not reproducible, but all reports look sane and very similar, so I would assume that it is some hard to trigger race. In all case

[PATCH 7/8] dax: add / remove dax devices after provisioning

2016-12-10 Thread Dan Williams
Create a new device-dax seed when incrementing the size of the existing seed from zero. Destroy a device-dax instance when its size changes from non-zero to zero. Signed-off-by: Dan Williams --- drivers/dax/dax.c | 195 +++-- 1 file changed, 128

[PATCH 3/8] dax: register seed device

2016-12-10 Thread Dan Williams
Towards adding support for sub-dividing device-dax regions, add a seed device. Similar to libnvdimm a 'seed' device is un-configured device that is enabled after setting configuration parameters. After a given seed device is enabled another is created and this process repeats until no more seed d

[PATCH 8/8] dax: add debug for region available_size

2016-12-10 Thread Dan Williams
Add dynamic debug statements to dump the per-dax-dev resource allocations and device offsets. Signed-off-by: Dan Williams --- drivers/dax/dax.c |6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/dax/dax.c b/drivers/dax/dax.c index b130eff91b83..d1641e69a088 10064

[PATCH 6/8] dax: sub-division support

2016-12-10 Thread Dan Williams
Device-DAX is a mechanism to establish mappings of performance / feature differentiated memory with strict fault behavior guarantees. With sub-division support a platform owner can provision sub-allocations of a dax-region into separate devices. The provisioning mechanism follows the same scheme as

[PATCH 5/8] dax: refactor locking out of size calculation routines

2016-12-10 Thread Dan Williams
In preparation for other callers of these routines make the locking the responsibility of the caller. Signed-off-by: Dan Williams --- drivers/dax/dax.c | 30 -- 1 file changed, 24 insertions(+), 6 deletions(-) diff --git a/drivers/dax/dax.c b/drivers/dax/dax.c inde

[PATCH 4/8] dax: use multi-order radix for resource lookup

2016-12-10 Thread Dan Williams
Before we add support for multiple discontiguous extents in a device-dax region, convert the file-offset to physical-address lookup to use the multi-order radix tree. Signed-off-by: Dan Williams --- drivers/dax/Kconfig |1 drivers/dax/dax.c | 120 +

[PATCH 2/8] dax: add region 'id', 'size', and 'align' attributes

2016-12-10 Thread Dan Williams
While this information is available by looking at the nvdimm parent device that may not always be the case when/if we add support for other memory regions. Tooling should not depend on walking a given ancestor topology that is not guaranteed by the device's class. For example, a device-dax instance

[PATCH 1/8] dax: add region-available-size attribute

2016-12-10 Thread Dan Williams
In preparation for a facility that enables dax regions to be sub-divided, introduce a 'dax/available_size' attribute. This attribute appears under the parent device that registered the device-dax region, and it assumes that the device-dax-core owns the driver-data for that device. 'dax/available_

[PATCH 0/8] device-dax: sub-division support

2016-12-10 Thread Dan Williams
>From [PATCH 6/8] dax: sub-division support: Device-DAX is a mechanism to establish mappings of performance / feature differentiated memory with strict fault behavior guarantees. With sub-division support a platform owner can provision sub-allocations of a dax-region into separate devices. The pr

Re: [PATCH v5 3/3] fpga manager: Add cyclone-ps-spi driver for Altera FPGAs

2016-12-10 Thread kbuild test robot
Hi Joshua, [auto build test ERROR on linus/master] [also build test ERROR on v4.9-rc8] [cannot apply to next-20161209] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Joshua-Clayton/lib-add-bitre

[PATCH v7 0/2] securityfs support for TPM 2.0 firmware event log

2016-12-10 Thread Nayna Jain
The TPM device driver defines ascii and binary methods for displaying the TPM 1.2 event log via securityfs files, which are needed for validating a TPM quote. The device driver for TPM 2.0 does not have similar support for displaying the TPM 2.0 event log. This patch set adds the support for displa

[PATCH v7 1/2] tpm: enhance read_log_of() to support Physical TPM event log

2016-12-10 Thread Nayna Jain
Physical TPMs use Open Firmware Device Tree bindings that are similar to the IBM Power virtual TPM to support event log. However, these properties store the values in different endianness for Physical and Virtual TPM. This patch fixes the endianness issue by doing appropriate conversion based on P

[PATCH v7 2/2] tpm: add securityfs support for TPM 2.0 firmware event log

2016-12-10 Thread Nayna Jain
Unlike the device driver support for TPM 1.2, the TPM 2.0 does not support the securityfs pseudo files for displaying the firmware event log. This patch enables support for providing the TPM 2.0 event log in binary form. TPM 2.0 event log supports a crypto agile format that records multiple digest

Re: [PATCH v2] net: ethernet: ti: netcp: add support of cpts

2016-12-10 Thread David Miller
From: Grygorii Strashko Date: Thu, 8 Dec 2016 16:21:56 -0600 > From: WingMan Kwok > > This patch adds support of the cpts device found in the > gbe and 10gbe ethernet switches on the keystone 2 SoCs > (66AK2E/L/Hx, 66AK2Gx). > > Cc: Richard Cochran > Signed-off-by: WingMan Kwok > Signed-off-

ERROR: "devm_ioremap_resource" [drivers/auxdisplay/img-ascii-lcd.ko] undefined!

2016-12-10 Thread kbuild test robot
Hi Junjie, First bad commit (maybe != root cause): tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 045169816b31b10faed984b01c390db1b32ee4c1 commit: 14155cafeadda946376260e2ad5d39a0528a332f btrfs: assign error values to the correct bio structs date: 8

Re: [PATCH net-next 3/3] net: l2tp: ppp: change PPPOL2TP_MSG_* => L2TP_MSG_*

2016-12-10 Thread David Miller
From: Asbjoern Sloth Toennesen Date: Sun, 11 Dec 2016 00:18:59 + > Signed-off-by: Asbjoern Sloth Toennesen Applied.

Re: [PATCH net-next 2/3] net: l2tp: deprecate PPPOL2TP_MSG_* in favour of L2TP_MSG_*

2016-12-10 Thread David Miller
From: Asbjoern Sloth Toennesen Date: Sun, 11 Dec 2016 00:18:58 + > PPPOL2TP_MSG_* and L2TP_MSG_* are duplicates, and are being used > interchangeably in the kernel, so let's standardize on L2TP_MSG_* > internally, and keep PPPOL2TP_MSG_* defined in UAPI for compatibility. > > Signed-off-by:

Re: [PATCH net-next 1/3] net: l2tp: export debug flags to UAPI

2016-12-10 Thread David Miller
From: Asbjoern Sloth Toennesen Date: Sun, 11 Dec 2016 00:18:57 + > Move the L2TP_MSG_* definitions to UAPI, as it is part of > the netlink API. > > Signed-off-by: Asbjoern Sloth Toennesen Applied.

Re: Remove private tx queue locks

2016-12-10 Thread David Miller
From: Lino Sanfilippo Date: Fri, 9 Dec 2016 00:55:41 +0100 > this patch series removes unnecessary private locks in the sxgbe and the > stmmac driver. > > v2: > - adjust commit message Series applied to net-next, thanks.

arch/xtensa/include/asm/initialize_mmu.h:41: Error: invalid register 'atomctl' for 'wsr' instruction

2016-12-10 Thread kbuild test robot
Hi Pete, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 045169816b31b10faed984b01c390db1b32ee4c1 commit: d0b73b488c55df905ea8faaad079f8535629ed26 xtensa: Add config files for Diamond 233L - Rev C processor variant

Re: [PATCH] x86/smpboot: Make logical package management more robust

2016-12-10 Thread Boris Ostrovsky
On 12/10/2016 02:13 PM, Thomas Gleixner wrote: On Sat, 10 Dec 2016, Thomas Gleixner wrote: On Fri, 9 Dec 2016, Boris Ostrovsky wrote: On 12/09/2016 06:02 PM, Boris Ostrovsky wrote: On 12/09/2016 05:06 PM, Thomas Gleixner wrote: On Thu, 8 Dec 2016, Thomas Gleixner wrote: Boris, can you plea

Re: [PATCH net 0/3] net: bridge: fast ageing on topology change

2016-12-10 Thread David Miller
From: Vivien Didelot Date: Sat, 10 Dec 2016 13:44:26 -0500 > 802.1D [1] specifies that the bridges in a network must use a short > value to age out dynamic entries in the Filtering Database for a period, > once a topology change has been communicated by the root bridge. > > This patchset fixes t

Re: [PATCH 09/10] vsock/virtio: fix src/dst cid format

2016-12-10 Thread Michael S. Tsirkin
On Wed, Dec 07, 2016 at 12:31:56PM +0800, Jason Wang wrote: > > > On 2016年12月06日 23:41, Michael S. Tsirkin wrote: > > These fields are 64 bit, using le32_to_cpu and friends > > on these will not do the right thing. > > Fix this up. > > > > Cc: sta...@vger.kernel.org > > Signed-off-by: Michael S.

[PATCH v3 2/2] staging: iio: ad7606: move out of staging

2016-12-10 Thread Eva Rachel Retuya
Move the ad7606 driver from staging/iio/adc to iio/adc. Also, update the corresponding Makefile and Kconfig associated with the change. Signed-off-by: Eva Rachel Retuya --- drivers/iio/adc/Kconfig| 34 ++ drivers/iio/adc/Makefile

[PATCH v3 0/2] staging: iio: ad7606: move driver out of staging

2016-12-10 Thread Eva Rachel Retuya
Address the last remaining TODO [1] for this driver and move it from staging into mainline. [1] https://marc.info/?l=linux-iio&m=147689684332118&w=2 Change in v3: * Fix incorrect type of 'scale'. (Pointed out by kbuild test robot) Change in v2: * Address the incorrect way of implementing the sc

[PATCH v3 1/2] staging: iio: ad7606: replace range/range_available with corresponding scale

2016-12-10 Thread Eva Rachel Retuya
Eliminate the non-standard attributes in_voltage_range and in_voltage_range_available. Implement in_voltage_scale_available in place of these attributes and update the SCALE accordingly. The array scale_avail is introduced to hold the available scale values. Signed-off-by: Eva Rachel Retuya --- C

Re: [GIT PULL] readlink cleanup

2016-12-10 Thread Al Viro
On Sun, Dec 11, 2016 at 02:36:20AM +, Al Viro wrote: > I'm still not sure what does "vfs: convert ->readlink to same signature as > ->get_link" buy us. If anything, the result appears to be more complex - > you make freeing that buffer delayed (and introduce a dynamically allocated > buffer i

Re: [GIT PULL] readlink cleanup

2016-12-10 Thread Al Viro
On Sat, Dec 10, 2016 at 09:41:45PM +0100, Miklos Szeredi wrote: > Hi Al, > > Please pull from: > > git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.git readlink > > This is a rework of the readlink cleanup patchset. Now readlink(2) does the > following: > > - if i_op->readlink() i

fs/xfs/xfs_ondisk.h:96:2: error: call to '__compiletime_assert_96' declared with attribute error: XFS: sizeof(xfs_dir2_sf_entry_t) is wrong, expected 3

2016-12-10 Thread kbuild test robot
Hi Dave, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 045169816b31b10faed984b01c390db1b32ee4c1 commit: ab9d1e4f7b0217948a3b35a64178602ab30ff45d Merge branch 'xfs-misc-fixes-4.6-3' into for-next date: 9 months a

Re: [regression ?] kbuild: fix building bzImage with CONFIG_TRIM_UNUSED_KSYMS enabled

2016-12-10 Thread Sergey Senozhatsky
On (12/10/16 16:04), Nicolas Pitre wrote: > On Sat, 10 Dec 2016, Sergey Senozhatsky wrote: [..] > > so this will not install modules: > > make prepare; make kernelrelease; make -j4; make prepare; make > > kernelrelease; make -j4 INSTALL_MOD_PATH=/tmp/MODULES modules_install > > > > and this will

Re: [GIT PULL] overlayfs update for 4.10

2016-12-10 Thread Al Viro
On Sat, Dec 10, 2016 at 09:49:26PM +0100, Miklos Szeredi wrote: > Hi Al, > > I usually send overlayfs pulls directly to Linus, but it it suits you, please > feel free to pull from: > > git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.git > overlayfs-linus > > This update contains: >

make[2]: *** No rule to make target 'arch/sh/boot/dts/.dtb.o', needed by 'arch/sh/boot/dts/built-in.o'.

2016-12-10 Thread kbuild test robot
Hi Rich, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 045169816b31b10faed984b01c390db1b32ee4c1 commit: 190fe191cfbead9fe089453dd092869c9469c6d4 sh: add support for linking a builtin device tree blob in the kernel

Re: [PATCH v3 00/15] livepatch: hybrid consistency model

2016-12-10 Thread Balbir Singh
On 11/12/16 04:17, Josh Poimboeuf wrote: > On Sat, Dec 10, 2016 at 04:46:17PM +1100, Balbir Singh wrote: >> On Thu, 2016-12-08 at 12:08 -0600, Josh Poimboeuf wrote: >>> Dusting the cobwebs off the consistency model again. This is based on >>> linux-next/master. >>> >>> v1 was posted on 2015-02

[PATCH] Revert "tty: serial: 8250: add CON_CONSDEV to flags"

2016-12-10 Thread Herbert Xu
This commit needs to be reverted because it prevents people from using the serial console as a secondary console with input being directed to tty0. IOW, if you boot with console=ttyS0 console=tty0 then all kernels prior to this commit will produce output on both ttyS0 and tty0 but input will only

Re: [RFC v3 00/10] KVM PCIe/MSI passthrough on ARM/ARM64 and IOVA reserved regions

2016-12-10 Thread Don Dutile
On 12/08/2016 04:36 AM, Auger Eric wrote: Hi, On 15/11/2016 14:09, Eric Auger wrote: Following LPC discussions, we now report reserved regions through iommu-group sysfs reserved_regions attribute file. While I am respinning this series into v4, here is a tentative summary of technical topics

Re: [PATCH] scsi/qla2xxx: label endian-ness for many fields

2016-12-10 Thread Michael S. Tsirkin
On Fri, Dec 09, 2016 at 09:49:28PM -0800, Joe Perches wrote: > On Fri, 2016-12-09 at 22:45 +0200, Michael S. Tsirkin wrote: > > This adds endian-ness labels for lots of qla structs. > > Doing this cuts down number of sparse warnings from ~1700 to ~1400. > > Will help find and resolve some of real i

cc1: error: '-march=r3900' requires '-mfp32'

2016-12-10 Thread kbuild test robot
Hi James, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 045169816b31b10faed984b01c390db1b32ee4c1 commit: 034827c727f7f3946a18355b63995b402c226c82 MIPS: Fix -mabi=64 build of vdso.lds date: 9 weeks ago config: mi

Re: [PATCH] driver core: flush async calls before testing driver removal

2016-12-10 Thread Vladimir Zapolskiy
Hello Greg, I'm adding Tejun to the list of addressees. On 12/10/2016 03:04 PM, Greg Kroah-Hartman wrote: > On Sat, Dec 10, 2016 at 02:38:41PM +0200, Vladimir Zapolskiy wrote: >> Hello Greg, >> >> On 12/10/2016 09:32 AM, Greg Kroah-Hartman wrote: >>> On Sat, Dec 10, 2016 at 02:15:19AM +0200, Vlad

drivers/gpu/drm/i915/i915_gem_gtt.c:2367: error: 'gtt_entry' may be used uninitialized in this function

2016-12-10 Thread kbuild test robot
Hi Dave, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 045169816b31b10faed984b01c390db1b32ee4c1 commit: 85d1225ec066b2ef46fbd0ed1bae78ae1f3e6c91 drm/i915: Introduce & use new lightweight SGL iterators date: 7 mo

arch/mips/vdso/gettimeofday.c:1:0: error: '-march=r3900' requires '-mfp32'

2016-12-10 Thread kbuild test robot
Hi Guenter, First bad commit (maybe != root cause): tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 045169816b31b10faed984b01c390db1b32ee4c1 commit: 398c7500a1f5f74e207bd2edca1b1721b3cc1f1e MIPS: VDSO: Fix build error with binutils 2.24 and earlier date

Re: [PATCH] PCI: pciehp: Optimize PCIe root resume time

2016-12-10 Thread Yinghai Lu
On Fri, Dec 09, 2016 at 06:27:44PM -0600, Bjorn Helgaas wrote: > [+cc Yinghai, author of 2f5d8e4ff947] > > On Fri, Dec 09, 2016 at 02:43:26PM -0800, Vaibhav Shankar wrote: > > On Apollolake platforms, PCIe rootport takes a long time to resume > > from S3. With 100ms delay before read pci conf, roo

[PATCH v3 1/1] x86/kbuild: enable modversions for symbols exported from asm

2016-12-10 Thread Adam Borowski
Commit 4efca4ed ("kbuild: modversions for EXPORT_SYMBOL() for asm") adds modversion support for symbols exported from asm files. Architectures must include C-style declarations for those symbols in asm/asm-prototypes.h in order for them to be versioned. Add these declarations for x86, and an archi

arch/mips/vdso/elf.S:1:0: error: '-march=r3900' requires '-mfp32'

2016-12-10 Thread kbuild test robot
Hi Alex, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 045169816b31b10faed984b01c390db1b32ee4c1 commit: ebb5e78cc63417a35254a791de66e1cc84f963cc MIPS: Initial implementation of a VDSO date: 1 year, 1 month ago c

[PATCH v3 0/1] asm prototypes for modversions on x86

2016-12-10 Thread Adam Borowski
Hi! After Linus' revert of Arnd's modversions patch, it looks like we're back to wanting asm-prototypes.h at least in the short term. Things are much better than before -- instead of failing to load modules there's just a scary warning, but I still believe that no scary warning is better :) Users

[PATCH 2/2] kcov: make kcov work properly with KASLR enabled

2016-12-10 Thread Alexander Popov
Subtract KASLR offset from the kernel addresses reported by kcov. Tested on x86_64 and AArch64 (Hikey LeMaker). Signed-off-by: Alexander Popov --- kernel/kcov.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/kernel/kcov.c b/kernel/kcov.c index 3cbb0c8..f8f3f4c 100644

[PATCH 0/2] Make kcov work properly with KASLR enabled

2016-12-10 Thread Alexander Popov
If CONFIG_RANDOMIZE_BASE is enabled, kcov currently reports kernel addresses including the random offset which breaks the coverage-guided fuzzing on x86_64 and AArch64. Fix that by subtracting kaslr_offset() return value. Alexander Popov (2): arm64: setup: introduce kaslr_offset() kcov: make

[PATCH 1/2] arm64: setup: introduce kaslr_offset()

2016-12-10 Thread Alexander Popov
Introduce kaslr_offset() similarly to x86_64 for fixing kcov. Signed-off-by: Alexander Popov --- arch/arm64/include/asm/setup.h | 19 +++ arch/arm64/include/uapi/asm/setup.h | 4 ++-- arch/arm64/kernel/setup.c | 8 3 files changed, 25 insertions(+), 6 de

Re: [patch] nvme-fabrics: correct some printk information

2016-12-10 Thread Joe Perches
On Sat, 2016-12-10 at 21:06 +0100, Julia Lawall wrote: > > On Sat, 10 Dec 2016, Dan Carpenter wrote: > > > On Sat, Dec 10, 2016 at 03:27:50AM -0800, Joe Perches wrote: > > > On Sat, 2016-12-10 at 12:06 +0300, Dan Carpenter wrote: > > > > We really don't care where "ctrl" is on the stack since we'

arch/ia64/kernel/ivt.S:759: Error: Operand 3 of `add' should be a general register r0-r3

2016-12-10 Thread kbuild test robot
Hi Will, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 045169816b31b10faed984b01c390db1b32ee4c1 commit: da48d094ce5d7c7dcdad9011648a81c42fd1c2ef Kconfig: remove HAVE_LATENCYTOP_SUPPORT date: 11 months ago config

[PATCH net-next 1/3] net: l2tp: export debug flags to UAPI

2016-12-10 Thread Asbjoern Sloth Toennesen
Move the L2TP_MSG_* definitions to UAPI, as it is part of the netlink API. Signed-off-by: Asbjoern Sloth Toennesen --- include/uapi/linux/l2tp.h | 17 - net/l2tp/l2tp_core.h | 10 -- 2 files changed, 16 insertions(+), 11 deletions(-) diff --git a/include/uapi/linux/

[PATCH net-next 3/3] net: l2tp: ppp: change PPPOL2TP_MSG_* => L2TP_MSG_*

2016-12-10 Thread Asbjoern Sloth Toennesen
Signed-off-by: Asbjoern Sloth Toennesen --- net/l2tp/l2tp_ppp.c | 54 ++--- 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/net/l2tp/l2tp_ppp.c b/net/l2tp/l2tp_ppp.c index 2ddfec1..36cc56f 100644 --- a/net/l2tp/l2tp_ppp.c +++ b/net/l

[PATCH net-next 2/3] net: l2tp: deprecate PPPOL2TP_MSG_* in favour of L2TP_MSG_*

2016-12-10 Thread Asbjoern Sloth Toennesen
PPPOL2TP_MSG_* and L2TP_MSG_* are duplicates, and are being used interchangeably in the kernel, so let's standardize on L2TP_MSG_* internally, and keep PPPOL2TP_MSG_* defined in UAPI for compatibility. Signed-off-by: Asbjoern Sloth Toennesen --- Documentation/networking/l2tp.txt | 8 i

[PATCH v9] Input: synaptics-rmi4 - add support for F34 V7 bootloader

2016-12-10 Thread Nick Dyer
Port firmware update code from Samsung Galaxy S7 driver into mainline framework. This patch has been tested on Synaptics S7813. Signed-off-by: Nick Dyer Tested-by: Chris Healy --- Changes in v9: - Fix strangeness introduced in conversion to proper le32_to_cpu() APIs - Various other minor tidyu

Re: [PATCH 3/3] crypto: brcm: Add Broadcom SPU driver DT entry.

2016-12-10 Thread kbuild test robot
Hi Rob, [auto build test ERROR on cryptodev/master] [also build test ERROR on v4.9-rc8] [cannot apply to next-20161209] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Rob-Rice/crypto-brcm-DT-doc

Re: [PATCH v8] Input: synaptics-rmi4 - add support for F34 V7 bootloader

2016-12-10 Thread Nick Dyer
On Wed, Dec 07, 2016 at 06:14:18PM -0800, Dmitry Torokhov wrote: > On Mon, Dec 05, 2016 at 01:02:49AM +, Nick Dyer wrote: > > +static void rmi_f34v7_parse_img_header_10_bl_container(struct f34_data > > *f34, > > + const u8 *image) > > +{ > > +

Re: [RFC 0/5] rcu: Introduce leaf_node_for_each_mask_possible_cpu() and its friend

2016-12-10 Thread Boqun Feng
On Sat, Dec 10, 2016 at 09:38:54AM -0800, Paul E. McKenney wrote: > On Sat, Dec 10, 2016 at 09:36:29PM +0800, Boqun Feng wrote: > > On Fri, Dec 09, 2016 at 08:28:05PM -0800, Paul E. McKenney wrote: > > > On Sat, Dec 10, 2016 at 08:45:38AM +0800, Boqun Feng wrote: > > > > On Fri, Dec 09, 2016 at 03:

Re: [PATCH v4 4/5] i2c: designware: Add slave mode as separated driver

2016-12-10 Thread kbuild test robot
Hi Luis, [auto build test ERROR on wsa/i2c/for-next] [also build test ERROR on next-20161209] [cannot apply to v4.9-rc8] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Luis-Oliveira/i2c-designwa

include/linux/unaligned/access_ok.h:7:19: error: redefinition of 'get_unaligned_le16'

2016-12-10 Thread kbuild test robot
Hi Vincent, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 045169816b31b10faed984b01c390db1b32ee4c1 commit: 3194c6870158e305dac2af52f83681e9cb67280f NFC: nfcmrvl: add firmware download support date: 1 year, 2 mon

Re: [PATCH v2] Coccinelle: Add misc/boolconv.cocci

2016-12-10 Thread Michal Marek
On Mon, Oct 17, 2016 at 11:52:24AM -0500, Andrew F. Davis wrote: > Add a script to check for unneeded conversions to bool. > > Signed-off-by: Andrew F. Davis > Acked-by: Julia Lawall Applied to kbuild.git#misc, thanks. Michal

Re: [PATCH 5/5] net: ethernet: ti: cpsw: sync rates for channels in dual emac mode

2016-12-10 Thread David Miller
From: Ivan Khoronzhuk Date: Sat, 10 Dec 2016 14:23:50 +0200 > The channels are common for both ndevs in dual emac mode. Hence, keep > in sync their rates. > > Signed-off-by: Ivan Khoronzhuk Applied.

Re: [PATCH 4/5] net: ethernet: ti: cpsw: re-split res only when speed is changed

2016-12-10 Thread David Miller
From: Ivan Khoronzhuk Date: Sat, 10 Dec 2016 14:23:49 +0200 > Don't re-split res in the following cases: > - speed of phys is not changed > - speed of phys is changed and no rate limited channels > - speed of phys is changed and all channels are rate limited > - phy is unlinked while dev is open

Re: [PATCH] net: nicvf: use new api ethtool_{get|set}_link_ksettings

2016-12-10 Thread David Miller
From: Philippe Reynes Date: Sat, 10 Dec 2016 15:00:48 +0100 > The ethtool api {get|set}_settings is deprecated. > We move this driver to new api {get|set}_link_ksettings. > > Signed-off-by: Philippe Reynes Applied.

Re: [PATCH 1/5] net: ethernet: ti: cpsw: improve re-split policy

2016-12-10 Thread David Miller
From: Ivan Khoronzhuk Date: Sat, 10 Dec 2016 14:23:45 +0200 > This patches add several simplifications and improvements to set > maximum rate for channels taking in account switch and dual emac mode. > > Don't re-split res in the following cases: > - speed of phys is not changed > - speed of phy

Re: [PATCH 2/5] net: ethernet: ti: cpsw: don't start queue twice

2016-12-10 Thread David Miller
From: Ivan Khoronzhuk Date: Sat, 10 Dec 2016 14:23:47 +0200 > No need to start queues after cpsw is started as it will be done > while cpsw_adjust_link(), after phy connection. > > Signed-off-by: Ivan Khoronzhuk Applied.

Re: [PATCH 3/5] net: ethernet: ti: cpsw: combine budget and weight split and check

2016-12-10 Thread David Miller
From: Ivan Khoronzhuk Date: Sat, 10 Dec 2016 14:23:48 +0200 > Re-split weight along with budget. It simplify code a little > and update state after every rate change. Also it's necessarily > to move arguments checks to this combined function. Replace > maximum rate check for an interface on maxim

Re: [PATCH net-next] net: mvneta: select GENERIC_ALLOCATOR

2016-12-10 Thread David Miller
From: Arnd Bergmann Date: Sat, 10 Dec 2016 11:38:32 +0100 > We previously relied on GENERIC_ALLOCATOR to be selected by CONFIG_ARM, > but now we can compile-test the driver on other architectures that > don't select it: > > drivers/net/built-in.o: In function `mvneta_bm_remove': > mvneta_bm.c:(.

Re: [patch] nvme-fabrics: correct some printk information

2016-12-10 Thread Joe Perches
On Sat, 2016-12-10 at 23:07 +0100, Julia Lawall wrote: > > On Sat, 10 Dec 2016, Joe Perches wrote: > > > On Sat, 2016-12-10 at 21:06 +0100, Julia Lawall wrote: > > > > > > On Sat, 10 Dec 2016, Dan Carpenter wrote: > > > > > > > On Sat, Dec 10, 2016 at 03:27:50AM -0800, Joe Perches wrote: > > >

Re: [patch] nvme-fabrics: correct some printk information

2016-12-10 Thread Joe Perches
On Sun, 2016-12-11 at 00:07 +0300, Dan Carpenter wrote: > On Sat, Dec 10, 2016 at 12:54:50PM -0800, Joe Perches wrote: > > diff -u -p drivers//dma/pxa_dma.c /tmp/nothing//dma/pxa_dma.c > > --- drivers//dma/pxa_dma.c > > +++ /tmp/nothing//dma/pxa_dma.c > > @@ -640,9 +640,6 @@ static unsigned int cle

Re: Misalignment, MIPS, and ip_hdr(skb)->version

2016-12-10 Thread Dan Lüdtke
> On 8 Dec 2016, at 05:34, Daniel Kahn Gillmor wrote: > > On Wed 2016-12-07 19:30:34 -0500, Hannes Frederic Sowa wrote: >> Your custom protocol should be designed in a way you get an aligned ip >> header. Most protocols of the IETF follow this mantra and it is always >> possible to e.g. pad opti

Re: [media] bt8xx: One function call less in bttv_input_init() after error detection

2016-12-10 Thread SF Markus Elfring
> kfree() is safe to call on a NULL pointer. This is true. > Despite that, you have found several instances of similar constructs: Yes. - Special source code search pattern can point such places out for further considerations. > Didn't it occur to you that maybe those constructs are fine the

Re: [patch] nvme-fabrics: correct some printk information

2016-12-10 Thread Julia Lawall
On Sat, 10 Dec 2016, Joe Perches wrote: > On Sat, 2016-12-10 at 21:06 +0100, Julia Lawall wrote: > > > > On Sat, 10 Dec 2016, Dan Carpenter wrote: > > > > > On Sat, Dec 10, 2016 at 03:27:50AM -0800, Joe Perches wrote: > > > > On Sat, 2016-12-10 at 12:06 +0300, Dan Carpenter wrote: > > > > > We r

Re: [PATCH 1/4] [media] bt8xx: One function call less in bttv_input_init() after error detection

2016-12-10 Thread Daniele Nicolodi
On 10/12/16 13:48, SF Markus Elfring wrote: > From: Markus Elfring > Date: Sat, 10 Dec 2016 09:29:24 +0100 > > The kfree() function was called in one case by the > bttv_input_init() function during error handling > even if the passed variable contained a null pointer. kfree() is safe to call on

Re: [PATCH] HID: asus: Fix keyboard support

2016-12-10 Thread Benjamin Tissoires
Hi Brendan, Sorry for breaking the existing device. I have a few minor issues with your patch, but I'll let Jiri says whether or not you need a v2. On Dec 10 2016 or thereabouts, Brendan McGrath wrote: > The previous submission which added Touchpad support broke the > Keyboard support of this dr

Re: [patch] nvme-fabrics: correct some printk information

2016-12-10 Thread Dan Carpenter
On Sat, Dec 10, 2016 at 12:54:50PM -0800, Joe Perches wrote: > diff -u -p drivers//dma/pxa_dma.c /tmp/nothing//dma/pxa_dma.c > --- drivers//dma/pxa_dma.c > +++ /tmp/nothing//dma/pxa_dma.c > @@ -640,9 +640,6 @@ static unsigned int clear_chan_irq(struc > dcsr = phy_readl_relaxed(phy, DCSR); >

Re: [regression ?] kbuild: fix building bzImage with CONFIG_TRIM_UNUSED_KSYMS enabled

2016-12-10 Thread Nicolas Pitre
On Sat, 10 Dec 2016, Sergey Senozhatsky wrote: > On (12/09/16 13:07), Nicolas Pitre wrote: > [..] > > > build: > > > make -j4 > build_log 2>&1 > > > > > > package: > > > make -j4 INSTALL_MOD_PATH="${pkgdir}" modules_install >> build_log 2>&1 > > > > Weird. > > it is. sorry for long reply, it to

Re: [PATCH] iio: adc: max1027: allocate DMA-safe buffer

2016-12-10 Thread Marcus Folkesson
On Sat, Dec 10, 2016 at 05:36:34PM +, Jonathan Cameron wrote: > On 09/12/16 10:24, Marcus Folkesson wrote: > > The buffer needs to be DMA-safe when used with spi_read() > > > > Signed-off-by: Marcus Folkesson > Please read the documentation in include/linux/gfp.h about GFP_DMA. > > Specifica

Re: [patch] nvme-fabrics: correct some printk information

2016-12-10 Thread Joe Perches
On Sat, 2016-12-10 at 21:06 +0100, Julia Lawall wrote: > > On Sat, 10 Dec 2016, Dan Carpenter wrote: > > > On Sat, Dec 10, 2016 at 03:27:50AM -0800, Joe Perches wrote: > > > On Sat, 2016-12-10 at 12:06 +0300, Dan Carpenter wrote: > > > > We really don't care where "ctrl" is on the stack since we'

[PATCH 4/4] [media] bt8xx: Less function calls in dst_ca_ioctl() after error detection

2016-12-10 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 10 Dec 2016 21:30:10 +0100 The kfree() function was called in up to three cases by the dst_ca_ioctl() function during error handling even if the passed variable contained a null pointer. This issue was detected by using the Coccinelle software. * Split a conditio

[PATCH 3/4] [media] bt8xx: Delete unnecessary variable initialisations in ca_send_message()

2016-12-10 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 10 Dec 2016 20:56:04 +0100 Two local variables will be set to an appropriate value a bit later. Thus omit the explicit initialisation at the beginning. Signed-off-by: Markus Elfring --- drivers/media/pci/bt8xx/dst_ca.c | 5 ++--- 1 file changed, 2 insertions(+),

[PATCH 2/4] [media] bt8xx: Delete two error messages for a failed memory allocation

2016-12-10 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 10 Dec 2016 20:50:58 +0100 Omit extra messages for a memory allocation failure in two functions. Link: http://events.linuxfoundation.org/sites/events/files/slides/LCJ16-Refactor_Strings-WSang_0.pdf Signed-off-by: Markus Elfring --- drivers/media/pci/bt8xx/dst_c

[GIT PULL] overlayfs update for 4.10

2016-12-10 Thread Miklos Szeredi
Hi Al, I usually send overlayfs pulls directly to Linus, but it it suits you, please feel free to pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.git overlayfs-linus This update contains: - try to clone on copy-up; - allow renaming a directory; - fix data inconsistenc

[PATCH 1/4] [media] bt8xx: One function call less in bttv_input_init() after error detection

2016-12-10 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 10 Dec 2016 09:29:24 +0100 The kfree() function was called in one case by the bttv_input_init() function during error handling even if the passed variable contained a null pointer. This issue was detected by using the Coccinelle software. * Split a condition chec

[PATCH 0/4] [media] bt8xx: Fine-tuning for three functions

2016-12-10 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 10 Dec 2016 21:40:12 +0100 A few update suggestions were taken into account from static source code analysis. Markus Elfring (4): One function call less in bttv_input_init() after error detection Delete two error messages for a failed memory allocation Delet

[GIT PULL] readlink cleanup

2016-12-10 Thread Miklos Szeredi
Hi Al, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.git readlink This is a rework of the readlink cleanup patchset. Now readlink(2) does the following: - if i_op->readlink() is non-NULL (only proc and afs mountpoints for now) then it calls that; - otherwi

Re: Misalignment, MIPS, and ip_hdr(skb)->version

2016-12-10 Thread Felix Fietkau
On 2016-12-10 21:32, Måns Rullgård wrote: > Felix Fietkau writes: > >> On 2016-12-10 14:25, Måns Rullgård wrote: >>> Felix Fietkau writes: >>> On 2016-12-07 19:54, Jason A. Donenfeld wrote: > On Wed, Dec 7, 2016 at 7:51 PM, David Miller wrote: >> It's so much better to analyze pro

[GIT PULL] vfs misc fixes

2016-12-10 Thread Miklos Szeredi
Hi Al, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.git misc - Fix bad_inode; - fixes in copy_file_range. Thanks, Miklos --- Miklos Szeredi (4): bad_inode: add missing i_op initializers vfs: check file types in vfs_copy_file_range() vfs: chec

Re: Misalignment, MIPS, and ip_hdr(skb)->version

2016-12-10 Thread Måns Rullgård
Felix Fietkau writes: > On 2016-12-10 14:25, Måns Rullgård wrote: >> Felix Fietkau writes: >> >>> On 2016-12-07 19:54, Jason A. Donenfeld wrote: On Wed, Dec 7, 2016 at 7:51 PM, David Miller wrote: > It's so much better to analyze properly where the misalignment comes from > and ad

Re: [patch] nvme-fabrics: correct some printk information

2016-12-10 Thread Dan Carpenter
For my check, most of the results fall into three categories. 1) False positives (40% of results) 2) Badly designed interfaces that take a pointer to a pointer for no reason and can be cleaned up. (5%) 3) Bugs where we modified the code, but haven't tested it. Most of the time passing the w

[GIT PULL] vfs prep for overlayfs update

2016-12-10 Thread Miklos Szeredi
Hi Al, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.git vfs-ovl These are the bits of the upcoming overlayfs update that touch vfs/mm/af_unix. - Revert d_real_inode() comparisons that became obsolete; - add support for clone on copy-up; - add support for con

Re: Misalignment, MIPS, and ip_hdr(skb)->version

2016-12-10 Thread Felix Fietkau
On 2016-12-10 14:25, Måns Rullgård wrote: > Felix Fietkau writes: > >> On 2016-12-07 19:54, Jason A. Donenfeld wrote: >>> On Wed, Dec 7, 2016 at 7:51 PM, David Miller wrote: It's so much better to analyze properly where the misalignment comes from and address it at the source, as we ha

Re: [patch] nvme-fabrics: correct some printk information

2016-12-10 Thread Julia Lawall
On Sat, 10 Dec 2016, Dan Carpenter wrote: > On Sat, Dec 10, 2016 at 03:27:50AM -0800, Joe Perches wrote: > > On Sat, 2016-12-10 at 12:06 +0300, Dan Carpenter wrote: > > > We really don't care where "ctrl" is on the stack since we're just > > > returning soon what we want is the actual ctrl point

Re: Linux 4.4.38

2016-12-10 Thread Greg KH
diff --git a/Makefile b/Makefile index b57ec79b4941..6876efe0d735 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 4 -SUBLEVEL = 37 +SUBLEVEL = 38 EXTRAVERSION = NAME = Blurry Fish Butt diff --git a/arch/sparc/kernel/signal_32.c b/arch/sparc/kernel/signal_32.c ind

Re: Linux 4.8.14

2016-12-10 Thread Greg KH
diff --git a/Makefile b/Makefile index b38abe9adef8..6a7492473a0d 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 8 -SUBLEVEL = 13 +SUBLEVEL = 14 EXTRAVERSION = NAME = Psychotic Stoned Sheep diff --git a/arch/sparc/kernel/signal_32.c b/arch/sparc/kernel/signal_32

  1   2   3   >