[PATCH 11/15] sfc: don't call dma_supported

2015-10-03 Thread Christoph Hellwig
dma_set_mask already checks for a supported DMA mask before updating it, the call to dma_supported is redundant. Signed-off-by: Christoph Hellwig --- drivers/net/ethernet/sfc/efx.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/drivers/net/ethernet/sfc/efx.c

[PATCH 08/15] netup_unidvb: use pci_set_dma_mask insted of pci_dma_supported

2015-10-03 Thread Christoph Hellwig
This ensures the dma mask that is supported by the driver is recorded in the device structure. Signed-off-by: Christoph Hellwig --- drivers/media/pci/netup_unidvb/netup_unidvb_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH V1] rtc: GPL copyright inconsistency fix

2015-10-03 Thread Alexandre Belloni
On 02/10/2015 at 11:21:11 +0100, Steve Twiss wrote : > From: Steve Twiss > > Fix misleading and inconsistent copyright header wording. > > Alter the copyright header text and MODULE_LICENSE macro to ensure the > GPL v2 licence description is correctly represented. > > It will remove the

[PATCH 06/15] cx25821: use pci_set_dma_mask insted of pci_dma_supported

2015-10-03 Thread Christoph Hellwig
This ensures the dma mask that is supported by the driver is recorded in the device structure. Signed-off-by: Christoph Hellwig --- drivers/media/pci/cx25821/cx25821-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/pci/cx25821/cx25821-core.c

[PATCH 04/15] saa7134: use pci_set_dma_mask insted of pci_dma_supported

2015-10-03 Thread Christoph Hellwig
This ensures the dma mask that is supported by the driver is recorded in the device structure. Signed-off-by: Christoph Hellwig --- drivers/media/pci/saa7134/saa7134-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/pci/saa7134/saa7134-core.c

[PATCH 05/15] cx88: use pci_set_dma_mask insted of pci_dma_supported

2015-10-03 Thread Christoph Hellwig
This ensures the dma mask that is supported by the driver is recorded in the device structure. Signed-off-by: Christoph Hellwig --- drivers/media/pci/cx88/cx88-alsa.c | 2 +- drivers/media/pci/cx88/cx88-mpeg.c | 2 +- drivers/media/pci/cx88/cx88-video.c | 2 +- 3 files changed, 3

[PATCH 10/11] staging: dgnc: remove initialization of global

2015-10-03 Thread Sudip Mukherjee
globals variable will be initialied to 0 and the global pointers will be to NULL. No need to initialize them separately. Signed-off-by: Sudip Mukherjee --- drivers/staging/dgnc/dgnc_driver.c | 7 --- 1 file changed, 7 deletions(-) diff --git a/drivers/staging/dgnc/dgnc_driver.c

[PATCH 03/15] saa7164: use pci_set_dma_mask insted of pci_dma_supported

2015-10-03 Thread Christoph Hellwig
This ensures the dma mask that is supported by the driver is recorded in the device structure. Signed-off-by: Christoph Hellwig --- drivers/media/pci/saa7164/saa7164-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/pci/saa7164/saa7164-core.c

[PATCH 02/15] tw68-core: use pci_set_dma_mask insted of pci_dma_supported

2015-10-03 Thread Christoph Hellwig
This ensures the dma mask that is supported by the driver is recorded in the device structure. Signed-off-by: Christoph Hellwig --- drivers/media/pci/tw68/tw68-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/pci/tw68/tw68-core.c

[PATCH 01/15] pcnet32: use pci_set_dma_mask insted of pci_dma_supported

2015-10-03 Thread Christoph Hellwig
This ensures the dma mask that is supported by the driver is recorded in the device structure. Signed-off-by: Christoph Hellwig --- drivers/net/ethernet/amd/pcnet32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/amd/pcnet32.c

[PATCH 09/11] staging: dgnc: remove parenthesis

2015-10-03 Thread Sudip Mukherjee
checkpatch was warning us about extra unneeded parenthesis. Signed-off-by: Sudip Mukherjee --- drivers/staging/dgnc/dgnc_neo.c | 2 +- drivers/staging/dgnc/dgnc_sysfs.c | 48 +++ drivers/staging/dgnc/dgnc_tty.c | 14 ++-- 3 files changed, 32

[PATCH 05/11] staging: dgnc: remove space after cast

2015-10-03 Thread Sudip Mukherjee
Space is not necessary after typecast. Signed-off-by: Sudip Mukherjee --- drivers/staging/dgnc/dgnc_cls.c| 6 +++--- drivers/staging/dgnc/dgnc_driver.c | 6 +++--- drivers/staging/dgnc/dgnc_mgmt.c | 6 +++--- drivers/staging/dgnc/dgnc_neo.c| 12 ++--

[PATCH 04/11] staging: dgnc: remove blankline after brace

2015-10-03 Thread Sudip Mukherjee
Blank lines are not needed after opening braces. checkpatch was giving us warnings about this. Signed-off-by: Sudip Mukherjee --- drivers/staging/dgnc/dgnc_cls.c| 4 drivers/staging/dgnc/dgnc_driver.c | 3 --- drivers/staging/dgnc/dgnc_mgmt.c | 1 - drivers/staging/dgnc/dgnc_neo.c

[PATCH 06/11] staging: dgnc: change style of NULL comparison

