[PATCH 06/11] serial: 21285: constify uart_ops structures

2017-08-12 Thread Julia Lawall
These uart_ops structures are only stored in the ops field of a uart_port structure and this fields is const, so the uart_ops structures can also be const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- drivers/tty/serial/21285.c |2 +- 1 file changed, 1 insertion(+), 1

[PATCH 01/11] serial: meson: constify uart_ops structures

2017-08-12 Thread Julia Lawall
These uart_ops structures are only stored in the ops field of a uart_port structure and this fields is const, so the uart_ops structures can also be const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- drivers/tty/serial/meson_uart.c |2 +- 1 file changed, 1 insertion(+

[PATCH 05/11] serial: uuc_uart: constify uart_ops structures

2017-08-12 Thread Julia Lawall
These uart_ops structures are only stored in the ops field of a uart_port structure and this fields is const, so the uart_ops structures can also be const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- drivers/tty/serial/ucc_uart.c |2 +- 1 file changed, 1 insertion(+),

[PATCH 00/11] constify uart_ops structures

2017-08-12 Thread Julia Lawall
These uart_ops structures are only stored in the ops field of a uart_port structure and this fields is const, so the uart_ops structures can also be const. Done with the help of Coccinelle. --- drivers/tty/serial/21285.c |2 +- drivers/tty/serial/apbuart.c|

[PATCH 08/11] serial: cpm_uart: constify uart_ops structures

2017-08-12 Thread Julia Lawall
These uart_ops structures are only stored in the ops field of a uart_port structure and this fields is const, so the uart_ops structures can also be const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- drivers/tty/serial/cpm_uart/cpm_uart_core.c |2 +- 1 file changed, 1

[PATCH 09/11] serial: m32r_sio: constify uart_ops structures

2017-08-12 Thread Julia Lawall
These uart_ops structures are only stored in the ops field of a uart_port structure and this fields is const, so the uart_ops structures can also be const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- drivers/tty/serial/m32r_sio.c |2 +- 1 file changed, 1 insertion(+),

[PATCH 07/11] serial: apbuart: constify uart_ops structures

2017-08-12 Thread Julia Lawall
These uart_ops structures are only stored in the ops field of a uart_port structure and this fields is const, so the uart_ops structures can also be const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- drivers/tty/serial/apbuart.c |2 +- 1 file changed, 1 insertion(+),

[PATCH 10/11] serial: mpc52xx: constify uart_ops structures

2017-08-12 Thread Julia Lawall
These uart_ops structures are only stored in the ops field of a uart_port structure and this fields is const, so the uart_ops structures can also be const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- drivers/tty/serial/mpc52xx_uart.c |2 +- 1 file changed, 1 insertion

[PATCH 03/11] serial: sunsab: constify uart_ops structures

2017-08-12 Thread Julia Lawall
These uart_ops structures are only stored in the ops field of a uart_port structure and this fields is const, so the uart_ops structures can also be const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- drivers/tty/serial/sunsab.c |2 +- 1 file changed, 1 insertion(+), 1

[PATCH 11/11] serial: mux: constify uart_ops structures

2017-08-12 Thread Julia Lawall
These uart_ops structures are only stored in the ops field of a uart_port structure and this fields is const, so the uart_ops structures can also be const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- drivers/tty/serial/mux.c |2 +- 1 file changed, 1 insertion(+), 1 de

[PATCH 04/11] serial: sunsu: constify uart_ops structures

2017-08-12 Thread Julia Lawall
These uart_ops structures are only stored in the ops field of a uart_port structure and this fields is const, so the uart_ops structures can also be const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- drivers/tty/serial/sunsu.c |2 +- 1 file changed, 1 insertion(+), 1

[PATCH 02/11] serial: owl: constify uart_ops structures

2017-08-12 Thread Julia Lawall
These uart_ops structures are only stored in the ops field of a uart_port structure and this fields is const, so the uart_ops structures can also be const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- drivers/tty/serial/owl-uart.c |2 +- 1 file changed, 1 insertion(+),

Re: [PATCH] IB/core: fix duplicated code for different branches

2017-08-12 Thread Leon Romanovsky
On Sat, Aug 12, 2017 at 07:52:35PM -0500, Gustavo A. R. Silva wrote: > Refactor code to avoid identical code for different branches. > > This issue was detected with the help of Coccinelle. > > Signed-off-by: Gustavo A. R. Silva > --- > drivers/infiniband/core/cm.c | 4 > 1 file changed, 4 d

Re: [PATCH 4.4 18/58] mm, mprotect: flush TLB if potentially racing with a parallel reclaim leaving stale TLB entries

2017-08-12 Thread Nadav Amit
Ben Hutchings wrote: > On Wed, 2017-08-09 at 12:41 -0700, Greg Kroah-Hartman wrote: >> 4.4-stable review patch. If anyone has any objections, please let me know. >> >> -- >> >> From: Mel Gorman >> >> commit 3ea277194daaeaa84ce75180ec7c7a2075027a68 upstream. > [...] >> +/* >>

Re: [PATCH v6 6/7] mm: fix MADV_[FREE|DONTNEED] TLB flush miss problem

2017-08-12 Thread Nadav Amit
Peter Zijlstra wrote: > On Tue, Aug 01, 2017 at 05:08:17PM -0700, Nadav Amit wrote: >> void tlb_finish_mmu(struct mmu_gather *tlb, >> unsigned long start, unsigned long end) >> { >> -arch_tlb_finish_mmu(tlb, start, end); >> +/* >> + * If there are parallel threads are doi

Re: linux-next: manual merge of the akpm-current tree with the tip tree

2017-08-12 Thread Nadav Amit
Peter Zijlstra wrote: > > Ok, so I have the below to still go on-top. > > Ideally someone would clarify the situation around > mm_tlb_flush_nested(), because ideally we'd remove the > smp_mb__after_atomic() and go back to relying on PTL alone. > > This also removes the pointless smp_mb__before

Re: [PATCH v4 0/4] thermal: add brcmstb AVS TMON driver

2017-08-12 Thread Florian Fainelli
On August 10, 2017 10:35:56 PM PDT, Zhang Rui wrote: >On Wed, 2017-08-09 at 15:02 -0700, Markus Mayer wrote: >> From: Markus Mayer >> >> This series adds the brcmstb AVS TMON driver. >> >> The driver was originally written by Brian Norris. >> >> This series is also available at >> https://gith

[PATCH 02/38] MIPS: GIC: Introduce asm/mips-gic.h with accessor functions

2017-08-12 Thread Paul Burton
This patch introduces a new header providing accessor functions for the MIPS Global Interrupt Controller (GIC) mirroring those provided for the other 2 components of the MIPS Coherent Processing System (CPS) - the Coherence Manager (CM) & Cluster Power Controller (CPC). This header makes use of th

[PATCH 01/38] irqchip: mips-gic: SYNC after enabling GIC region

2017-08-12 Thread Paul Burton
From: James Hogan A SYNC is required between enabling the GIC region and actually trying to use it, even if the first access is a read, otherwise its possible depending on the timing (and in my case depending on the precise alignment of certain kernel code) to hit CM bus errors on that first acce

[PATCH] f2fs: check hot_data for roll-forward recovery

2017-08-12 Thread Jaegeuk Kim
We need to check HOT_DATA to truncate any previous data block when doing roll-forward recovery. Signed-off-by: Jaegeuk Kim --- fs/f2fs/recovery.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/f2fs/recovery.c b/fs/f2fs/recovery.c index f707d810c87d..9626758bc762 100644 --

Re: [PATCH 5/5] [media] cxusb: add analog mode support for Medion MD95700

2017-08-12 Thread kbuild test robot
Hi Maciej, [auto build test WARNING on linuxtv-media/master] [also build test WARNING on v4.13-rc4 next-20170811] [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/Maciej-S-Szmigiero/Add-analog-mod

Re: [PATCH v4 1/3] clk: sunxi-ng: div: Add support for fixed post-divider

2017-08-12 Thread icenowy
在 2017-08-12 20:43,Icenowy Zheng 写道: From: Priit Laes SATA clock on sun4i/sun7i is of type (parent) / M / 6 where 6 is fixed post-divider. Signed-off-by: Priit Laes Signed-off-by: Icenowy Zheng --- It's based on the patch in v6 of the A10/A20 CCU patchset, but with ccu_div_round_rate fix

RE: [PATCH 3/6] scsi: aacraid: constify pci_error_handlers structures

2017-08-12 Thread Dave Carroll
> > These pci_error_handlers structures are only stored in the err_handler field > of a > pci_driver structure, and this field is declared as const. Thus the > pci_error_handlers structures can be const too. > > Done with the help of Coccinelle. > > Signed-off-by: Julia Lawall > > --- > dri

[GIT PULL] Driver core fixes for 4.13-rc5

2017-08-12 Thread Greg KH
The following changes since commit 5771a8c08880cdca3bfb4a3fc6d309d6bba20877: Linux v4.13-rc1 (2017-07-15 15:22:10 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git/ tags/driver-core-4.13-rc5 for you to fetch changes up to 26

[GIT PULL] Char/Misc driver fixes for 4.13-rc5

2017-08-12 Thread Greg KH
The following changes since commit 520eccdfe187591a51ea9ab4c1a024ae4d0f68d9: Linux 4.13-rc2 (2017-07-23 16:15:17 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git/ tags/char-misc-4.13-rc5 for you to fetch changes up to 1cd65d1

[GIT PULL] TTY/Serial fixes for 4.13-rc5

2017-08-12 Thread Greg KH
The following changes since commit 520eccdfe187591a51ea9ab4c1a024ae4d0f68d9: Linux 4.13-rc2 (2017-07-23 16:15:17 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git/ tags/tty-4.13-rc5 for you to fetch changes up to 9527b82ae3af1ebf465

[GIT PULL] Staging/IIO driver fixes for 4.13-rc5

2017-08-12 Thread Greg KH
The following changes since commit 520eccdfe187591a51ea9ab4c1a024ae4d0f68d9: Linux 4.13-rc2 (2017-07-23 16:15:17 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git/ tags/staging-4.13-rc5 for you to fetch changes up to cef988642cd

[GIT PULL] USB fixes for 4.13-rc5

2017-08-12 Thread Greg KH
The following changes since commit 16f73eb02d7e1765ccab3d2018e0bd98eb93d973: Linux 4.13-rc3 (2017-07-30 12:40:36 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/ tags/usb-4.13-rc5 for you to fetch changes up to 3b6bcd3d093c698d32e

[PATCH] qlge: fix duplicated code for different branches

2017-08-12 Thread Gustavo A. R. Silva
Refactor code in order to avoid identical code for different branches. This issue was detected with the help of Coccinelle. Signed-off-by: Gustavo A. R. Silva --- This code was tested by compilation only. drivers/net/ethernet/qlogic/qlge/qlge_dbg.c | 47 + 1 file ch

Re: Undelivered Mail Returned to Sender

2017-08-12 Thread Joe Perches
On Sun, 2017-08-13 at 01:08 +, Mail Delivery System wrote: > This is the mail system at host smtprelay07.hostedemail.com. > > I'm sorry to have to inform you that your message could not > be delivered to one or more recipients. It's attached below. > > For further assistance, please send mail

[PATCH] liquidio: fix duplicated code for different branches

2017-08-12 Thread Gustavo A. R. Silva
Refactor code in order to avoid identical code for different branches. This issue was detected with the help of Coccinelle. Signed-off-by: Gustavo A. R. Silva --- This code was tested by compilation only. drivers/net/ethernet/cavium/liquidio/lio_ethtool.c | 11 +++ 1 file changed, 3 in

undefined reference to `_GLOBAL_OFFSET_TABLE_'

2017-08-12 Thread kbuild test robot
Hi Nicholas, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 89a55278dee487b172fb16295ccb2d0b2a1b319b commit: 799c43415442414b1032580c47684cb709dfed6d kbuild: thin archives make default for all archs date: 6 weeks

[PATCH] usb: misc: ftdi-elan: fix duplicated code for different branches

2017-08-12 Thread Gustavo A. R. Silva
Refactor code in order to avoid identical code for different branches. This issue was detected with the help of Coccinelle. Signed-off-by: Gustavo A. R. Silva --- drivers/usb/misc/ftdi-elan.c | 27 +-- 1 file changed, 1 insertion(+), 26 deletions(-) diff --git a/drivers

Re: [PATCH v3 07/13] xen/pvcalls: implement listen command

2017-08-12 Thread Boris Ostrovsky
On 07/31/2017 06:57 PM, Stefano Stabellini wrote: Send PVCALLS_LISTEN to the backend. Signed-off-by: Stefano Stabellini CC: boris.ostrov...@oracle.com CC: jgr...@suse.com Reviewed-by: Boris Ostrovsky

[PATCH] scsi: pmcraid: fix duplicated code for different branches

2017-08-12 Thread Gustavo A. R. Silva
Refactor code in order to avoid identical code for different branches. This issue was detected with the help of Coccinelle. Signed-off-by: Gustavo A. R. Silva --- This code was tested by compilation only. drivers/scsi/pmcraid.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff

Re: [PATCH v3 06/13] xen/pvcalls: implement bind command

2017-08-12 Thread Boris Ostrovsky
On 07/31/2017 06:57 PM, Stefano Stabellini wrote: Send PVCALLS_BIND to the backend. Introduce a new structure, part of struct sock_mapping, to store information specific to passive sockets. Introduce a status field to keep track of the status of the passive socket. Signed-off-by: Stefano Stab

[PATCH v2] tpm/tpm_crb: Access locality for only CRB_START method

2017-08-12 Thread Jiandi An
For ARM64, the locality is handled by Trust Zone in FW. The layout does not have crb_regs_head. It is hitting the following line. dev_warn(dev, FW_BUG "Bad ACPI memory layout"); Current code excludes CRB_FL_ACPI_START and when CRB_FL_CRB_SMC_START is added around the same time locality support is

[tip:master 26/52] drivers/staging/rtl8188eu/core/rtw_ap.c:445:1: internal compiler error: in change_address_1, at emit-rtl.c:1928

2017-08-12 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git master head: 9f8f2e094230a70372026b237890dc438be83bd8 commit: b09be676e0ff25bd6d2e7637e26d349f9109ad75 [26/52] locking/lockdep: Implement the 'crossrelease' feature config: xtensa-allmodconfig (attached as .config) compiler: xte

Re: [PATCH v3 05/13] xen/pvcalls: implement connect command

2017-08-12 Thread Boris Ostrovsky
On 07/31/2017 06:57 PM, Stefano Stabellini wrote: Send PVCALLS_CONNECT to the backend. Allocate a new ring and evtchn for the active socket. Introduce fields in struct sock_mapping to keep track of active sockets. Introduce a waitqueue to allow the frontend to wait on data coming from the back

Re: [PATCH 2/3] ALSA: mpu401: Use common error handling code in snd_mpu401_uart_new()

2017-08-12 Thread Joe Perches
On Sat, 2017-08-12 at 21:12 +0200, SF Markus Elfring wrote: > Add a jump target so that a bit of exception handling can be better > reused at the end of this function. [] > diff --git a/sound/drivers/mpu401/mpu401_uart.c > b/sound/drivers/mpu401/mpu401_uart.c [] > @@ -612,6 +612,9 @@ int snd_mpu40

Re: [PATCH v7] rockchip/rga: v4l2 m2m support

2017-08-12 Thread kbuild test robot
Hi Jacob, [auto build test ERROR on rockchip/for-next] [also build test ERROR on v4.13-rc4 next-20170811] [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/Jacob-Chen/rockchip-rga-v4l2-m2m-support/

Re: [PATCH v3] ACPI / Sleep: Check low power idle constraints for debug only

2017-08-12 Thread Rafael J. Wysocki
On Sun, Aug 13, 2017 at 2:00 AM, Srinivas Pandruvada wrote: > On Sun, 2017-08-13 at 00:37 +0200, Rafael J. Wysocki wrote: >> On Sat, Aug 12, 2017 at 5:59 PM, Srinivas Pandruvada >> wrote: >> > >> > On Sat, 2017-08-12 at 16:27 +0200, Rafael J. Wysocki wrote: >> > [...] >> > >> > > >> > > > >> > >

[PATCH] IB/core: fix duplicated code for different branches

2017-08-12 Thread Gustavo A. R. Silva
Refactor code to avoid identical code for different branches. This issue was detected with the help of Coccinelle. Signed-off-by: Gustavo A. R. Silva --- drivers/infiniband/core/cm.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/infiniband/core/cm.c b/drivers/infiniband/core/cm

Re: [PATCH v7] rockchip/rga: v4l2 m2m support

2017-08-12 Thread kbuild test robot
Hi Jacob, [auto build test ERROR on rockchip/for-next] [also build test ERROR on v4.13-rc4 next-20170811] [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/Jacob-Chen/rockchip-rga-v4l2-m2m-support/

Re: [PATCH v3 04/13] xen/pvcalls: implement socket command and handle events

2017-08-12 Thread Boris Ostrovsky
On 07/31/2017 06:57 PM, Stefano Stabellini wrote: Send a PVCALLS_SOCKET command to the backend, use the masked req_prod_pvt as req_id. This way, req_id is guaranteed to be between 0 and PVCALLS_NR_REQ_PER_RING. We already have a slot in the rsp array ready for the response, and there cannot be

Re: [PATCH 3/3] KVM: x86: fix use of L1 MMIO areas in nested guests

2017-08-12 Thread Wanpeng Li
2017-08-12 0:52 GMT+08:00 Paolo Bonzini : > There is currently some confusion between nested and L1 GPAs. The > assignment to "direct" in kvm_mmu_page_fault tries to fix that, but > it is not enough. What this patch does is fence off the MMIO cache > completely when using shadow nested page table

Re: [PATCH v3] ACPI / Sleep: Check low power idle constraints for debug only

2017-08-12 Thread Srinivas Pandruvada
On Sun, 2017-08-13 at 00:37 +0200, Rafael J. Wysocki wrote: > On Sat, Aug 12, 2017 at 5:59 PM, Srinivas Pandruvada > wrote: > > > > On Sat, 2017-08-12 at 16:27 +0200, Rafael J. Wysocki wrote: > > [...] > > > > > > > > > > > > > + > > > > +struct lpi_constraints { > > > > +   char *name; > > >

Re: [PATCH 2/3] KVM: x86: Avoid guest page table walk when gpa_available is set

2017-08-12 Thread Wanpeng Li
2017-08-12 0:52 GMT+08:00 Paolo Bonzini : > From: Brijesh Singh > > When a guest causes a page fault which requires emulation, the > vcpu->arch.gpa_available flag is set to indicate that cr2 contains a > valid GPA. > > Currently, emulator_read_write_onepage() makes use of gpa_available flag > to a

Re: [PATCH 1/3] KVM: x86: simplify ept_misconfig

2017-08-12 Thread Wanpeng Li
2017-08-12 0:52 GMT+08:00 Paolo Bonzini : > Calling handle_mmio_page_fault() has been unnecessary since commit > e9ee956e311d ("KVM: x86: MMU: Move handle_mmio_page_fault() call to > kvm_mmu_page_fault()", 2016-02-22) > > Signed-off-by: Paolo Bonzini Reviewed-by: Wanpeng Li > --- > arch/x86/kv

Re: [RFC 1/2] misc: Add vboxguest driver for Virtual Box Guest integration

2017-08-12 Thread Greg Kroah-Hartman
On Sat, Aug 12, 2017 at 11:56:22PM +0200, Hans de Goede wrote: > > 'u32' is not an approprioate type for a kernel header, use '__u32' > > instead. > > Huh I thought that u32 was preferred, but I guess that it is not allowed > in uapi headers due to potential conflicts and it should be __u32 in uap

[PATCH] ASoC: hdmi-codec: make a function and two arrays static

2017-08-12 Thread Colin King
From: Colin Ian King The function hdmi_codec_eld_chmap and arrays hdmi_codec_stereo_chmaps and hdmi_codec_8ch_chmaps are local to the source and do not need to be in global scope, so make them static. Cleans up sparse warnings: symbol 'hdmi_codec_eld_chmap' was not declared. Should it be static?

RGB support prototype

2017-08-12 Thread Pavel Machek
Hi! You mentioned you was working on RGB support prototype. Could you post copy of the patches (even if unfinished)? Thanks, Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.

Re: [PATCH v3] ACPI / Sleep: Check low power idle constraints for debug only

2017-08-12 Thread Rafael J. Wysocki
On Sat, Aug 12, 2017 at 5:59 PM, Srinivas Pandruvada wrote: > On Sat, 2017-08-12 at 16:27 +0200, Rafael J. Wysocki wrote: > [...] > >> > + >> > +struct lpi_constraints { >> > + char *name; >> > + int min_dstate; >> If you store the handle here as well, you won't need to >> look it up every tim

Re: [PATCH] leds: Convert to using %pOF instead of full_name

2017-08-12 Thread Jacek Anaszewski
On 08/08/2017 10:09 AM, Pavel Machek wrote: > On Tue 2017-07-18 16:43:11, Rob Herring wrote: >> Now that we have a custom printf format specifier, convert users of >> full_name to use %pOF instead. This is preparation to remove storing >> of the full path string for each node. >> >> Signed-off-by:

Re: [PATCH 5/5] [media] cxusb: add analog mode support for Medion MD95700

2017-08-12 Thread kbuild test robot
Hi Maciej, [auto build test WARNING on linuxtv-media/master] [also build test WARNING on v4.13-rc4 next-20170811] [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/Maciej-S-Szmigiero/Add-analog-mod

[GIT PULL] Another MTD fix for v4.13-rc5

2017-08-12 Thread Brian Norris
/for-linus-20170812 for you to fetch changes up to 9a51544774a57fcb94994a61860a17f9e63a8d7b: mtd: blkdevs: Fix mtd block write failure (2017-08-12 14:53:24 -0700) Another MTD fix for v4.13-rc5: An mtdblock regression occurred in

Re: [PATCH] serial: imx: Improve PIO prevention if TX DMA has been started

2017-08-12 Thread Clemens Gruber
On Sat, Aug 12, 2017 at 09:54:51PM +0200, Uwe Kleine-König wrote: > On Sat, Aug 12, 2017 at 05:12:10PM +0200, Clemens Gruber wrote: > > The imx_transmit_buffer function should return if TX DMA has already > > been started and not just skip over the buffer PIO write loop. (Which > > did fix the init

NACK: [PATCH] rtlwifi: btcoex: make function btc8723b2ant_dac_swing static

2017-08-12 Thread Colin Ian King
On 12/08/17 23:00, Colin King wrote: > From: Colin Ian King > > The function btc8723b2ant_dac_swing is local to the source and > does not need to be in global scope, so make it static. > > Cleans up sparse warning: > symbol 'btc8723b2ant_dac_swing' was not declared. Should it be static? > > Si

[PATCH] rtlwifi: btcoex: make function btc8723b2ant_dac_swing static

2017-08-12 Thread Colin King
From: Colin Ian King The function btc8723b2ant_dac_swing is local to the source and does not need to be in global scope, so make it static. Cleans up sparse warning: symbol 'btc8723b2ant_dac_swing' was not declared. Should it be static? Signed-off-by: Colin Ian King --- drivers/net/wireless/

Re: [RFC 1/2] misc: Add vboxguest driver for Virtual Box Guest integration

2017-08-12 Thread Hans de Goede
Hi, On 11-08-17 23:23, Arnd Bergmann wrote: On Fri, Aug 11, 2017 at 3:23 PM, Hans de Goede wrote: This commit adds a driver for the Virtual Box Guest PCI device used in Virtual Box virtual machines. Enabling this driver will add support for Virtual Box Guest integration features such as copy-a

Re: [PATCH] mtd: blkdevs: Fix mtd block write failure

2017-08-12 Thread Brian Norris
Hi, On Sat, Aug 05, 2017 at 01:44:26AM +0530, Abhishek Sahu wrote: > On 2017-08-03 20:40, Boris Brezillon wrote: > >On Wed, 2 Aug 2017 18:03:05 +0530 > >Abhishek Sahu wrote: > > > >>All the MTD block write requests are failing with > >>following error messages > >> > >>mkfs.ext4 /dev/mtdblo

[PATCH] MAINTAINERS: Add SoC drivers to AT91 entry

2017-08-12 Thread Alexandre Belloni
We (the AT91/Atmel SoC maintainers) are not seeing patches for several drivers present only on our SoCs. Add more patterns to match at91 and atmel drivers. Signed-off-by: Alexandre Belloni --- MAINTAINERS | 5 + 1 file changed, 5 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 20

[PATCH] tap: make struct tap_fops static

2017-08-12 Thread Colin King
From: Colin Ian King The structure tap_fops is local to the source and does not need to be in global scope, so make it static. Cleans up sparse warning: symbol 'tap_fops' was not declared. Should it be static? Signed-off-by: Colin Ian King --- drivers/net/tap.c | 2 +- 1 file changed, 1 inser

[PATCH 3/3] parport: use release_mem_region instead of release_resource

2017-08-12 Thread Sudip Mukherjee
From: Anton Vasilyev Use api pair of request_mem_region and release_mem_region instead of release_resource. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Anton Vasilyev Signed-off-by: Sudip Mukherjee --- drivers/parport/parport_ax88796.c | 6 ++ 1 file cha

[PATCH 2/3] parport: cleanup statics initialization to NULL or 0

2017-08-12 Thread Sudip Mukherjee
From: Carlos Palminha based on checkpatch, cleanup the "do not initialise statics to" 0 or NULL. Signed-off-by: Carlos Palminha Signed-off-by: Sudip Mukherjee --- drivers/parport/daisy.c | 2 +- drivers/parport/parport_atari.c | 2 +- drivers/parport/parport_ip32.c | 2 +- drivers/pa

[PATCH 1/3] parport_pc: use pr_cont

2017-08-12 Thread Sudip Mukherjee
From: Mikulas Patocka The kernel adds newline automatically between printk calls, we must use pr_cont if we want multiple printk strings on the same line. Signed-off-by: Mikulas Patocka Signed-off-by: Sudip Mukherjee --- drivers/parport/parport_pc.c | 24 1 file chang

[PATCH] virtio-net: make array guest_offloads static

2017-08-12 Thread Colin King
From: Colin Ian King The array guest_offloads is local to the source and does not need to be in global scope, so make it static. Also tweak formatting. Cleans up sparse warnings: symbol 'guest_offloads' was not declared. Should it be static? Signed-off-by: Colin Ian King --- drivers/net/virti

Re: [PATCH 0/9] constify isa snd_pcm_ops structures

2017-08-12 Thread Takashi Iwai
On Fri, 11 Aug 2017 13:57:58 +0200, Arvind Yadav wrote: > > snd_pcm_ops are not supposed to change at runtime. All functions > working with snd_pcm_ops provided by work with > const snd_pcm_ops. So mark the non-const structs as const. > > Arvind Yadav (9): > [PATCH 1/9] ALSA: ad1816a: constify

[PATCH] parisc: pci memory bar assignment fails with 64bit kernels on dino/cujo

2017-08-12 Thread Thomas Bogendoerfer
For 64bit kernels the lmmio_space_offset of the host bridge window isn't set correctly on systems with dino/cujo PCI host bridges. This leads to not assigned memory bars and failing drivers, which need to use these bars. Signed-off-by: Thomas Bogendoerfer --- drivers/parisc/dino.c | 2 +- 1 file

Re: [PATCH 0/3] ALSA: mpu401: Adjustments for three function implementations

2017-08-12 Thread Takashi Iwai
On Sat, 12 Aug 2017 21:10:12 +0200, SF Markus Elfring wrote: > > From: Markus Elfring > Date: Sat, 12 Aug 2017 21:05:21 +0200 > > A few update suggestions were taken into account > from static source code analysis. > > Markus Elfring (3): > Delete an error message for a failed memory allocati

Re: [PATCH v4 1/9] mtd: sharpslpart: add sharpslpart MTD partition parser

2017-08-12 Thread Brian Norris
Hi Andrea, I'm sorry this had to wait so long, but then...you didn't actually address several of my comments from the last time :( This does look better, but still quite a few smaller notes. Hopefully next one will be merge-able... On Wed, Jun 28, 2017 at 10:30:28PM +0200, Andrea Adami wrote: >

[PATCH] w1: ds2438: make several functions static

2017-08-12 Thread Colin King
From: Colin Ian King The functions w1_ds2438_get_page, w1_ds2438_get_temperature, w1_ds2438_change_config_bit and w1_ds2438_get_voltage are local to the source and do not need to be in global scope, so make it static. Cleans up sparse warnings: symbol 'w1_ds2438_get_page' was not declared. Shoul

Re: [PATCH] ALSA: opl3: Delete an error message for a failed memory allocation in snd_opl3_new()

2017-08-12 Thread Takashi Iwai
On Sat, 12 Aug 2017 20:02:14 +0200, SF Markus Elfring wrote: > > From: Markus Elfring > Date: Sat, 12 Aug 2017 19:54:20 +0200 > > Omit an extra message for a memory allocation failure in this function. > > This issue was detected by using the Coccinelle software. > > Signed-off-by: Markus Elfr

Re: [PATCH] ALSA: ca0106: Delete an error message for a failed memory allocation in snd_ca0106_pcm_open_capture_channel()

2017-08-12 Thread Takashi Iwai
On Sat, 12 Aug 2017 19:15:58 +0200, SF Markus Elfring wrote: > > From: Markus Elfring > Date: Sat, 12 Aug 2017 19:09:23 +0200 > > Omit an extra message for a memory allocation failure in this function. > > This issue was detected by using the Coccinelle software. > > Signed-off-by: Markus Elfr

Re: [PATCH] ALSA: pcxhr: Delete an error message for a failed memory allocation in pcxhr_create()

2017-08-12 Thread Takashi Iwai
On Sat, 12 Aug 2017 18:28:06 +0200, SF Markus Elfring wrote: > > From: Markus Elfring > Date: Sat, 12 Aug 2017 18:14:54 +0200 > > Omit an extra message for a memory allocation failure in this function. > > This issue was detected by using the Coccinelle software. > > Signed-off-by: Markus Elfr

Re: [PATCH] ALSA: mixart: Delete an error message for a failed memory allocation in snd_mixart_create()

2017-08-12 Thread Takashi Iwai
On Sat, 12 Aug 2017 18:51:51 +0200, SF Markus Elfring wrote: > > From: Markus Elfring > Date: Sat, 12 Aug 2017 18:45:42 +0200 > > Omit an extra message for a memory allocation failure in this function. > > This issue was detected by using the Coccinelle software. > > Signed-off-by: Markus Elfr

Re: [PATCH 00/16] ALSA: PCI: constify snd_pcm_hardware const

2017-08-12 Thread Takashi Iwai
On Sat, 12 Aug 2017 17:31:12 +0200, Bhumika Goyal wrote: > > Declare snd_pcm_hardware const. > Done using Coccinelle. > > Bhumika Goyal (16): > ALSA: aw2: make snd_pcm_hardware const > ALSA: ca0106: make snd_pcm_hardware const > ALSA: cs46xx: make snd_pcm_hardware const > ALSA: korg1212:

Re: [PATCH 0/3] ALSA: rme9652: Adjustments for six function implementations

2017-08-12 Thread Takashi Iwai
On Sat, 12 Aug 2017 17:32:13 +0200, SF Markus Elfring wrote: > > From: Markus Elfring > Date: Sat, 12 Aug 2017 17:17:23 +0200 > > A few update suggestions were taken into account > from static source code analysis. > > Markus Elfring (3): > Delete an error message for a failed memory allocati

Re: [PATCH 0/3] ALSA: rme96: Adjustments for six function implementations

2017-08-12 Thread Takashi Iwai
On Sat, 12 Aug 2017 15:38:01 +0200, SF Markus Elfring wrote: > > From: Markus Elfring > Date: Sat, 12 Aug 2017 15:36:54 +0200 > > A few update suggestions were taken into account > from static source code analysis. > > Markus Elfring (3): > Delete two error messages for a failed memory alloca

Re: [PATCH] ALSA: trident: Delete an error message for a failed memory allocation in snd_trident_tlb_alloc()

2017-08-12 Thread Takashi Iwai
On Sat, 12 Aug 2017 13:31:55 +0200, SF Markus Elfring wrote: > > From: Markus Elfring > Date: Sat, 12 Aug 2017 13:20:16 +0200 > > Omit an extra message for a memory allocation failure in this function. > > This issue was detected by using the Coccinelle software. > > Signed-off-by: Markus Elfr

Re: [PATCH] rtc: at91rm9200: fix error return code in at91_rtc_probe()

2017-08-12 Thread Alexandre Belloni
On 09/08/2017 at 10:52:44 -0500, Gustavo A. R. Silva wrote: > platform_get_irq() returns an error code, but the at91rm9200 driver > ignores it and always returns -ENXIO. This is not correct and, > prevents -EPROBE_DEFER from being propagated properly. > > Print and propagate the return value of pl

Re: [PATCH] ALSA: usb: caiaq: audio: Delete two error messages for a failed memory allocation in alloc_urbs()

2017-08-12 Thread Takashi Iwai
On Fri, 11 Aug 2017 20:00:30 +0200, SF Markus Elfring wrote: > > From: Markus Elfring > Date: Fri, 11 Aug 2017 19:39:06 +0200 > > Omit extra messages for a memory allocation failure in this function. > > This issue was detected by using the Coccinelle software. > > Signed-off-by: Markus Elfrin

Re: [PATCH] ALSA: usb: Delete an error message for a failed memory allocation in two functions

2017-08-12 Thread Takashi Iwai
On Fri, 11 Aug 2017 19:04:41 +0200, SF Markus Elfring wrote: > > From: Markus Elfring > Date: Fri, 11 Aug 2017 18:38:25 +0200 > > Omit an extra message for a memory allocation failure in these functions. > > This issue was detected by using the Coccinelle software. > > Link: > http://events.l

Re: [PATCH] ALSA: usx2y: Delete an error message for a failed memory allocation in two functions

2017-08-12 Thread Takashi Iwai
On Fri, 11 Aug 2017 18:02:15 +0200, SF Markus Elfring wrote: > > From: Markus Elfring > Date: Fri, 11 Aug 2017 17:40:57 +0200 > > Omit an extra message for a memory allocation failure in these functions. > > This issue was detected by using the Coccinelle software. > > Link: > http://events.l

Re: [PATCH v5 10/10] lkdtm: Add test for XPFO

2017-08-12 Thread kbuild test robot
Hi Juerg, [auto build test ERROR on arm64/for-next/core] [also build test ERROR on v4.13-rc4] [cannot apply to next-20170811] [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/Tycho-Andersen/Add-su

Re: [PATCH] i2c: mux: rename files to not have superfluous prefixes

2017-08-12 Thread Peter Rosin
On 2017-08-12 16:26, Wolfram Sang wrote: > Hi peda, > >> In the light of the rant from Linus the other week [1], I thought this >> might be a good idea? > > I am still not decided on this one. I tried to do it with the core files > and didn't find a convincing solution there. Also, the churn is q

Re: [PATCH 5/5] [media] cxusb: add analog mode support for Medion MD95700

2017-08-12 Thread kbuild test robot
Hi Maciej, [auto build test WARNING on linuxtv-media/master] [also build test WARNING on v4.13-rc4 next-20170811] [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/Maciej-S-Szmigiero/Add-analog-mod

Re: [PATCH v5 10/10] lkdtm: Add test for XPFO

2017-08-12 Thread kbuild test robot
Hi Juerg, [auto build test ERROR on arm64/for-next/core] [also build test ERROR on v4.13-rc4] [cannot apply to next-20170811] [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/Tycho-Andersen/Add-su

Re: [PATCH] rtc: rtctest: Improve support detection

2017-08-12 Thread Alexandre Belloni
Hi, On 11/08/2017 at 11:14:55 +0200, Lukáš Doktor wrote: > The rtc-generic and opal-rtc are failing to run this test as they do not > support all the features. Let's treat the error returns and skip to the > following test. > > Theoretically the test_DATE should be also adjusted, but as it's enab

[PATCH v3] Fix missing PCI ID; Necessary for Lenovo Yoga 720-15 Touchpad.

2017-08-12 Thread Hoeze
From: Hoeze This patch adds a missing PCI ID to the Intel LPSS driver. It fixes a bug causing the touchpad of the Lenovo Yoga 720-15 not to be recognized. See also bug 1700657 on bugs.launchpad.net. Many thanks to CoolStar, who found this solution! Reported-by: CoolStar Tested-by: Mike Schwar

Re: [PATCH 3/4] platform/x86: peaq-wmi: Evaluate wmi method with instance number 0x0

2017-08-12 Thread Hans de Goede
Hi, On 12-08-17 09:44, Pali Rohár wrote: According to Hans de Goede, WMI interface of thh peaq-wmi module has 10 instances but corresponding ACPI WMBC method does not check Arg0 (instance number) at all. Therefore evaluate WMI method with first instance number (0x0) instead of second (0x1). Sig

Re: [PATCH v2 2/3] livepatch: send a fake signal to all blocking tasks

2017-08-12 Thread Jiri Kosina
On Fri, 11 Aug 2017, Josh Poimboeuf wrote: > > + read_lock(&tasklist_lock); > > + for_each_process_thread(g, task) { > > + if (!klp_patch_pending(task)) > > + continue; > > + > > + /* > > +* There is a small race here. We could see TIF_PATCH_PE

Re: [PATCH] serial: imx: Improve PIO prevention if TX DMA has been started

2017-08-12 Thread Uwe Kleine-König
On Sat, Aug 12, 2017 at 05:12:10PM +0200, Clemens Gruber wrote: > The imx_transmit_buffer function should return if TX DMA has already > been started and not just skip over the buffer PIO write loop. (Which > did fix the initial problem, but could have unintentional side-effects) > > Tested on an

Re: unregister_netdevice: waiting for eth0 to become free. Usage count = 1

2017-08-12 Thread Wei Wang
Hi Ido, >> - if ((rt->dst.dev == dev || !dev) && >> + if ((rt->dst.dev == dev || !dev || >> + rt->rt6i_idev->dev == dev) && > > Can you please explain why this line is needed? While host routes aren't > removed from the FIB by rt6_ifdown() (when dst.dev goes down), they are > remo

Re: unregister_netdevice: waiting for eth0 to become free. Usage count = 1

2017-08-12 Thread Wei Wang
On Fri, Aug 11, 2017 at 8:37 PM, David Ahern wrote: > On 8/11/17 6:25 PM, Wei Wang wrote: >> By "a patch to fix that" do you mean after your patch, for every rt6, >> rt6->rt6i_idev will be the same as rt6->dst.dev? > > FIB entries should have them the same device with my patch. > > The copies done

Re: unregister_netdevice: waiting for eth0 to become free. Usage count = 1

2017-08-12 Thread Wei Wang
> Looks good so far! I've not hit the issue yet. > Great. I will prepare an official patch then. > Thanks so much for sorting out a fix! > > If its useful: > Tested-by: John Stultz Sure will do. Thanks. Wei On Fri, Aug 11, 2017 at 8:07 PM, John Stultz wrote: > On Fri, Aug 11, 2017 at 5:31 PM

Re: unregister_netdevice: waiting for eth0 to become free. Usage count = 1

2017-08-12 Thread Wei Wang
On Fri, Aug 11, 2017 at 8:07 PM, John Stultz wrote: > On Fri, Aug 11, 2017 at 5:31 PM, John Stultz wrote: >> On Fri, Aug 11, 2017 at 5:10 PM, Wei Wang wrote: If after Cong's fix, the issue still happens, could you help try the patch attached and collect all logs when you try the reprod

Re: [PATCH v2 1/3] leds: core: Introduce generic pattern interface

2017-08-12 Thread Pavel Machek
Hi! > > Hmm, they are only [brightness duration] tuples, and no definition of > > R, G and B LED device is covered here, so how it can be useful for RGB > > LEDs? > > > > The typical Qualcomm PMIC sports 4-8 LPG channels. The output of these > channels can be configured to some extent, but in th

Re: [PATCH v2 0/5] fs, xfs: block map immutable files for dax, dma-to-storage, and swap

2017-08-12 Thread Dan Williams
On Sat, Aug 12, 2017 at 12:33 AM, Christoph Hellwig wrote: > On Fri, Aug 11, 2017 at 03:26:05PM -0700, Dan Williams wrote: >> Right, but they let userspace make inferences about the state of >> metadata relative to I/O to a given storage address. In this regard >> S_IOMAP_IMMUTABLE is no different

[PATCH 3/3] ALSA: mpu401: Adjust four checks for null pointers

2017-08-12 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 12 Aug 2017 20:50:16 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The script “checkpatch.pl” pointed information out like the following. Comparison to NULL could be written !… Thus fix the affected source code pl

  1   2   3   >