[no subject]

2015-01-17 Thread info
Get a loan here at %3 interest rate, Amount needed: Country: Duration: Phone Number: -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the

[PATCH] driver core: use *switch* statement in really_probe()

2015-01-17 Thread Sergei Shtylyov
There are series of comparisons of the 'ret' variable on the failure path of really_probe(), so the *switch* statement seems more appropriate there. Signed-off-by: Sergei Shtylyov sergei.shtyl...@cogentembedded.com --- The patch is against the 'driver-core-next' branch of Greg KH's

SMBIOS/DMI data under CONFIG_STRICT_DEVMEM

2015-01-17 Thread Jon Masters
Hi Catalin, all, I would like to ensure that the SMBIOS data provided by firmware is always readable from userspace on AArch64, through /dev/mem. When building a kernel with CONFIG_STRICT_DEVMEM, arm64 follows broadly x86 with the exception of an assumption surrounding the low range of memory

[GIT PULL] SCSI fixes for 3.19-rc4

2015-01-17 Thread James Bottomley
This is one fix for a Multiqueue sleeping in invalid context problem and a MAINTAINER file update for Qlogic. The patch is available here: git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git scsi-fixes The short changelog is: Christoph Hellwig (1): scsi: -queue_rq can't sleep

Re: SMBIOS/DMI data under CONFIG_STRICT_DEVMEM

2015-01-17 Thread Jon Masters
On 01/17/2015 03:59 PM, Ard Biesheuvel wrote: On 17 January 2015 at 20:12, Jon Masters j...@redhat.com wrote: Hi Catalin, all, I would like to ensure that the SMBIOS data provided by firmware is always readable from userspace on AArch64, through /dev/mem. This has been on our radar for a

Re: [PATCH] ath3k: Add support of AR3012 bluetooth 13d3:3423 device

2015-01-17 Thread Dmitry Tunin
You are correct. It does not apply after it goes thru email. But I tried to send it using git send-email to myself with same result. This is mystics. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info

Re: SMBIOS/DMI data under CONFIG_STRICT_DEVMEM

2015-01-17 Thread Olof Johansson
Hi, On Sat, Jan 17, 2015 at 12:12 PM, Jon Masters j...@redhat.com wrote: Hi Catalin, all, I would like to ensure that the SMBIOS data provided by firmware is always readable from userspace on AArch64, through /dev/mem. Seems like this would be a good opportunity for cleanup and fixing

Re: [PATCH v4 2/3] i2c: iproc: Add Broadcom iProc I2C Driver

2015-01-17 Thread Uwe Kleine-König
Hello, On Sat, Jan 17, 2015 at 12:51:50PM -0800, Ray Jui wrote: On 1/17/2015 12:18 PM, Uwe Kleine-König wrote: Hello, On Sat, Jan 17, 2015 at 11:58:33AM -0800, Ray Jui wrote: On 1/17/2015 8:01 AM, Uwe Kleine-König wrote: On Fri, Jan 16, 2015 at 02:09:28PM -0800, Ray Jui wrote: On

Re: [PATCH] kbuild: fix scripts/headers.sh to see the correct Kbuild path

2015-01-17 Thread Sam Ravnborg
On Tue, Jan 13, 2015 at 02:24:04PM +0900, Masahiro Yamada wrote: Hi Sam, IIRC, you mentioned scripts/headers.sh is pointless and should be removed from the code base. Took a quik look at it. It seems that there is use for it still. um require some special handling. And the HDR_ARCH_LIST

Re: [PATCH v18 00/12] input: cyapa: instruction of cyapa patches

2015-01-17 Thread Jeremiah Mahler
Dave, On Sat, Jan 17, 2015 at 06:00:29PM +, David Solda wrote: Can we just reverse the prior change that caused the bug, or are you saying that the owner of the prior patch has to fix it? Dave I tried to revert the patch but it didn't do so cleanly. git revert ea2c67bb4aff So I

Re: SMBIOS/DMI data under CONFIG_STRICT_DEVMEM

2015-01-17 Thread Jon Masters
On 01/17/2015 05:52 PM, Jon Masters wrote: Hi Olof, On 01/17/2015 04:10 PM, Olof Johansson wrote: Hi, On Sat, Jan 17, 2015 at 12:12 PM, Jon Masters j...@redhat.com wrote: Hi Catalin, all, I would like to ensure that the SMBIOS data provided by firmware is always readable from userspace

Re: [PATCH] staging: lustre: do not ignore try_module_get() fail in obd_class_open()

2015-01-17 Thread Greg Kroah-Hartman
On Sat, Dec 27, 2014 at 02:26:53AM +0300, Alexey Khoroshilov wrote: obd_class_open() ignores error code of try_module_get(), while it can lead to race with module unload. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov khoroshi...@ispras.ru

Re: [PATCH 2/4] sh-pfc: Add emev2 pinmux support

2015-01-17 Thread Niklas Söderlund
Hi Laurent, Thanks for your review. I will send a updated patch shortly. Regards // Niklas * Laurent Pinchart laurent.pinch...@ideasonboard.com [2015-01-13 16:27:06 +0200]: Hi Niklas, Thank you for the patch. On Friday 12 December 2014 21:01:35 Niklas Söderlund wrote: Add PFC support

[PATCH v4 0/3] Amlogic Meson pinctrl driver