2015-10-03 Thread Sudip Mukherjee
Change the NULL comparison style as warned by checkpatch. Signed-off-by: Sudip Mukherjee --- drivers/staging/dgnc/dgnc_tty.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/dgnc/dgnc_tty.c b/drivers/staging/dgnc/dgnc_tty.c index 35f3ec4..b40fd67 100644

[PATCH 03/11] staging: dgnc: remove blankline before brace

2015-10-03 Thread Sudip Mukherjee
Blank lines are not needed before closing braces. checkpatch was giving warning about this. Signed-off-by: Sudip Mukherjee --- drivers/staging/dgnc/dgnc_cls.c| 7 --- drivers/staging/dgnc/dgnc_driver.c | 2 -- drivers/staging/dgnc/dgnc_mgmt.c | 1 - drivers/staging/dgnc/dgnc_neo.c

Re: [PATCH v3] arm: Fix backtrace generation when IPI is masked

2015-10-03 Thread Russell King - ARM Linux
On Tue, Sep 15, 2015 at 03:40:05PM +0100, Daniel Thompson wrote: > Currently on ARM when is triggered from an interrupt handler > (e.g. a SysRq issued using UART or kbd) the main CPU will wedge for ten > seconds with interrupts masked before issuing a backtrace for every CPU > except itself. > >

[PATCH] staging: lustre: lustre: llite: Added const

2015-10-03 Thread Anjali Menon
Added const to the struct statement which fixed the coding style warning detected by chekpatch.pl WARNING: struct seq_operations should normally be const Signed-off-by: Anjali Menon --- drivers/staging/lustre/lustre/llite/vvp_dev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH] Doc:kvm: Fix typo in Doc/virtual/kvm

2015-10-03 Thread Masanari Iida
This patch fix spelling typos in Documentation/virtual/kvm. Signed-off-by: Masanari Iida --- Documentation/virtual/kvm/api.txt| 4 ++-- Documentation/virtual/kvm/devices/vm.txt | 2 +- Documentation/virtual/kvm/ppc-pv.txt | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-)

Re: [PATCH] staging: lustre: lustre: llite: Added a blank line

2015-10-03 Thread Drokin, Oleg
On Oct 3, 2015, at 7:39 AM, Anjali Menon wrote: > Added a blank line after declaration to fix the coding > style warning detected by checkpatch.pl > > WARNING: Missing a blank line after declarations > > Signed-off-by: Anjali Menon > --- > drivers/staging/lustre/lustre/llite/llite_capa.c | 1

Re: [PATCH 3/24] ver_linux: gcc.patch

2015-10-03 Thread Alexander Kapshuk
On Sat, Oct 3, 2015 at 6:07 PM, Richard Weinberger wrote: > On Sat, Oct 3, 2015 at 3:07 PM, Alexander Kapshuk > wrote: >> Using 'awk' here is a bit of an overkill. Should the output of 'gcc >> -dumpversion' vary on another disto, or change overtime, it may no longer >> be available at field 1,

Re: [PATCH 05/17] platform: x86: remove misuse of IRQF_NO_SUSPEND flag

2015-10-03 Thread Darren Hart
On Mon, Sep 21, 2015 at 04:47:01PM +0100, Sudeep Holla wrote: > The IRQF_NO_SUSPEND flag is used to identify the interrupts that should > be left enabled so as to allow them to work as expected during the > suspend-resume cycle, but doesn't guarantee that it will wake the system > from a suspended

[PATCH] video: fbdev: add Marvell PXA framebuffer binding

2015-10-03 Thread Robert Jarzmik
Add documentation for the PXA frambuffer devicetree binding. Signed-off-by: Robert Jarzmik Cc: Jean-Christophe Plagniol-Villard Cc: Tomi Valkeinen Cc: linux-fb...@vger.kernel.org --- .../devicetree/bindings/video/marvell,pxafb.txt| 75 ++ 1 file changed, 75

[PATCH 1/2] video: fbdev: pxafb: loosen the platform data bond

2015-10-03 Thread Robert Jarzmik
In order to prepare the transition to a mixed platform data and device-tree initialization, remove all the platform data references all over the driver. Copy the platform data into the internal structure of the pxafb, and only use this afterward. Signed-off-by: Robert Jarzmik ---

[PATCH 2/2] video: fbdev: pxafb: initial devicetree conversion

2015-10-03 Thread Robert Jarzmik
This patch brings a first support of pxa framebuffer devices to a devicetree pxa platform, as was before platform data. There are restrictions with this port, the biggest one being the lack of support of smart panels. Moreover the conversion doesn't provide a way to declare multiple framebuffer

[PATCH 0/2] video: fbdev: pxafb: devicetree conversion

2015-10-03 Thread Robert Jarzmik
This patchset aims at bringing support for the pxa framebuffer driver to a devicetree pxa platform. This was tested on a pxa27x platform, in both a devicetree build and a classic platform data one. Robert Jarzmik (2): video: fbdev: pxafb: loosen the platform data bond video: fbdev: pxafb:

[PATCH] usbhid: Fix for the WiiU adapter from Mayflash

2015-10-03 Thread Oliver Schmitt
The WiiU adapter from Mayflash (see http://www.mayflash.com/Products/NINTENDOWiiU/W009.html) is not working correctly. The "XInput" mode works fine, the controller is recognized as a xbox controller. But it is only possible to connect one controller with this method. In "DInput" mode the

Re: [PATCH 3/24] ver_linux: gcc.patch

2015-10-03 Thread Richard Weinberger
Am 03.10.2015 um 18:07 schrieb Alexander Kapshuk: > The main objective I endeavoured to attain was to come up with an > algorithm that would possibly result in a uniform output that would > work across as many distros as possbile. The current implementation > seems to struggle with that. What

Re: [PATCH] coccinelle: misc: remove "complex return code" warnings

2015-10-03 Thread Julia Lawall
Acked-by: Julia Lawall Perhaps there is a more restricted version that can be acceptable, but I'm OK with dropping the current version. julia On Thu, 1 Oct 2015, Johan Hovold wrote: > On Thu, Oct 01, 2015 at 07:20:10AM +0200, Julia Lawall wrote: > > On Wed, 30 Sep 2015, Johan Hovold wrote: >

Re: [PATCH] coccinelle: misc: remove "complex return code" warnings

2015-10-03 Thread Julia Lawall
Should have acked this message... Acked-by: Julia Lawall On Wed, 30 Sep 2015, Johan Hovold wrote: > This effectively reverts 932058a5d5f9 ("coccinelle: misc: semantic patch > to delete overly complex return code processing"). > > There can be both symmetry and readability reasons for not

Re: [PATCH] coccinelle: simple_return: fix typos in messages

2015-10-03 Thread Julia Lawall
On Fri, 2 Oct 2015, Javier Martinez Canillas wrote: > All messages have a typo that misspells the word simplified. Thanks for your contribution, but in another thread it has been proposed to drop the semantic patch completely. julia > > Signed-off-by: Javier Martinez Canillas > > --- > >

[PATCH] staging: iio: adc: fix comment block coding style issue

2015-10-03 Thread Hugo Camboulive
This patch to ad7746.c makes the comment block end with a */ on a separate line. Signed-off-by: Hugo Camboulive --- drivers/staging/iio/cdc/ad7746.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/iio/cdc/ad7746.c b/drivers/staging/iio/cdc/ad7746.c index

Re: [PATCH 14/19] sony-laptop: fix handling sony_nc_hotkeys_decode result

2015-10-03 Thread Darren Hart
On Thu, Sep 24, 2015 at 04:00:22PM +0200, Andrzej Hajda wrote: > The function can return negative value. > > The problem has been detected using proposed semantic patch > scripts/coccinelle/tests/assign_signed_to_unsigned.cocci [1]. > > [1]: http://permalink.gmane.org/gmane.linux.kernel/2046107

Re: [PATCH] Bluetooth: hci_smd: Qualcomm WCNSS HCI driver

2015-10-03 Thread Marcel Holtmann
Hi Bjorn, >>> The Qualcomm WCNSS chip provides two SMD channels to the BT core; one >>> for command and one for event packets. This driver exposes the two >>> channels as a hci device. >>> > [..] >>> diff --git a/drivers/bluetooth/Makefile b/drivers/bluetooth/Makefile >>> index

Re: [PATCH] platform: x86: PMC IPC depends on ACPI

2015-10-03 Thread Darren Hart
On Fri, Sep 25, 2015 at 06:53:56PM -0700, Randy Dunlap wrote: > On 09/25/15 09:38, Lee Jones wrote: > > This patch solves: > > > > on x86_64: > > > > when CONFIG_ACPI is not enabled: > > > > ../drivers/mfd/intel_soc_pmic_bxtwc.c: In function 'bxtwc_probe': > >

Re: [PATCH 05/15] cx88: use pci_set_dma_mask insted of pci_dma_supported

2015-10-03 Thread Mauro Carvalho Chehab
Hi Christoph, Em Sat, 3 Oct 2015 17:19:29 +0200 Christoph Hellwig escreveu: > This ensures the dma mask that is supported by the driver is recorded > in the device structure. For this and the other patches touching at drivers/media: Acked-by: Mauro Carvalho Chehab > > Signed-off-by:

Re: [PATCH v3 1/2] ARM: at91/dt: shdwc binding: add new shutdown controller documentation

2015-10-03 Thread Alexandre Belloni
On 30/09/2015 at 18:22:00 +0200, Nicolas Ferre wrote : > +SHDWC Shutdown Controller (Alternative) > + > +1) shdwc node > + > +required properties: > +- compatible: should be "atmel,sama5d2-shdwc". > +- reg: should contain registers location and length > +- clocks: phandle to input clock. > +-

Re: [PATCH 2/2] video: fbdev: pxafb: initial devicetree conversion

2015-10-03 Thread Philipp Zabel
Hi Robert, On Sat, Oct 3, 2015 at 6:11 PM, Robert Jarzmik wrote: > This patch brings a first support of pxa framebuffer devices to a > devicetree pxa platform, as was before platform data. > > There are restrictions with this port, the biggest one being the lack of > support of smart panels.

Re: [PATCH v2 1/3] unix: fix use-after-free in unix_dgram_poll()

2015-10-03 Thread Rainer Weikusat
Mathias Krause writes: > On 2 October 2015 at 22:43, Jason Baron wrote: >> The unix_dgram_poll() routine calls sock_poll_wait() not only for the wait >> queue associated with the socket s that we are poll'ing against, but also >> calls [useless full-quote removed] > My reproducer runs on this

Re: [PATCH 2/2] video: fbdev: pxafb: initial devicetree conversion

2015-10-03 Thread Robert Jarzmik
Philipp Zabel writes: > Hi Robert, > > On Sat, Oct 3, 2015 at 6:11 PM, Robert Jarzmik wrote: >> This patch brings a first support of pxa framebuffer devices to a >> devicetree pxa platform, as was before platform data. >> >> There are restrictions with this port, the biggest one being the lack