2015-01-17 Thread Beniamino Galvani
Hi, this series adds a pinctrl driver for Amlogic Meson, providing common code for all the SoCs of the family and configuration data specific for Meson8. DT binding documentation for the driver has already been merged and is not included in the series. The first patch is for the pinctrl/devel

[PATCH v4 1/3] pinctrl: add driver for Amlogic Meson SoCs

2015-01-17 Thread Beniamino Galvani
This is a driver for the pinmux and GPIO controller available in Amlogic Meson SoCs. It currently supports only Meson8, however the common code should be generic enough to work also for other SoCs after having defined the proper set of functions and groups. GPIO interrupts are not supported at

[PATCH v4 3/3] ARM: dts: meson8: add pinctrl node

2015-01-17 Thread Beniamino Galvani
Add pinctrl node to the DTSI file for meson8 and sub-nodes for some standard mux configurations. Signed-off-by: Beniamino Galvani b.galv...@gmail.com --- arch/arm/boot/dts/meson8.dtsi | 68 +++ 1 file changed, 68 insertions(+) diff --git

[PATCH v4 2/3] ARM: meson: select PINCTRL_MESON and ARCH_REQUIRE_GPIOLIB

2015-01-17 Thread Beniamino Galvani
Make sure that the Meson pinctrl driver is built whenever Meson support is enabled. Signed-off-by: Beniamino Galvani b.galv...@gmail.com Acked-by: Linus Walleij linus.wall...@linaro.org --- arch/arm/mach-meson/Kconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git

Re: [PATCH v18 00/12] input: cyapa: instruction of cyapa patches

2015-01-17 Thread David Solda
Can we just reverse the prior change that caused the bug, or are you saying that the owner of the prior patch has to fix it? Dave On Jan 17, 2015, at 2:44 AM, Jeremiah Mahler jmmah...@gmail.com wrote: Dudley, Your patch series applies without issue but unfortunately I could not test

Re: [PATCH] ath3k: Add support of AR3012 bluetooth 13d3:3423 device

2015-01-17 Thread Marcel Holtmann
Hi Dmitry, Any ideas what may be wrong? Is the tree URL correct or there is another bluetooth-next branch I dot know about? I just clean cloned it again and applied with no problem. I did ask nicely to not top post on this mailing list. Please respect our netiquette. Save the original

Re: [PATCH v4 2/3] i2c: iproc: Add Broadcom iProc I2C Driver

2015-01-17 Thread Uwe Kleine-König
Hello, On Sat, Jan 17, 2015 at 11:58:33AM -0800, Ray Jui wrote: On 1/17/2015 8:01 AM, Uwe Kleine-König wrote: On Fri, Jan 16, 2015 at 02:09:28PM -0800, Ray Jui wrote: On 1/15/2015 12:41 AM, Uwe Kleine-König wrote: On Wed, Jan 14, 2015 at 02:23:32PM -0800, Ray Jui wrote: + */ +

Re: SMBIOS/DMI data under CONFIG_STRICT_DEVMEM

2015-01-17 Thread Ard Biesheuvel
On 17 January 2015 at 20:12, Jon Masters j...@redhat.com wrote: Hi Catalin, all, I would like to ensure that the SMBIOS data provided by firmware is always readable from userspace on AArch64, through /dev/mem. This has been on our radar for a while When building a kernel with

Re: [PATCH v3] Staging: vt6656: Checkpatch fix: else after break or return

2015-01-17 Thread Greg KH
On Wed, Jan 14, 2015 at 04:12:58AM +1100, Emrys Bayliss wrote: This patch fixes the following checkpatch.pl error: rxtx.c:558: WARNING: else is not generally useful after a break or return Signed-off-by: Emrys Bayliss em...@paradise.net.nz --- The else statement was replaced with a block to

Re: [PATCH v2] mm: vmscan: fix the page state calculation in too_many_isolated

2015-01-17 Thread Christoph Lameter
On Sat, 17 Jan 2015, Vinayak Menon wrote: which had not updated the vmstat_diff. This CPU was in idle for around 30 secs. When I looked at the tvec base for this CPU, the timer associated with vmstat_update had its expiry time less than current jiffies. This timer had its deferrable flag set,

[PATCH 0/3] Fix buffer flush in signal char handling

2015-01-17 Thread Peter Hurley
Greg, This series fixes a long-standing problem with Ctrl-C interruption of pty output. A while back I tried to fix this in a really ugly way that Alan ixnay'd. Quick background: the FIXME in pty_flush_buffer() relates to the potential for deadlock if tty_buffer_flush() is done in parallel by

[PATCH 3/3] n_tty: Fix signal handling flushes

2015-01-17 Thread Peter Hurley
BRKINT and ISIG requires input and output flush when a signal char is received. However, the order of operations is significant since parallel i/o may be ongoing. Merge the signal handling for BRKINT with ISIG handling. Process the signal first. This ensures any ongoing i/o is aborted; without

[PATCH 1/3] tty: Make lock subclasses available for other tty locks

2015-01-17 Thread Peter Hurley
Besides nested legacy_mutex locking which is required on pty pair teardown, other nested pty operations require lock subclassing. Move lock subclass definition to tty interface header, include/linux/tty.h, and document its use. Signed-off-by: Peter Hurley pe...@hurleysoftware.com ---

[PATCH 2/3] pty: Fix buffer flush deadlock

2015-01-17 Thread Peter Hurley
The pty driver does not clear its write buffer when commanded. This is to avoid an apparent deadlock between parallel flushes from both pty ends; specifically when handling either BRK or INTR input. However, parallel flushes from this source is not possible since the pty master can never be set to