Re: [PATCH] video: fbdev: add Marvell PXA framebuffer binding

2015-10-03 Thread Philipp Zabel
On Sat, Oct 3, 2015 at 6:11 PM, Robert Jarzmik wrote: > Add documentation for the PXA frambuffer devicetree binding. > > Signed-off-by: Robert Jarzmik > Cc: Jean-Christophe Plagniol-Villard > Cc: Tomi Valkeinen > Cc: linux-fb...@vger.kernel.org > > --- >

Re: RFC: reduce CONFIG_SCSI_CONSTANTS impact by 4k

2015-10-03 Thread Christoph Hellwig
Hi Rasmus, I like this idea. But maybe it's also time to just move the constants to a plain text file and auto-generate C headers from them? That way the format in which they can be edited is decoupled from the representation in the kernel image. -- To unsubscribe from this list: send the line

Re: [PATCH v4] platform/x86: Toshiba WMI Hotkey Driver

2015-10-03 Thread Darren Hart
On Mon, Sep 28, 2015 at 08:32:28PM -0600, Azael Avalos wrote: > Toshiba laptops that feature WMI events for hotkeys were left unsupported > by the toshiba_acpi driver, however, commit a88bc06e5aec ("toshiba_acpi: > Avoid registering input device on WMI event laptops") added hardware > support for

Re: [PATCH] platform: acer-wmi: update notice about deprecated user interface

2015-10-03 Thread Darren Hart
On Tue, Sep 29, 2015 at 05:50:32PM +0800, joeyli wrote: > Hi Martin, > > On Tue, Sep 29, 2015 at 08:46:38AM +0200, Martin Kepplinger wrote: > > Signed-off-by: Martin Kepplinger > > --- > > This just looks odd in the logs. Feel free to ignore it or act on it > > differently ;) > > > > > >

Re: [PATCH] video: fbdev: add Marvell PXA framebuffer binding

2015-10-03 Thread Robert Jarzmik
Philipp Zabel writes: > On Sat, Oct 3, 2015 at 6:11 PM, Robert Jarzmik wrote: >> Add documentation for the PXA frambuffer devicetree binding. >> >> Signed-off-by: Robert Jarzmik >> Cc: Jean-Christophe Plagniol-Villard >> Cc: Tomi Valkeinen >> Cc: linux-fb...@vger.kernel.org >> >> --- >>

via-rhine: fix VLAN receive handling error in 4.2.x

2015-10-03 Thread Andrej
Hi, via-rhine driver in 4.2.x kernels doesn’t correctly parse VLAN ID on receive. A bug was introduced in the commit 810f19bcb862f8889b27e0c9d9eceac9593925dd. All 4.2.x kernels are affected. 4.1.x and older kernels are not affected. During code refactoring, the sequence of calls changed which

Re: [PATCH] kselftest: replace $(RM) with rm -f command

2015-10-03 Thread Josh Triplett
On Sat, Oct 03, 2015 at 02:11:57PM +, Mathieu Desnoyers wrote: > - On Oct 3, 2015, at 12:38 AM, dvhart dvh...@infradead.org wrote: > > > On Mon, Sep 28, 2015 at 03:16:53AM +, Mathieu Desnoyers wrote: > >> - On Sep 27, 2015, at 10:10 PM, Wang Long long.wangl...@huawei.com > >>

Re: [PATCH] kselftest: replace $(RM) with rm -f command

2015-10-03 Thread Mathieu Desnoyers
- On Oct 3, 2015, at 1:55 PM, Josh Triplett j...@joshtriplett.org wrote: > On Sat, Oct 03, 2015 at 02:11:57PM +, Mathieu Desnoyers wrote: >> - On Oct 3, 2015, at 12:38 AM, dvhart dvh...@infradead.org wrote: >> >> > On Mon, Sep 28, 2015 at 03:16:53AM +, Mathieu Desnoyers wrote: >>

Re: [PATCH] video: fbdev: add Marvell PXA framebuffer binding

2015-10-03 Thread Philipp Zabel
Am Samstag, den 03.10.2015, 19:23 +0200 schrieb Robert Jarzmik: [...] > a/Documentation/devicetree/bindings/video/marvell,pxafb.txt > > > b/Documentation/devicetree/bindings/video/marvell,pxafb.txt > > > new file mode 100644 > > > index ..489055bf3c57 > > > --- /dev/null > > > +++

Re: [PATCH 2/2] video: fbdev: pxafb: initial devicetree conversion

2015-10-03 Thread Philipp Zabel
Am Samstag, den 03.10.2015, 19:08 +0200 schrieb Robert Jarzmik: > > Thanks a lot for working on this! Out of interest, do you plan to > > convert MIOA701 to DT? > Actually, I already had. If you take all the pending patches > scattered across > all the subsystems (around 40 by my last count), then

[PATCH -mm 0/3] minor kthread/signals cleanups and fix

2015-10-03 Thread Oleg Nesterov
On top of signals-kill-block_all_signals-and-unblock_all_signals.patch Simple but untested, hopefully maintainers can ack or nack 1/3 at least. Oleg. drivers/block/nbd.c |9 ++--- drivers/usb/gadget/function/f_mass_storage.c |4 +--- fs/jffs2/background.c

[PATCH 1/3] signal: turn dequeue_signal_lock() into kernel_dequeue_signal()

2015-10-03 Thread Oleg Nesterov
1. Rename dequeue_signal_lock() to kernel_dequeue_signal(). This matches another "for kthreads only" kernel_sigaction() helper. 2. Remove the "tsk" and "mask" arguments, they are always current and current->blocked. And it is simply wrong if tsk != current. 3. We could also remove the 3rd

[PATCH 3/3] signal: remove jffs2_garbage_collect_thread()->allow_signal(SIGCONT)

2015-10-03 Thread Oleg Nesterov
jffs2_garbage_collect_thread() does allow_signal(SIGCONT) for no reason, SIGCONT will wake a stopped task up even if it is ignored. Signed-off-by: Oleg Nesterov --- fs/jffs2/background.c | 1 - 1 file changed, 1 deletion(-) diff --git a/fs/jffs2/background.c b/fs/jffs2/background.c index

[PATCH 2/3] signal: introduce kernel_signal_stop() to fix jffs2_garbage_collect_thread()

2015-10-03 Thread Oleg Nesterov
jffs2_garbage_collect_thread() can race with SIGCONT and sleep in TASK_STOPPED state after it was already sent. Add the new helper, kernel_signal_stop(), which does this correctly. Signed-off-by: Oleg Nesterov --- fs/jffs2/background.c | 3 +-- include/linux/sched.h | 10 ++ 2 files

Re: [PATCH 23/39] UBI: drop null test before destroy functions