Re: [PATCH v4 2/3] i2c: iproc: Add Broadcom iProc I2C Driver

2015-01-17 Thread Ray Jui
On 1/17/2015 12:18 PM, Uwe Kleine-König wrote: Hello, On Sat, Jan 17, 2015 at 11:58:33AM -0800, Ray Jui wrote: On 1/17/2015 8:01 AM, Uwe Kleine-König wrote: On Fri, Jan 16, 2015 at 02:09:28PM -0800, Ray Jui wrote: On 1/15/2015 12:41 AM, Uwe Kleine-König wrote: On Wed, Jan 14, 2015 at

Re: [PATCH v8 2/4] fpga manager: add sysfs interface document

2015-01-17 Thread Pavel Machek
Hi! I'm looking into moving the sysfs interface to debugfs. Doesn't look too hard and you and Alan are making lots of sense about this. Debugfs: please don't. That's meant for debugging, not for production use. Pavel --

[PATCH v2] ath3k: Add support of AR3012 bluetooth 13d3:3423 device

2015-01-17 Thread Dmitry Tunin
Add support of 13d3:3423 device. BugLink: https://bugs.launchpad.net/bugs/1411193 T: Bus=01 Lev=02 Prnt=03 Port=00 Cnt=01 Dev#= 5 Spd=12 MxCh= 0 D: Ver= 1.10 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs= 1 P: Vendor=13d3 ProdID=3423 Rev= 0.01 C:* #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=100mA A: FirstIf#= 0

Re: [PATCH v4 2/3] i2c: iproc: Add Broadcom iProc I2C Driver

2015-01-17 Thread Ray Jui
On 1/17/2015 1:10 PM, Uwe Kleine-König wrote: Hello, On Sat, Jan 17, 2015 at 12:51:50PM -0800, Ray Jui wrote: On 1/17/2015 12:18 PM, Uwe Kleine-König wrote: Hello, On Sat, Jan 17, 2015 at 11:58:33AM -0800, Ray Jui wrote: On 1/17/2015 8:01 AM, Uwe Kleine-König wrote: On Fri, Jan 16,

Re: [PATCH v4 2/3] i2c: iproc: Add Broadcom iProc I2C Driver

2015-01-17 Thread Russell King - ARM Linux
On Sat, Jan 17, 2015 at 01:26:41PM -0800, Ray Jui wrote: time_left = wait_for_completion_timeout(iproc_i2c-done, time_left); /* disable all interrupts */ writel(0, iproc_i2c-base + IE_OFFSET); if (!time_left !atomic_read(iproc_i2c-transfer_is_successful)) { Why

[GIT PULL] clk: fixes for 3.19

2015-01-17 Thread Mike Turquette
The following changes since commit 97bf6af1f928216fd6c5a66e8a57bfa95a659672: Linux 3.19-rc1 (2014-12-20 17:08:50 -0800) are available in the git repository at: https://git.linaro.org/people/mike.turquette/linux.git tags/clk-fixes-for-linus for you to fetch changes up to

Re: [PATCH] staging: gdm724x: fix space coding style issue in gdm_mux.c

2015-01-17 Thread Greg KH
On Sun, Jan 04, 2015 at 09:23:44AM +0100, Ning Zhou wrote: This is a patch to fix a space error found by the checkpatch.pl in file gdm_mux.c. Signed-off-by: Ning Zhou zhou.ning...@gmail.com --- drivers/staging/gdm724x/gdm_mux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

Re: [PATCH 3/6] dgnc/dpacompat.h: checkpatch: fixed long lines bei moving comments

2015-01-17 Thread Greg KH
On Mon, Dec 22, 2014 at 02:17:31AM +0100, Simone Weiss wrote: Signed-off-by: Simone Weiss simone.we...@fau.de Signed-off-by: Helene Gsaenger helene.gsaen...@studium.fau.de --- drivers/staging/dgnc/dpacompat.h | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git

Re: [PATCH] ath3k: Add support of AR3012 bluetooth 13d3:3423 device

2015-01-17 Thread Marcel Holtmann
Hi Dmitry, please do not top post on this mailing list. This patch is against git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git Or is it another branch? I pulled it again, but still no changes. Why it can be? it neither applies with git am, nor manually running

Re: futex(2) man page update help request

2015-01-17 Thread Darren Hart
On 1/17/15, 1:16 AM, Michael Kerrisk (man-pages) mtk.manpa...@gmail.com wrote: Hello Darren, On 01/17/2015 02:33 AM, Darren Hart wrote: Corrected Davidlohr's email address. Thanks! On 1/15/15, 7:12 AM, Michael Kerrisk (man-pages) mtk.manpa...@gmail.com wrote: Hello Darren, I give you

Re: [PATCH] ath3k: Add support of AR3012 bluetooth 13d3:3423 device

2015-01-17 Thread Dmitry Tunin
Any ideas what may be wrong? Is the tree URL correct or there is another bluetooth-next branch I dot know about? I just clean cloned it again and applied with no problem. 17.01.2015 21:59, Marcel Holtmann пишет: Hi Dmitry, please do not top post on this mailing list. This patch is against

Re: [PATCH v4 2/3] i2c: iproc: Add Broadcom iProc I2C Driver

2015-01-17 Thread Ray Jui
On 1/17/2015 8:01 AM, Uwe Kleine-König wrote: Hello, On Fri, Jan 16, 2015 at 02:09:28PM -0800, Ray Jui wrote: On 1/15/2015 12:41 AM, Uwe Kleine-König wrote: On Wed, Jan 14, 2015 at 02:23:32PM -0800, Ray Jui wrote: + */ + val = 1 M_CMD_START_BUSY_SHIFT; + if (msg-flags I2C_M_RD) {

[PATCH] ath3k: Add support of AR3012 bluetooth 13d3:3423 device

2015-01-17 Thread Dmitry Tunin
T: Bus=01 Lev=02 Prnt=03 Port=00 Cnt=01 Dev#= 5 Spd=12 MxCh= 0 D: Ver= 1.10 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs= 1 P: Vendor=13d3 ProdID=3423 Rev= 0.01 C:* #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=100mA A: FirstIf#= 0 IfCount= 2 Cls=e0(wlcon) Sub=01 Prot=01 I:* If#= 0 Alt= 0 #EPs= 3 Cls=e0(wlcon)

Re: [PATCH v7] Staging: comedi: patch to fix line over 80 characters warning

2015-01-17 Thread Greg KH
On Sat, Jan 10, 2015 at 10:20:03AM +0530, jitendra kumar khasdev wrote: This is patch to pcl812.c that fix line over 80 characters warning which is found by checkpatch.pl tool. Reduce the extra space around equal sign that fix warning. Signed-off-by: Jitendra kumar khasdev jkhas...@gmail.com

[PATCH v2] soc: intel: sst-haswell-ipc: Remove unused functions

2015-01-17 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: sst_hsw_stream_unmute() sst_hsw_stream_mute() msg_set_stage_type() sst_hsw_dx_get_state() sst_hsw_stream_set_write_position() sst_hsw_stream_get_vol_reg() sst_hsw_stream_get_peak_reg() sst_hsw_stream_get_pointer_reg() sst_hsw_stream_get_read_reg()

Re: [PATCH] staging: octeon: Fix checkpatch line spacing warnings

2015-01-17 Thread Greg Kroah-Hartman
On Mon, Jan 12, 2015 at 06:27:38PM +0200, Tero Marttila wrote: Fix missing blank lines after declarations in octeon/ethernet-rx.c Signed-off-by: Tero Marttila tero.martt...@aalto.fi --- drivers/staging/octeon/ethernet-rx.c | 2 ++ 1 file changed, 2 insertions(+) diff --git

Re: [PATCH] Staging : gdm724x: Remove space before , in function arguments

2015-01-17 Thread Greg KH
On Sun, Dec 21, 2014 at 08:18:19AM +0530, Mohammad Jamal wrote: This patch solves space prohibited before , warning in gdm_mux.c Signed-off-by: Mohammad Jamal md.jamalmohiud...@gmail.com --- drivers/staging/gdm724x/gdm_mux.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

Re: [PATCH] Staging: gdm724x: fix space before comma coding style issue in gdm_mux.c

2015-01-17 Thread Greg KH
On Sun, Dec 21, 2014 at 11:44:43AM +0100, Robert Nachlinger wrote: This is a patch to the gdm_mux.c file that fixes a space before comma coding style issue found by the checkpatch.pl tool. Signed-off-by: Robert Nachlinger robert.nachlin...@googlemail.com ---

Re: [PATCH] clk-gate: fix bit # check in clk_register_gate()

2015-01-17 Thread Mike Turquette
Quoting Sergei Shtylyov (2014-12-24 06:43:27) In case CLK_GATE_HIWORD_MASK flag is passed to clk_register_gate(), the bit # should be no higher than 15, however the corresponding check is obviously off- by-one. Fixes: 045779942c04 (clk: gate: add CLK_GATE_HIWORD_MASK) Signed-off-by: Sergei

Re: [PATCH] ath3k: Add support of AR3012 bluetooth 13d3:3423 device

2015-01-17 Thread Dmitry Tunin
T: Bus=01 Lev=02 Prnt=03 Port=00 Cnt=01 Dev#= 5 Spd=12 MxCh= 0 D: Ver= 1.10 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs= 1 P: Vendor=13d3 ProdID=3423 Rev= 0.01 C:* #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=100mA A: FirstIf#= 0 IfCount= 2 Cls=e0(wlcon) Sub=01 Prot=01 I:* If#= 0 Alt= 0 #EPs= 3 Cls=e0(wlcon)

Re: [PATCH] clk: Fix __GFP_FS allocation with irqs disabled

2015-01-17 Thread Mike Turquette
Quoting Stephen Boyd (2014-12-22 11:26:42) On 12/22/2014 10:38 AM, Stephen Boyd wrote: On 12/22/2014 03:45 AM, Krzysztof Kozlowski wrote: diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c index f4963b7d4e17..35079302a650 100644 --- a/drivers/clk/clk.c +++ b/drivers/clk/clk.c @@

Re: [PATCH] clk-gate: fix bit # check in clk_register_gate()

2015-01-17 Thread Sergei Shtylyov
Hello. On 01/18/2015 01:01 AM, Mike Turquette wrote: In case CLK_GATE_HIWORD_MASK flag is passed to clk_register_gate(), the bit # should be no higher than 15, however the corresponding check is obviously off- by-one. Fixes: 045779942c04 (clk: gate: add CLK_GATE_HIWORD_MASK) Signed-off-by:

Re: [PATCH] sysfs: group: allow is_visible to drop permissions

2015-01-17 Thread Vivien Didelot
Hi Guenter, Greg, This commit uses all the UGO bits returned by is_visible instead of OR'ing them with the default attribute mode. Concretely, this allows a driver to use macros like DEVICE_ATTR_RW to set the attribute show and store functions and remove the S_IWUSR permission in

Attn

2015-01-17 Thread Simone Wolken
A Donation Has Been Made To You Email:gloriamack...@outlook.com For More Details . We believe 1 family torn apart by war is too many. Join UNHCR and share their stories: http://stories.unhcr.org?link=email -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

Re: [PATCH] drivers: staging: rtl8723au: get rid of unneeded memset/memcpy

2015-01-17 Thread Greg Kroah-Hartman
On Sun, Dec 07, 2014 at 03:37:20PM +0100, Emil Renner Berthing wrote: This also fixes a sparse warning. What sparse warning? What's wrong with the original code? Unless Jes resends this to me, I don't see the need to apply it, sorry. greg k-h -- To unsubscribe from this list: send the line

Re: [PATCH 8/9] Fixed indentation violation in switch statement : Aligned the switch and its subordinate case labels in the same column instead of double-intending the case labels.

2015-01-17 Thread Dmitry Torokhov
On Sat, Jan 17, 2015 at 04:13:16PM +0100, Antonio Ospite wrote: On Sat, 17 Jan 2015 17:23:45 +0530 Shailendra Verma shailendra.capric...@gmail.com wrote: Signed-off-by: Shailendra Verma shailendra.capric...@gmail.com --- drivers/input/evdev.c| 30 --

Re: [PATCH] staging: rtl8723au: os_dep: usb_intf.c: Remove some unused functions

2015-01-17 Thread Greg Kroah-Hartman
On Wed, Dec 17, 2014 at 09:36:54PM +0100, Rickard Strandqvist wrote: Removes some functions that are not used anywhere: rtw_hw_resume23a() rtw_hw_suspend23a() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist

Re: [PATCH] staging: rtl8723au: hal: rtl8723au_led.c: Remove some unused functions

2015-01-17 Thread Greg Kroah-Hartman
On Sun, Dec 21, 2014 at 01:59:39PM +0100, Rickard Strandqvist wrote: Removes some functions that are not used anywhere: rtl8723au_DeInitSwLeds() rtl8723au_InitSwLeds() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist

Re: [PATCH] staging: rtl8723au: core: rtw_cmd.c: Remove some unused functions

2015-01-17 Thread Greg Kroah-Hartman
On Sat, Dec 20, 2014 at 06:10:13PM +0100, Rickard Strandqvist wrote: Removes some functions that are not used anywhere: rtw_set_ch_cmd23a() rtw_cmd_clr_isr23a() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist

Re: [PATCH v4 2/5] ARM:sunxi:drivers:input Add support for A10/A20 PS2

2015-01-17 Thread Dmitry Torokhov
Hi Vishnu, On Fri, Jan 16, 2015 at 07:33:38PM +0530, Vishnu Patekar wrote: Signed-off-by: VishnuPatekar vishnupatekar0...@gmail.com --- drivers/input/serio/Kconfig | 11 ++ drivers/input/serio/Makefile|1 + drivers/input/serio/sun4i-ps2.c | 330

Re: [PATCH] staging: rtl8188eu: core: rtw_wlan_util.c: Remove some unused functions

2015-01-17 Thread Greg Kroah-Hartman
On Sat, Dec 20, 2014 at 05:24:11PM +0100, Rickard Strandqvist wrote: Removes some functions that are not used anywhere: CAM_empty_entry() get_bsstype() rtw_get_oper_choffset() rtw_get_oper_bw() is_ap_in_wep() should_forbid_n_rate() This was partially found by using a static code analysis

Re: [PATCH] staging: rtl8712: recv_linux.c: Remove unused function

2015-01-17 Thread Greg Kroah-Hartman
On Sat, Dec 20, 2014 at 03:58:32PM +0100, Rickard Strandqvist wrote: Remove the function r8712_os_read_port() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist

Re: [PATCH RESEND 1/4] staging: rtl8192u: fix comments

2015-01-17 Thread Greg KH
On Sat, Jan 10, 2015 at 02:19:11PM +, Lorenzo Stoakes wrote: This patch fixes errors raised by checkpatch.pl relating to use of C99 comments in r8192U_dm.c, and cleans up existing ANSI C comments. Signed-off-by: Lorenzo Stoakes lstoa...@gmail.com ---

[PATCH 1/2] IPVS: add wlib wlip schedulers

2015-01-17 Thread Chris Caputo
Wensong, this is something we discussed 10 years ago and you liked it, but it didn't actually get into the kernel. I've updated it, tested it, and would like to work toward inclusion. Thanks, Chris --- From: Chris Caputo ccap...@alt.net IPVS wlib (Weighted Least Incoming Byterate) and wlip

Re: SMBIOS/DMI data under CONFIG_STRICT_DEVMEM

2015-01-17 Thread Leif Lindholm
On Sat, Jan 17, 2015 at 03:12:13PM -0500, Jon Masters wrote: Hi Catalin, all, I would like to ensure that the SMBIOS data provided by firmware is always readable from userspace on AArch64, through /dev/mem. No, we need to ensure /dev/mem can be completely disabled on any system that ever

[PATCH 2/2] IPVS: add wlib wlip schedulers

2015-01-17 Thread Chris Caputo
From: Chris Caputo ccap...@alt.net IPVS wlib (Weighted Least Incoming Byterate) and wlip (Weighted Least Incoming Packetrate) scheduler docs for ipvsadm-1.27. Signed-off-by: Chris Caputo ccap...@alt.net --- diff -upr ipvsadm-1.27-stock/SCHEDULERS ipvsadm-1.27/SCHEDULERS ---

Re: [PATCH] staging: skein: Fix checkpatch warnings

2015-01-17 Thread Greg KH
On Sat, Jan 10, 2015 at 04:00:47PM +0100, Arno Tiemersma wrote: Remove do {} while (0) loops around single statements in skein/skein_block.c Signed-off-by: Arno Tiemersma arno.tiemer...@gmail.com --- drivers/staging/skein/skein_block.c | 16 1 file changed, 4

Re: [PATCH v2] staging: skein: Remove all do{} while (0) loop from single statement.

2015-01-17 Thread Greg KH
On Sun, Jan 11, 2015 at 03:41:05PM -0800, Shirish Gajera wrote: This patch fixes the checkpatch.pl warning: WARNING: Single statement macros should not use a do {} while (0) loop I remove do while from the single statement macro. Signed-off-by: Shirish Gajera gajerashir...@gmail.com ---

Intel GCM: __driver-gcm-aes-aesni setkey missing

2015-01-17 Thread Stephan Mueller
Hi Gabriele, Adrian, Tadeusz, Aidan, during testing of my algif_aead patch with the different GCM implementations I am able to trigger a kernel crash from user space using __driver-gcm-aes- aesni. As I hope that algif_aead is going to be included, unprivileged userspace would then reliably

Re: [PATCH] out out damn perl

2015-01-17 Thread Rob Landley
On 01/17/2015 02:01 AM, Pavel Machek wrote: On Tue 2015-01-06 15:50:24, Andrew Morton wrote: On Tue, 06 Jan 2015 17:41:35 -0600 Rob Landley r...@landley.net wrote: Commit e6023367d779 added perl back to the kernel build in -rc6. Replace 39 lines of perl with 4 lines of shell script. ... -

Re: SMBIOS/DMI data under CONFIG_STRICT_DEVMEM

2015-01-17 Thread Jon Masters
Hi Olof, On 01/17/2015 04:10 PM, Olof Johansson wrote: Hi, On Sat, Jan 17, 2015 at 12:12 PM, Jon Masters j...@redhat.com wrote: Hi Catalin, all, I would like to ensure that the SMBIOS data provided by firmware is always readable from userspace on AArch64, through /dev/mem. Seems like

[RFC PATCH RESEND] vfs: Move security_inode_killpriv() after permission checks

2015-01-17 Thread Ben Hutchings
chown() and write() should clear all privilege attributes on a file - setuid, setgid, setcap and any other extended privilege attributes. However, any attributes beyond setuid and setgid are managed by the LSM and not directly by the filesystem, so they cannot be set along with the other

Re: [PATCH] staging: ft1000: Fix code style issue

2015-01-17 Thread Greg KH
On Wed, Jan 07, 2015 at 12:57:05PM +0530, Arjun AK wrote: Remove unnecessary braces from single statement blocks. Signed-off-by: Arjun AK arjunak...@gmail.com --- drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c | 101 --- 1 file changed, 35 insertions(+), 66

[PATCH 1/1] fujitsu-laptop: use FB_BLANK_* constants

2015-01-17 Thread Michael Karcher
From: Michael Karcher karc...@physik.fu-berlin.de --- drivers/platform/x86/fujitsu-laptop.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/platform/x86/fujitsu-laptop.c b/drivers/platform/x86/fujitsu-laptop.c index 7c21c1c..2a9afa2 100644 ---

[PATCH 1/1] scripts/recordmcount.pl: There is no -m32 option on Super-H

2015-01-17 Thread Michael Karcher
Signed-Off-By: Michael Karcher ker...@mkarcher.dialup.fu-berlin.de --- scripts/recordmcount.pl | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/recordmcount.pl b/scripts/recordmcount.pl index 56ea99a..537c38c 100755 --- a/scripts/recordmcount.pl +++ b/scripts/recordmcount.pl @@ -255,7

Re: [PATCH v3] staging: lustre: fix sparse warning on LPROC_SEQ_FOPS macros

2015-01-17 Thread Greg KH
On Sat, Dec 06, 2014 at 04:03:22PM -0800, Tristan Lelong wrote: This patch fix a sparse warning in lustre sources warning: incorrect type in argument 1 (different address spaces) expected void [noderef] asn:1*to got char *noident This is done by adding the missing __user attribute

Re: [PATCH v2 ] staging: ft1000: fix else style error

2015-01-17 Thread Greg KH
On Tue, Jan 13, 2015 at 10:34:00PM +0100, Bilel DRIRA wrote: This patch fix the checkpatch.pl error: ERROR: else should follow close brace '}' Signed-off-by: Bilel DRIRA bilel...@gmail.com --- v2: remove braces instead of just putting else after close brace. (suggested by Joe

Re: [RFC 0/3] mmc: Add dynamic frequency scaling

2015-01-17 Thread Mike Turquette
Quoting Ulf Hansson (2015-01-15 02:04:04) On 15 January 2015 at 10:20, Krzysztof Kozlowski k.kozlow...@samsung.com wrote: On czw, 2015-01-15 at 09:20 +0100, Ulf Hansson wrote: + Mike, Stephen (Clock maintainers) On 12 January 2015 at 10:23, Krzysztof Kozlowski k.kozlow...@samsung.com

Re: [PATCH] clk: fix possible null pointer dereference

2015-01-17 Thread Mike Turquette
Quoting Stephen Boyd (2015-01-05 11:34:32) On 01/05/2015 08:04 AM, Stanimir Varbanov wrote: The commit 646cafc6 (clk: Change clk_ops-determine_rate to return a clk_hw as the best parent) opens a possibility for null pointer dereference, fix this. Signed-off-by: Stanimir Varbanov

[PATCH] scsi_debug: use atomic allocation in resp_rsup_opcodes

2015-01-17 Thread Sasha Levin
resp_rsup_opcodes() may get called from atomic context and would need to use GFP_ATOMIC for allocations: [ 1237.913419] BUG: sleeping function called from invalid context at mm/slub.c:1262 [ 1237.914865] in_atomic(): 1, irqs_disabled(): 0, pid: 7556, name: trinity-c311 [ 1237.916142] 3 locks

Re: [PATCH v3] staging: writeboost: Add dm-writeboost

2015-01-17 Thread Greg KH
On Thu, Jan 01, 2015 at 05:44:39PM +0900, Akira Hayakawa wrote: This patch adds dm-writeboost to staging tree. dm-writeboost is a log-structured SSD-caching driver. It caches data in log-structured way on the cache device so that the performance is maximized. The merit of putting this

Re: [PATCH] Staging: wlan-ng: hfa384x_usb: Fix else is not useful warning

2015-01-17 Thread Greg KH
On Thu, Jan 08, 2015 at 03:01:17PM +0100, Sven Dziadek wrote: This fixes the following checkpatch.pl warning: WARNING: else is not generally useful after a break or return Signed-off-by: Sven Dziadek sven.dzia...@gmx.de --- drivers/staging/wlan-ng/hfa384x_usb.c | 9 - 1 file

Re: [PATCH 1/3] Revert staging: sm7xxfb: remove driver

2015-01-17 Thread Greg Kroah-Hartman
On Wed, Dec 31, 2014 at 05:56:43PM +0530, Sudip Mukherjee wrote: This reverts commit dc93c85235efa5201e9a3c116bc3fbd1afc1a182 Signed-off-by: Sudip Mukherjee su...@vectorindia.org --- Hi Greg K-H With reference to our discussion at https://lkml.org/lkml/2014/11/22/54 , now I have the

[RFC][PATCH][v2] PCI / PM: Avoid resuming PCI devices during system suspend

2015-01-17 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com Commit f25c0ae2b4c4 (ACPI / PM: Avoid resuming devices in ACPI PM domain during system suspend) modified the ACPI PM domain's system suspend callbacks to allow devices attached to it to be left in the runtime-suspended state during system suspend

Re: SMBIOS/DMI data under CONFIG_STRICT_DEVMEM

2015-01-17 Thread Jon Masters
On 01/17/2015 06:21 PM, Leif Lindholm wrote: On Sat, Jan 17, 2015 at 03:12:13PM -0500, Jon Masters wrote: Hi Catalin, all, I would like to ensure that the SMBIOS data provided by firmware is always readable from userspace on AArch64, through /dev/mem. No, we need to ensure /dev/mem can be

[PATCH] video: mx3fb: fix up wait_for_completion_timeout return handling

2015-01-17 Thread Nicholas Mc Guire
Signed-off-by: Nicholas Mc Guire der.h...@hofr.at --- return type of wait_for_completion_timeout is unsigned long as ret is used only for checking wait_for_completion_timeout here the type was changed to unsigned long, wait_for_completion_timeout return = 0 only so the checks for negative return

Re: [PATCH] sysfs: group: allow is_visible to drop permissions

2015-01-17 Thread Guenter Roeck
On 01/17/2015 02:09 PM, Vivien Didelot wrote: Hi Guenter, Greg, [ .. ] BTW Guenter, does this patch make sense to you? It does make sense to me to only use the return value from is_visible for the mode. As for which bits to use, I am not entirely sure. I think it would be more important

Re: [PATCH] Staging: unisys: virtpci: fixed coding style errors

2015-01-17 Thread Andrew Milkovich
Hi, On Sat, Jan 17, 2015 at 04:22:35PM -0800, Greg KH wrote: On Fri, Jan 16, 2015 at 08:58:10PM -0800, Andrew Milkovich wrote: Fixed coding style errors per checkpatch.pl. Inline comments removed; chanptr comment is implied by the first argument being the channel. No parent bus comment

Re: [PATCH] Staging: unisys: virtpci: fixed coding style errors

2015-01-17 Thread Greg KH
On Sat, Jan 17, 2015 at 07:01:41PM -0800, Andrew Milkovich wrote: Hi, On Sat, Jan 17, 2015 at 04:22:35PM -0800, Greg KH wrote: On Fri, Jan 16, 2015 at 08:58:10PM -0800, Andrew Milkovich wrote: Fixed coding style errors per checkpatch.pl. Inline comments removed; chanptr comment is

[PATCH] Staging: unisys: virtpci: fixed coding style errors

2015-01-17 Thread Andrew Milkovich
Fixed coding style errors per checkpatch.pl. Inline comments removed; chanptr comment is implied by the first argument being the channel. No parent bus comment is already understood by the argument being NULL. Signed-off-by: Andrew Milkovich amilkov...@gmail.com ---

Re: [PATCH] Staging: unisys: virtpci: fixed coding style errors

2015-01-17 Thread Joe Perches
On Sat, 2015-01-17 at 19:30 -0800, Andrew Milkovich wrote: Fixed coding style errors per checkpatch.pl. which ones? As far as I can tell, none of the checkpatch warnings on this file are actually addressed by this patch. -- To unsubscribe from this list: send the line unsubscribe linux-kernel

[PATCH] Staging: dgnc: fixed some coding style errors

2015-01-17 Thread Andrew Milkovich
This patch fixes the following checkpatch.pl error: ERROR: Macros with complex values should be enclosed in parentheses Outer parentheses were added to macro definitions. Signed-off-by: Andrew Milkovich amilkov...@gmail.com --- drivers/staging/dgnc/digi.h | 60

Re: [PATCH v7 06/17] ARM64 / ACPI: Make PCI optional for ACPI on ARM64

2015-01-17 Thread Jon Masters
Hi Folks, Sorry for top posting from bed. The mainstream servers will all likely do PCIe but there are several that may not. They should not be excluded. That said, if we booted a previously built kernel on a system without an MCFG and got no ECAM/root then things would probably still work. I

Re: [PATCH v4 2/3] i2c: iproc: Add Broadcom iProc I2C Driver

2015-01-17 Thread Ray Jui
On 1/17/2015 2:40 PM, Russell King - ARM Linux wrote: On Sat, Jan 17, 2015 at 01:26:41PM -0800, Ray Jui wrote: time_left = wait_for_completion_timeout(iproc_i2c-done, time_left); /* disable all interrupts */ writel(0, iproc_i2c-base + IE_OFFSET); if (!time_left

Re: [PATCH 2/3] staging: android: Correct NULL comparison style in logger.c

2015-01-17 Thread Greg Kroah-Hartman
On Mon, Jan 05, 2015 at 03:25:23PM +0100, Guillaume Vercoutere wrote: Replace explicit NULL comparison with ! Not a good idea, you just lost typechecking :( -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More

Re: [PATCH] hostfs: Use noop_fsync for directories

2015-01-17 Thread Daniel Gröber
From: Richard Weinberger rich...@nod.at Subject: Re: [PATCH] hostfs: Use noop_fsync for directories Date: Wed, 14 Jan 2015 09:43:53 +0100 Daniel, are you interested in a small kernel project? Sure, I'm just pretty busy with university right now, I'll probably pick this back up after exams are

[PATCH] Staging: unisys: virtpci: fixed coding style errors

2015-01-17 Thread Andrew Milkovich
Fixed coding style errors per checkpatch.pl. Inline comments removed; chanptr comment is implied by the first argument being the channel. No parent bus comment is already understood by the argument being NULL. Signed-off-by: Andrew Milkovich amilkov...@gmail.com ---

3.18 regression: Error while assigning device slot ID, USB3 devices not detected

2015-01-17 Thread Robert Hancock
I've got an Intel Haswell-based system with a Gigabyte Z87X-D3H motherboard under Fedora 21. After updating to the 3.18.2-200 Fedora kernel, I noticed some errors in dmesg and at least some of my USB3 ports don't recognize any USB3 devices plugged into them: [0.560838] xhci_hcd

Re: [PATCH v7 06/17] ARM64 / ACPI: Make PCI optional for ACPI on ARM64

2015-01-17 Thread Hanjun Guo
On 2015年01月16日 17:49, Catalin Marinas wrote: On Wed, Jan 14, 2015 at 03:04:54PM +, Hanjun Guo wrote: Since PCI is not required in ACPI spec and ARM can run without it, introduce some stub functions to make PCI optional for ACPI, and make ACPI core run without CONFIG_PCI on ARM64. When PCI

[PATCH 2/2] drivers: scsi: mpt2sas: Clean up error handling for calls to pci_map_single

2015-01-17 Thread Tina Johnson
*Currently, the error handling code is organized to free dma_addr_out, dma_addr_in and then pci_addr_out, pci_addr_in. Since dma_addr_out and pci_addr_out are allocated first and then dma_addr_in and pci_addr_in, the error handling code is reorganized to free the in variables first and then

[PATCH 1/2] drivers: scsi: mpt2sas: Added pci_dma_mapping_error() call

2015-01-17 Thread Tina Johnson
Replaced null test on dma handle with pci_dma_mapping_error() o check for mapping errors. Coccinelle was used to find cases that do not check for dma mapping errors: @rule1@ statement S; identifier x; @@ *x = pci_map_single(...); if (!x) S Signed-off-by: Tina Johnson

[PATCH 0/2] Added pci_mapping_error() call and related clean up

2015-01-17 Thread Tina Johnson
Replaced null test on dma handle with pci_dma_mapping_error() and cleaned up the error handling code. Tina Johnson (2): drivers: scsi: mpt2sas: Added pci_dma_mapping_error() call drivers: scsi: mpt2sas: Clean up error handling for calls to pci_map_single

Re: [PATCH v3] staging: lustre: fix sparse warning on LPROC_SEQ_FOPS macros

2015-01-17 Thread Tristan Lelong
Hi Greg, On Sat, Jan 17, 2015 at 03:28:27PM -0800, Greg KH wrote: I took your v2 version, please send me the difference as this is a mess... Not sure I understand what you meant here. Do you want me to submit a new patch that contains only the differences between v2 and v3? Thanks,

  1   2   3   4   5   >