2015-10-03 Thread Richard Weinberger
Am 13.09.2015 um 14:15 schrieb Julia Lawall: > Remove unneeded NULL test. > > The semantic patch that makes this change is as follows: > (http://coccinelle.lip6.fr/) > > // > @@ expression x; @@ > -if (x != NULL) > \(kmem_cache_destroy\|mempool_destroy\|dma_pool_destroy\)(x); > // > >

Re: Soft lockup issue in Linux 4.1.9

2015-10-03 Thread Thomas D.
Hi, Holger Hoffstätte wrote: > Greg, any chance you can drop this into the pending 4.1.10? Otherwise people > will get another broken release. For me it looks like the request was too late, the patch is not included in 4.1.10. So don't forget to re-apply the patch when doing the upgrade. Greg,

Re: blk_mq_register_disk: kobject (00000000009f2dd8): tried to init an initialized object, something is seriously wrong.

2015-10-03 Thread Meelis Roos
> This is 4.3.0-rc1 on Sun E220R (dual-CPU sparc64). Sometimes it boots, > sometimes it fails to boot with looping errors and finally a watchdog > timeout. This console log from a failure. Config is below. I noticed blk-mq related changes in todays git. Retested, loop_init still causes the

Congratulation !!!!

2015-10-03 Thread
Congratulation,You have been selected to receive the sum of $2 Million Donation from my won Lottery Money, Kindly get back to me now and Claim your Cash. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More

[PATCH] mm/mmap.c: Remove redundant vma looping

2015-10-03 Thread Chen Gang
>From 36dbcc145819655682f80efd49e72b01515b4e9a Mon Sep 17 00:00:00 2001 From: Chen Gang Date: Sun, 4 Oct 2015 03:22:41 +0800 Subject: [PATCH] mm/mmap.c: Remove redundant vma looping vma->vm_file->f_mapping and vma->anon_vma are shared with the same vma looping, so merge them. Signed-off-by:

Re: [GIT PULL] x86 fixes

2015-10-03 Thread Thomas Gleixner
On Sat, 3 Oct 2015, Ingo Molnar wrote: > > Please pull the latest x86-urgent-for-linus git tree from: > > > >git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > > x86-urgent-for-linus > > > ># HEAD: f4b4aae1828855db761bf998ce37d3062b1d6446 x86/headers/uapi: Fix > >

[GIT pull] irq fixes for 4.3

2015-10-03 Thread Thomas Gleixner
Linus, please pull the latest irq-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git irq-urgent-for-linus This update contains: - Fix for a long standing race affecting /proc/irq/NNN - One line fix for ARM GICV3-ITS counting the wrong data

[PATCH] mm/mmap.c: Change static function __install_special_mapping args' order

2015-10-03 Thread Chen Gang
>From 5a6ffe3515c21d1152586e484c29fed91d2b0b6f Mon Sep 17 00:00:00 2001 From: Chen Gang Date: Sun, 4 Oct 2015 03:47:24 +0800 Subject: [PATCH] mm/mmap.c: Change static function __install_special_mapping args' order Let __install_special_mapping() args order match the caller, so the caller can

Re: [PATCH] mm/mmap.c: Remove redundant vma looping

2015-10-03 Thread Richard Weinberger
On Sat, Oct 3, 2015 at 9:38 PM, Chen Gang wrote: > From 36dbcc145819655682f80efd49e72b01515b4e9a Mon Sep 17 00:00:00 2001 > From: Chen Gang > Date: Sun, 4 Oct 2015 03:22:41 +0800 > Subject: [PATCH] mm/mmap.c: Remove redundant vma looping > > vma->vm_file->f_mapping and vma->anon_vma are shared

Re: [PATCH v2 3/5] net: dsa: complete dsa_switch_destroy

2015-10-03 Thread Florian Fainelli
Le 03/10/2015 07:26, Neil Armstrong a écrit : > When unbinding dsa, complete the dsa_switch_destroy to unregister the > fixed link phy then cleanly unregister and destroy the net devices. > > Signed-off-by: Neil Armstrong > --- [snip] > + port_dn = cd->port_dn[port]; > +

Re: [PATCH v2 2/5] net: dsa: add missing dsa_switch mdiobus remove

2015-10-03 Thread Florian Fainelli
Le 03/10/2015 07:26, Neil Armstrong a écrit : > To prevent memory leakage on unbinding, add missing mdiobus unregister > and free calls. > > Signed-off-by: Neil Armstrong Reviewed-by: Florian Fainelli -- Florian -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the

Re: [PATCH 3/3] x86/apic: Use smaller array for __apicid_to_node[] mapping

2015-10-03 Thread Denys Vlasenko
On 10/03/2015 09:44 AM, Ingo Molnar wrote: > > * Denys Vlasenko wrote: > >> @@ -56,16 +56,34 @@ early_param("numa", numa_setup); >> /* >> * apicid, cpu, node mappings >> */ >> -s16 __apicid_to_node[MAX_LOCAL_APICID] = { >> -[0 ... MAX_LOCAL_APICID-1] = NUMA_NO_NODE >> + >> +struct

Re: [PATCH v2 5/5] net: dsa: exit probe if no switch were found

2015-10-03 Thread Florian Fainelli
Le 03/10/2015 07:26, Neil Armstrong a écrit : > If no switch were found in dsa_setup_dst, return -ENODEV and > exit the dsa_probe cleanly. > > Tested-by: Andrew Lunn > Tested-by: Florian Fainelli > Signed-off-by: Neil Armstrong > --- [snip] > static int dsa_probe(struct platform_device

Re: [PATCH v2 4/5] net: dsa: switch to devm_ calls and remove kfree calls

2015-10-03 Thread Florian Fainelli
Le 03/10/2015 07:26, Neil Armstrong a écrit : > Now the kfree calls exists in the the remove functions, remove them in all > places except the of_probe functions and replace allocation calls > with their devm_ counterparts. > > Signed-off-by: Neil Armstrong Reviewed-by: Florian Fainelli --

[PATCH 0/3] hwrng: stm32 - add support for STM32 HW RNG

2015-10-03 Thread Daniel Thompson
This patchset introduces a driver for the STM32 hardware random number generator. Daniel Thompson (3): dt-bindings: Document the STM32 HW RNG bindings hwrng: stm32 - add support for STM32 HW RNG ARM: dts: stm32f429: Adopt STM32 RNG driver .../devicetree/bindings/hwrng/stm32-rng.txt

[PATCH 1/3] dt-bindings: Document the STM32 HW RNG bindings

2015-10-03 Thread Daniel Thompson
This adds documenttaion of device tree binds for the STM32 hardware random number generator. Signed-off-by: Daniel Thompson --- .../devicetree/bindings/hwrng/stm32-rng.txt | 21 + 1 file changed, 21 insertions(+) create mode 100644

[PATCH 3/3] ARM: dts: stm32f429: Adopt STM32 RNG driver

2015-10-03 Thread Daniel Thompson
New bindings and driver have been created for STM32 series parts. This patch integrates this changes. Signed-off-by: Daniel Thompson --- arch/arm/boot/dts/stm32f429.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/stm32f429.dtsi

[PATCH] [SMB3] Do not fall back to SMBWriteX in set_file_size error cases

2015-10-03 Thread Steve French
The error paths in set_file_size for cifs and smb3 are incorrect. In the unlikely event that a server did not support set file info of the file size, the code incorrectly falls back to trying SMBWriteX (note that only the original core SMB Write, used for example by DOS, can set the file size

[PATCH 2/3] hwrng: stm32 - add support for STM32 HW RNG

2015-10-03 Thread Daniel Thompson
Add support for STMicroelectronics STM32 random number generator. The config value defaults to N, reflecting the fact that STM32 is a very low resource microcontroller platform and unlikely to be targeted by any "grown up" defconfigs. Signed-off-by: Daniel Thompson ---

[PATCH v2] ARM: fix vdsomunge not to depend on glibc specific byteswap.h

2015-10-03 Thread H. Nikolaus Schaller
If the host toolchain is not glibc based then the arm kernel build fails with HOSTCC arch/arm/vdso/vdsomunge arch/arm/vdso/vdsomunge.c:48:22: fatal error: byteswap.h: No such file or directory Observed: with omap2plus_defconfig and compile on Mac OS X with arm ELF cross-compiler. Reason:

Re: [PATCH 2/3] hwrng: stm32 - add support for STM32 HW RNG

2015-10-03 Thread kbuild test robot
Hi Daniel, [auto build test results on v4.3-rc3 -- if it's inappropriate base, please ignore] coccinelle warnings: (new ones prefixed by >>) >> drivers/char/hw_random/stm32-rng.c:164:1-4: WARNING: end returns can be >> simpified Please review and possibly fold the followup patch. --- 0-DAY

[PATCH] hwrng: fix simple_return.cocci warnings

2015-10-03 Thread kbuild test robot
drivers/char/hw_random/stm32-rng.c:164:1-4: WARNING: end returns can be simpified Simplify a trivial if-return sequence. Possibly combine with a preceding function call. Generated by: scripts/coccinelle/misc/simple_return.cocci CC: Daniel Thompson Signed-off-by: Fengguang Wu ---

[PATCH 0/3] Staging: rtl8192u: Remove do-nothing functions

2015-10-03 Thread mike dupuis
This is a series of patches to remove three functions that do no processing in staging/rtl8192u/ieee80211/. Before: drivers/staging/rtl8192u/$ grep _null\( *.c drivers/staging/rtl8192u/$ drivers/staging/rtl8192u/ieee80211/$ grep _null\( *.c ieee80211_crypt_ccmp.c:void ieee80211_ccmp_null(void)

[PATCH 3/3] Staging: rtl8192u: remove ieee80211_ccmp_null()

2015-10-03 Thread mike dupuis
This is a patch to remove the function ieee80211_ccmp_null(). This function does nothing and can therefore be safely removed. Signed-off-by: Mike Dupuis --- drivers/staging/rtl8192u/ieee80211/ieee80211_module.c | 3 --- 1 file changed, 3 deletions(-) diff --git

[PATCH 2/3] Staging: rtl8192u: remove ieee80211_wep_null()

2015-10-03 Thread mike dupuis
This is a patch to remove the function ieee80211_wep_null(). This function does nothing and can therefore be safely removed. Signed-off-by: Mike Dupuis --- drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c | 4 drivers/staging/rtl8192u/ieee80211/ieee80211_module.c| 1 - 2 files

[PATCH 1/3] Staging: rtl8192u: remove ieee80211_tkip_null()

2015-10-03 Thread mike dupuis
This is a patch to remove the function ieee80211_tkip_null(). This function does nothing, and can therefore be safely removed. Signed-off-by: Mike Dupuis --- drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c | 6 -- drivers/staging/rtl8192u/ieee80211/ieee80211_module.c | 1 - 2

[PATCH] staging: rdma: Fix braces around if/else

2015-10-03 Thread Martin Kletzander
Get rid of all ELSE_AFTER_BRACE type errors reported by checkpatch.pl. Signed-off-by: Martin Kletzander --- There is one warning reported in this patch though. That's because of the multiline string and it's pre-existing. Feel free to let me know if that should be fixed too, I'd also remove

Re: [PATCH] usbhid: Fix for the WiiU adapter from Mayflash

2015-10-03 Thread Felipe Balbi
Oliver Schmitt writes: Hi, > The WiiU adapter from Mayflash (see > http://www.mayflash.com/Products/NINTENDOWiiU/W009.html) is not working > correctly. > > The "XInput" mode works fine, the controller is recognized as a xbox > controller. But it is only possible to connect one controller

Re: [PATCH] usb-host: Remove fusbh200 driver

2015-10-03 Thread Felipe Balbi
Peter Senna Tschudin writes: > On Fri, Oct 2, 2015 at 7:39 PM, Felipe Balbi wrote: >> On Fri, Oct 02, 2015 at 01:18:27PM +0200, Peter Senna Tschudin wrote: >>> fusbh200 and fotg210 are very similar. The initial idea was to consolidate >>> both drivers but I'm afraid fusbh200 is not being used.

Re: [PATCH] ubi: fastmap: Implement produce_free_peb()

2015-10-03 Thread Richard Weinberger
Am 11.08.2015 um 23:27 schrieb Richard Weinberger: > If fastmap requests a free PEB for a pool and UBI is busy > with erasing PEBs we need to offer a function to wait for one. > We can reuse produce_free_peb() from the non-fastmap WL code > but with different locking semantics. > >

Re: [PATCH] HID: hiddev: fix returned errno code in hiddev_connect()

2015-10-03 Thread Luis de Bethencourt
On 30/09/15 20:40, Jiri Kosina wrote: > On Wed, 30 Sep 2015, Luis de Bethencourt wrote: > >> The driver is using -1 instead of the -ENOMEM defined macro to specify >> that a buffer allocation failed. Since the error number is propagated, >> the caller will get a -EPERM which is the wrong error

Re: via-rhine: fix VLAN receive handling error in 4.2.x

2015-10-03 Thread Francois Romieu
Andrej : [...] > Choosing between changing rhine_get_vlan_tci(), which retrieves TCI from > skb->data, or moving eth_type_trans() invocation after rhine_rx_vlan_tag(), > I chose the latter. Can you send a patch with a proper Signed-off-by and a single line 'Fixes: 810f19bcb862 ("via-rhine: add

Re: [PATCH v2 1/5] net: dsa: add missing kfree on remove

2015-10-03 Thread Sergei Shtylyov
On 10/3/2015 6:20 PM, Neil Armstrong wrote: On 10/3/2015 5:25 PM, Neil Armstrong wrote: To prevent memory leakage on unbinding, add missing kfree calls. Signed-off-by: Neil Armstrong --- net/dsa/dsa.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/net/dsa/dsa.c

Re: RFC: reduce CONFIG_SCSI_CONSTANTS impact by 4k

2015-10-03 Thread Rasmus Villemoes
On Sat, Oct 03 2015, Christoph Hellwig wrote: > Hi Rasmus, > > I like this idea. But maybe it's also time to just move the constants > to a plain text file and auto-generate C headers from them? That way > the format in which they can be edited is decoupled from the > representation in the

Re: linux-next: Tree for Sep 18 (build failures, up to 10/02)

2015-10-03 Thread Matt Fleming
On Fri, 02 Oct, at 09:16:37AM, Guenter Roeck wrote: > On Fri, Sep 18, 2015 at 07:22:04AM -0700, Guenter Roeck wrote: > > On Fri, Sep 18, 2015 at 02:08:10PM +1000, Stephen Rothwell wrote: > > > Hi all, > > > > > > Changes since 20150917: > > > > > > I used the h8300 tree from next-20150828 since

Re: [PATCH v6 2/2] efi: a misc char interface for user to update efi firmware

2015-10-03 Thread Andy Lutomirski
On Thu, Oct 1, 2015 at 2:05 PM, Kweh, Hock Leong wrote: > From: "Kweh, Hock Leong" > > Introducing a kernel module to expose capsule loader interface > (misc char device file note) for user to upload capsule binaries. > > Example method to load the capsule binary: > cat firmware.bin >

[PATCH v2] scsi: dpt: remove i2o header in uapi

2015-10-03 Thread Gabriel Laskar
The i2o subsystem was removed by commit 4a72a7af462d ("staging: remove i2o subsystem") but the header was still used by drivers/scsi/dpt_i2o.c driver. This patch moves the structures used from the header into dpti_i2o.h. CC: Arnd Bergmann CC: Greg Kroah-Hartman Signed-off-by: Gabriel Laskar

Re: blk_mq_register_disk: kobject (00000000009f2dd8): tried to init an initialized object, something is seriously wrong.

2015-10-03 Thread Ming Lei
On Sun, Oct 4, 2015 at 3:33 AM, Meelis Roos wrote: >> This is 4.3.0-rc1 on Sun E220R (dual-CPU sparc64). Sometimes it boots, >> sometimes it fails to boot with looping errors and finally a watchdog >> timeout. This console log from a failure. Config is below. > > I noticed blk-mq related changes

[PATCH V2 2/3] ARM: keystone: Update compatible to have SoC specific matches

2015-10-03 Thread Nishanth Menon
With future SoCs of keystone2 family, the generic compatible match may not be sufficient to handle SoC specific handling. So introduce matches based on SoC compatiblity. Signed-off-by: Nishanth Menon --- Changes in V2: - reformatting of commit message. no functional change V1:

[PATCH v3 0/4] SysFS driver for QEMU fw_cfg device

2015-10-03 Thread Gabriel L. Somlo
From: "Gabriel Somlo" Allow access to QEMU firmware blobs, passed into the guest VM via the fw_cfg device, through SysFS entries. Blob meta-data (e.g. name, size, and fw_cfg key), as well as the raw binary blob data may be accessed. The SysFS access location is /sys/firmware/qemu_fw_cfg/... and

[PATCH v3 1/4] firmware: introduce sysfs driver for QEMU's fw_cfg device

2015-10-03 Thread Gabriel L. Somlo
From: Gabriel Somlo Make fw_cfg entries of type "file" available via sysfs. Entries are listed under /sys/firmware/qemu_fw_cfg/by_key, in folders named after each entry's selector key. Filename, selector value, and size read-only attributes are included for each entry. Also, a "raw" attribute

[PATCH v3 4/4] firmware: create directory hierarchy for sysfs fw_cfg entries

2015-10-03 Thread Gabriel L. Somlo
From: Gabriel Somlo Each fw_cfg entry of type "file" has an associated 56-char, nul-terminated ASCII string which represents its name. While the fw_cfg device doesn't itself impose any specific naming convention, QEMU developers have traditionally used path name semantics (i.e. "etc/acpi/rsdp")

[PATCH v3 3/4] kobject: export kset_find_obj() for module use

2015-10-03 Thread Gabriel L. Somlo
From: Gabriel Somlo Signed-off-by: Gabriel Somlo --- lib/kobject.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/kobject.c b/lib/kobject.c index 3e3a5c3..bea2c9b 100644 --- a/lib/kobject.c +++ b/lib/kobject.c @@ -842,6 +842,7 @@ struct kobject *kset_find_obj(struct kset *kset, const

[PATCH v3 2/4] firmware: use acpi to detect QEMU fw_cfg device for sysfs fw_cfg driver

2015-10-03 Thread Gabriel L. Somlo
From: Gabriel Somlo Instead of blindly probing fw_cfg registers at known IOport and MMIO locations, use the ACPI subsystem to determine whether a QEMU fw_cfg device is present, and, if found, to initialize it. This limits portability to architectures which support ACPI (x86 and UEFI-enabled

[PATCH V2 1/3] Documentation: dt: keystone: provide SoC specific compatible flags

2015-10-03 Thread Nishanth Menon
Keystone2 devices are used on more platforms than just Texas Instruments reference evaluation platforms called EVMs. Providing a generic compatible "ti,keystone" is not sufficient to differentiate various SoC definitions possible on various platforms for the following reasons: a) Userspace

[PATCH V2 3/3] ARM: dts: keystone: Update SoC specific compatible flags

2015-10-03 Thread Nishanth Menon
Update the compatible flags to allow specific SoC identification. Signed-off-by: Nishanth Menon --- V2: No change V1: https://patchwork.kernel.org/patch/7240911/ arch/arm/boot/dts/k2e-evm.dts | 2 +- arch/arm/boot/dts/k2e.dtsi | 3 +++ arch/arm/boot/dts/k2hk-evm.dts | 2 +-

[PATCH V2 0/3] ARM: dts/keystone: Introduce SoC specific compatible matches

2015-10-03 Thread Nishanth Menon
Hi, Round 2 of the series with updated patch #1. This series introduces SoC specific dt compatible property to allow for future SoCs to be handled and for userspace applications that can introduce features based on SoC they are functioning on. V1 of the series:

<    1   2   3   4   5   6   7   >