[PATCH] staging: lustre: lnet: specify address space

2017-05-16 Thread Paolo Cretaro
Fix warning issued by sparse: incorrect type in assignment (different address spaces). Signed-off-by: Paolo Cretaro --- drivers/staging/lustre/lnet/lnet/lib-socket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/lustre/lnet/lnet/lib-socket.c b/drivers/stagi

[PATCH] staging: media: atomisp: declare not-exported functions as static

2017-05-16 Thread Paolo Cretaro
Fix warnings issued by sparse: symbol 'gmin_v1p2_ctrl' was not declared. Should it be static? symbol 'gmin_v1p8_ctrl' was not declared. Should it be static? symbol 'gmin_v2p8_ctrl' was not declared. Should it be static? symbol 'gmin_flisclk_ctrl' was not declared. Should it be static? Signed-off-b

[PATCH v5 1/1] staging: ks7010: avoid CamelCase: receiveDTIMs

2017-05-16 Thread Janusz Lisiecki
Replace CamelCase variable name with underscores to comply with the standard kernel coding style. Signed-off-by: Janusz Lisiecki --- drivers/staging/ks7010/ks_hostif.c | 26 +- drivers/staging/ks7010/ks_hostif.h | 2 +- 2 files changed, 14 insertions(+), 14 deletions(-)

[PATCH v5 0/1] Avoid CamelCases in ks7010 driver

2017-05-16 Thread Janusz Lisiecki
This patchset fix CamelCases in ks7010 driver except michael_mic which will be replaced by kernel implementation in the future. --- v2: - Rebased all patches to next-20170512. 2 and 8 should apply cleanly now v3: - Rebased all not yet applied patched to staging-testing branch of gregkh/staging

[PATCH v4 1/1] staging: ks7010: avoid CamelCase: receiveDTIMs

2017-05-16 Thread Janusz Lisiecki
Replace CamelCase variable name with underscores to comply with the standard kernel coding style. Signed-off-by: Janusz Lisiecki Conflicts: drivers/staging/ks7010/ks_hostif.h --- drivers/staging/ks7010/ks_hostif.c | 26 +- drivers/staging/ks7010/ks_hostif.h | 2

[PATCH v4 0/1] Avoid CamelCases in ks7010 driver

2017-05-16 Thread Janusz Lisiecki
This patchset fix CamelCases in ks7010 driver except michael_mic which will be replaced by kernel implementation in the future. --- v2: - Rebased all patches to next-20170512. 2 and 8 should apply cleanly now v3: - Rebased all not yet applied patched to staging-testing branch of gregkh/staging

Re: [PATCH] staging: iio: meter: Replace symbolic permissions with octal permissions

2017-05-16 Thread Jonathan Cameron
On 15/05/17 05:38, harinath Nampally wrote: Jonathan, Thank you for letting me know about correct iio git tree. I checked out 'togreg' branch, and noticed that latest ade7758_core.c still has checkpatch.pl warnings. Actually Quentin Swain fixed the similar warnings in the ade7854.c, and my pat

Re: [PATCH] Staging: comedi: comedidev.h: fixed a warning

2017-05-16 Thread srishti sharma
On Tue, May 16, 2017 at 2:45 PM, Greg KH wrote: > On Tue, May 16, 2017 at 02:00:23PM +0530, srishti wrote: >> Fixed a warning : struct comedi_lrange is generally constant. >> >> Signed-off-by: Srishti Sharma > > As Dan pointed out, you _HAVE_ to test-build your changes. > > Also, your "From:" lin

[PATCH] powerpc: booke: fix boot crash due to null hugepd

2017-05-16 Thread laurentiu.tudor
From: Laurentiu Tudor On 32-bit book-e machines, hugepd_ok() does not take into account null hugepd values, causing this crash at boot: Unable to handle kernel paging request for data at address 0x8000 Faulting instruction address: 0xc00182a8 Oops: Kernel access of bad area, sig: 11 [#1] SMP

Re: [patch v2 6/6] staging: speakup: flush tty buffers and ensure hardware flow control

2017-05-16 Thread Okash Khawaja
> On 16 May 2017, at 13:28, Greg Kroah-Hartman > wrote: > >> On Tue, May 16, 2017 at 01:19:10PM +0100, Okash Khawaja wrote: >> Hi, >> >> On Tue, May 16, 2017 at 1:00 PM, Greg Kroah-Hartman >> wrote: >>> On Mon, May 15, 2017 at 06:45:37PM +0100, Okash Khawaja wrote: This patch fixes the i

[PATCH 2/2] staging: vt6656: remove unnecesary blank lines

2017-05-16 Thread Juan Manuel Torres Palma
Fix style in rxtx.c, removing extra empty blank lines. Signed-off-by: Juan Manuel Torres Palma --- drivers/staging/vt6656/rxtx.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/staging/vt6656/rxtx.c b/drivers/staging/vt6656/rxtx.c index 24c7308..a44abcc 100644 --- a/drivers/stagin

[PATCH 1/2] staging: vt6656: remove multiple assignments

2017-05-16 Thread Juan Manuel Torres Palma
Fix style in rxtx.c, breaking all multiple assignments in different lines. Signed-off-by: Juan Manuel Torres Palma --- drivers/staging/vt6656/rxtx.c | 20 ++-- 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/drivers/staging/vt6656/rxtx.c b/drivers/staging/vt6656/rx

Re: [PATCH] staging: wlan-ng: p80211conv: change args types of p80211_caphdr structure to be compatible with networking byte order.

2017-05-16 Thread Greg KH
On Tue, May 16, 2017 at 02:18:13PM +0200, Karim Eshapa wrote: > Change p80211_caphdr structure args types to __be.. to be > compatible with byte ordering of the network. > and in hfa384x_usb.c make calculations with respect to machine. > > Signed-off-by: Karim Eshapa > --- > drivers/staging/wlan

Re: [patch v2 6/6] staging: speakup: flush tty buffers and ensure hardware flow control

2017-05-16 Thread Greg Kroah-Hartman
On Tue, May 16, 2017 at 01:19:10PM +0100, Okash Khawaja wrote: > Hi, > > On Tue, May 16, 2017 at 1:00 PM, Greg Kroah-Hartman > wrote: > > On Mon, May 15, 2017 at 06:45:37PM +0100, Okash Khawaja wrote: > >> This patch fixes the issue where TTY-migrated synths would take a while to > >> shut up af

Re: [patch v2 6/6] staging: speakup: flush tty buffers and ensure hardware flow control

2017-05-16 Thread Okash Khawaja
Hi, On Tue, May 16, 2017 at 1:00 PM, Greg Kroah-Hartman wrote: > On Mon, May 15, 2017 at 06:45:37PM +0100, Okash Khawaja wrote: >> This patch fixes the issue where TTY-migrated synths would take a while to >> shut up after hitting numpad enter key. When calling synth_flush, even >> though XOFF

[PATCH] staging: wlan-ng: p80211conv: change args types of p80211_caphdr structure to be compatible with networking byte order.

2017-05-16 Thread Karim Eshapa
Change p80211_caphdr structure args types to __be.. to be compatible with byte ordering of the network. and in hfa384x_usb.c make calculations with respect to machine. Signed-off-by: Karim Eshapa --- drivers/staging/wlan-ng/hfa384x_usb.c | 2 +- drivers/staging/wlan-ng/p80211conv.h | 28 ++

Re: [patch v2 6/6] staging: speakup: flush tty buffers and ensure hardware flow control

2017-05-16 Thread Greg Kroah-Hartman
On Mon, May 15, 2017 at 06:45:37PM +0100, Okash Khawaja wrote: > This patch fixes the issue where TTY-migrated synths would take a while to > shut up after hitting numpad enter key. When calling synth_flush, even though > XOFF character is sent as high priority, data buffered in TTY layer is stil

Re: [PATCH v3 1/2] staging: ks7010: avoid CamelCase: receiveDTIMs

2017-05-16 Thread Greg Kroah-Hartman
On Mon, May 15, 2017 at 08:55:45PM +0200, Janusz Lisiecki wrote: > Replace CamelCase variable name with underscores to comply > with the standard kernel coding style. > > Signed-off-by: Janusz Lisiecki > --- > drivers/staging/ks7010/ks_hostif.c | 26 +- > drivers/staging/

Re: [PATCH] staging: wlan-ng: p80211conv: change args types of p80211_caphdr structure to be network compatible.

2017-05-16 Thread Greg KH
On Mon, May 15, 2017 at 02:04:57PM +0200, Karim Eshapa wrote: > Change p80211_caphdr structure args types to __be.. to be > compatible with byte ordering of the network. > and in hfa384x_usb.c make calculations with respect to machine. > > Signed-off-by: Karim Eshapa > --- > drivers/staging/wlan

Re: [PATCH] staging: vt6656: fix style

2017-05-16 Thread Greg KH
On Mon, May 15, 2017 at 11:14:03PM +0900, Juan Manuel Torres Palma wrote: > Fix coding style, including breaking too long lines, multiple > assignments in same line and empty lines. That's a lot of different things to be doing all in the same patch. Please break this up into "one logical thing pe

Re: [PATCH v3 0/7] staging: sm750fb: cleaning code

2017-05-16 Thread Greg KH
On Tue, May 16, 2017 at 11:20:16AM +0200, Matej Dujava wrote: > Folowing patch set cleans some warnings and checkups from checkpatch.pl > and also fix code to better fot linux code style. > > Changes since v2 [1]: > > * staging: sm750fb: unifying macro usage and definitions > * move definit

[PATCH] staging: fsl-dpaa2/eth: add ETHERNET dependency

2017-05-16 Thread Arnd Bergmann
The new driver cannot link correctly when the netdevice infrastructure is disabled: ERROR: "netdev_info" [drivers/staging/fsl-dpaa2/ethernet/fsl-dpaa2-eth.ko] undefined! ERROR: "skb_to_sgvec" [drivers/staging/fsl-dpaa2/ethernet/fsl-dpaa2-eth.ko] undefined! ERROR: "napi_disable" [drivers/staging/

[PATCH v3 5/7] staging: sm750fb: Remove typedef from "typedef enum _disp_output_t"

2017-05-16 Thread Matej Dujava
This patch removes typedefs from enum and renames it from "typedef enum _disp_output_t" to "enum disp_output" as per kernel coding standards. Signed-off-by: Matej Dujava --- drivers/staging/sm750fb/ddk750_display.c | 2 +- drivers/staging/sm750fb/ddk750_display.h | 8 drivers/staging/sm

[PATCH v3 7/7] staging: sm750fb: Remove typedef from "typedef enum _sii164_hot_plug_mode_t"

2017-05-16 Thread Matej Dujava
This patch removes typedefs from enum and renames it from "typedef enum _sii164_hot_plug_mode_t" to "enum sii164_hot_plug_mode" as per kernel coding standards. Signed-off-by: Matej Dujava --- drivers/staging/sm750fb/ddk750_sii164.c | 2 +- drivers/staging/sm750fb/ddk750_sii164.h | 4 ++-- 2 file

[PATCH v3 6/7] staging: sm750fb: Remove typedef from "typedef enum _DPMS_t"

2017-05-16 Thread Matej Dujava
This patch removes typedefs from enum and renames it from "typedef enum _DPMS_t" to "enum DPMS" as per kernel coding standards. Signed-off-by: Matej Dujava --- drivers/staging/sm750fb/ddk750_power.c | 2 +- drivers/staging/sm750fb/ddk750_power.h | 7 +++ 2 files changed, 4 insertions(+), 5 d

[PATCH v3 2/7] staging: sm750fb: unifying macro usage and definitions

2017-05-16 Thread Matej Dujava
This patch adds tabs into macro definitions so all rhs are on same column. Move MHz macro from ddk_chip.c to ddk_chip.h. Signed-off-by: Matej Dujava --- drivers/staging/sm750fb/ddk750_chip.c| 18 drivers/staging/sm750fb/ddk750_chip.h| 5 +- drivers/staging/sm750fb/ddk750_displa

[PATCH v3 4/7] staging: sm750fb: Remove typedef from "typedef enum _clock_type_t"

2017-05-16 Thread Matej Dujava
This patch removes typedefs from enum and renames it from "typedef enum _clock_type_t" to "enum clock_type" as per kernel coding standards. Signed-off-by: Matej Dujava --- drivers/staging/sm750fb/ddk750_chip.h | 8 drivers/staging/sm750fb/ddk750_mode.c | 2 +- drivers/staging/sm750fb/dd

[PATCH v3 3/7] staging: sm750fb: Remove typedef from "typedef enum _logical_chip_type_t"

2017-05-16 Thread Matej Dujava
This patch removes typedefs from enum and renames it from "typedef enum _logical_chip_type_t" to "enum logical_chip_type" as per kernel coding standards. Signed-off-by: Matej Dujava --- drivers/staging/sm750fb/ddk750_chip.c | 4 ++-- drivers/staging/sm750fb/ddk750_chip.h | 8 2 files ch

[PATCH v3 1/7] staging: sm750fb: fix length of lines, function calls and declaration

2017-05-16 Thread Matej Dujava
This patch breaks lines that are longer than 80 characters and joins together those, that are too short and can be placed at one. Function calls and declarations are updated to fit kernel code style. Signed-off-by: Matej Dujava --- drivers/staging/sm750fb/ddk750_chip.c | 7 +++-- drivers/sta

[PATCH v3 0/7] staging: sm750fb: cleaning code

2017-05-16 Thread Matej Dujava
Folowing patch set cleans some warnings and checkups from checkpatch.pl and also fix code to better fot linux code style. Changes since v2 [1]: * staging: sm750fb: unifying macro usage and definitions * move definition of MHZ macro from c file to header. [1] https://lkml.org/lkml/2017/5/

Re: [PATCH] Staging: comedi: comedidev.h: fixed a warning

2017-05-16 Thread Greg KH
On Tue, May 16, 2017 at 02:00:23PM +0530, srishti wrote: > Fixed a warning : struct comedi_lrange is generally constant. > > Signed-off-by: Srishti Sharma As Dan pointed out, you _HAVE_ to test-build your changes. Also, your "From:" line didn't match your signed-off-by line, so I couldn't accep

[PATCH] [media] sir_ir: infinite loop in interrupt handler

2017-05-16 Thread Sean Young
Since this driver does no detection of hardware, it might be used with a non-sir port. Escape out if we are spinning. Signed-off-by: Sean Young --- drivers/media/rc/sir_ir.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/media/rc/sir_ir.c b/drivers/media/rc/sir_ir.c index e12e

Re: [PATCH] Staging: comedi: comedidev.h: fixed a warning

2017-05-16 Thread Dan Carpenter
Compile test your patches. regards, dan carpenter ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

[PATCH] drivers/staging/ccree: Replacing spaces by tab

2017-05-16 Thread Pushkar Jambhlekar
Fixing 'checkpatch.pl' ERROR: code indent should use tabs where possible Signed-off-by: Pushkar Jambhlekar --- drivers/staging/ccree/ssi_aead.c | 32 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/drivers/staging/ccree/ssi_aead.c b/drivers/stagin

[PATCH] Staging: comedi: comedidev.h: fixed a warning

2017-05-16 Thread srishti
Fixed a warning : struct comedi_lrange is generally constant. Signed-off-by: Srishti Sharma --- drivers/staging/comedi/comedidev.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/comedi/comedidev.h b/drivers/staging/comedi/comedidev.h index 1bb9986..82df090 1

[PATCH] staging: fbtft: fix sparse warning

2017-05-16 Thread Jandy Gou
fix the following sparse warning: drivers/staging/fbtft/fbtft-io.c:74:29: warning: incorrect type in assignment (different base types) drivers/staging/fbtft/fbtft-io.c:74:29:expected unsigned long long [unsigned] [long] [long long] [usertype] drivers/staging/fbtft/fbtft-io.c:74:29:got

Re: [PATCH] drivers/staging/ccree: Fixing coding guideline errors

2017-05-16 Thread Greg Kroah-Hartman
On Tue, May 16, 2017 at 01:35:52PM +0530, Pushkar Jambhlekar wrote: > Fixing coding guideline errors reported by 'checkpatch.pl' That is very "vague", you are going to have to be specific here. Also remember you can only do "one type of thing" per patch, and no, "fix all warnings" is not one type

[PATCH] drivers/staging/ccree: Fixing coding guideline errors

2017-05-16 Thread Pushkar Jambhlekar
Fixing coding guideline errors reported by 'checkpatch.pl' Signed-off-by: Pushkar Jambhlekar --- drivers/staging/ccree/ssi_cipher.c | 158 +++-- 1 file changed, 80 insertions(+), 78 deletions(-) diff --git a/drivers/staging/ccree/ssi_cipher.c b/drivers/staging/c

[PATCH v2 1/2] staging: greybus: arche: remove timesync remains

2017-05-16 Thread Johan Hovold
Remove the remaining timesync bits that were left in the arche platform driver and which prevented the driver from being compiled. Fixes: bdfb95c4baab ("staging: greybus: remove timesync protocol support") Signed-off-by: Johan Hovold --- drivers/staging/greybus/arche-apb-ctrl.c | 11 +-- driver

[PATCH v2 2/2] staging: greybus: enable compile testing of arche driver

2017-05-16 Thread Johan Hovold
Add Arche platform-driver config option and allow the driver to be compile tested also without the out-of-tree usb3613 driver. Signed-off-by: Johan Hovold --- drivers/staging/greybus/Kconfig | 10 ++ drivers/staging/greybus/Makefile | 2 +- drivers/staging/greybus/arche

[PATCH v2 0/2] staging: greybus: fix arche driver compilation

2017-05-16 Thread Johan Hovold
The arche driver currently depends on the out-of-tree usb3613 driver and this prevented a recent compile breakage after removing the timesync code from being detected. These patches remove the remaining timesync bits, and enable compile testing of the arche driver to avoid further unintended break

Re: [PATCH] fix the sparse warning: drivers/staging/fbtft/fbtft-io.c:74:29: warning: incorrect type in assignment (different base types) drivers/staging/fbtft/fbtft-io.c:74:29: expected unsigned long

2017-05-16 Thread Greg KH
On Tue, May 16, 2017 at 03:42:27PM +0800, Jandy Gou wrote: > Signed-off-by: Jandy Gou Your subject is a bit messed up :( Please fix and resend. No need for the 0/1 email for just a single patch. thanks, greg k-h ___ devel mailing list de...@linuxdri

Re: [PATCH v4] drivers/staging: refactor dgnc tty registration.

2017-05-16 Thread Dan Carpenter
On Mon, May 15, 2017 at 05:10:18PM +0300, Haim Daniel wrote: > -remove duplicate tty allocation code for serial and printer drivers. > -add missing tty c_ispeed and c_ospeed initialization to 9600. > -fix sparse warning: too long initializer-string for array of char. This is a GCC warning and not

Re: [PATCH v3] drivers/staging: refactor dgnc tty registration.

2017-05-16 Thread Dan Carpenter
On Mon, May 15, 2017 at 04:49:16PM +0300, Haim Daniel wrote: > me@haim-toshiba1 ~ $ dpkg -l sparse > Desired=Unknown/Install/Remove/Purge/Hold > | > Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend > |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) > ||/ Name

Re: [[media] rc] e662671619: BUG: kernel hang in test stage

2017-05-16 Thread Sean Young
On Mon, May 08, 2017 at 08:13:37PM +0800, kernel test robot wrote: > Greetings, > > 0day kernel testing robot got the below dmesg and the first bad commit is > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > > commit e66267161971155a8b4756b4e17f2f2f82b9f842 > Author

Re: [PATCH 1/2] staging: greybus: arche: remove timesync remains

2017-05-16 Thread Johan Hovold
On Mon, May 15, 2017 at 10:22:15PM +0100, Bryan O'Donoghue wrote: > On 15/05/17 17:10, Johan Hovold wrote: > > On Mon, May 15, 2017 at 04:17:55PM +0100, Bryan O'Donoghue wrote: > >> On 15/05/17 15:26, Johan Hovold wrote: > >>> Remove the remaining timesync bits that were left in the arche platform

[PATCH] staging: fbtft: fix sparse warning

2017-05-16 Thread Jandy Gou
fix the sparse warning: drivers/staging/fbtft/fbtft-io.c:74:29: warning: incorrect type in assignment (different base types) drivers/staging/fbtft/fbtft-io.c:74:29:expected unsigned long long [unsigned] [long] [long long] [usertype] drivers/staging/fbtft/fbtft

[PATCH] fix the sparse warning: drivers/staging/fbtft/fbtft-io.c:74:29: warning: incorrect type in assignment (different base types) drivers/staging/fbtft/fbtft-io.c:74:29: expected unsigned long long

2017-05-16 Thread Jandy Gou
Signed-off-by: Jandy Gou --- drivers/staging/fbtft/fbtft-io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/fbtft/fbtft-io.c b/drivers/staging/fbtft/fbtft-io.c index d868405..ffb9a3b 100644 --- a/drivers/staging/fbtft/fbtft-io.c +++ b/drivers/staging/fbtft/fb

Re: [PATCH 2/2] staging: greybus: enable compile testing of arche driver

2017-05-16 Thread Johan Hovold
On Mon, May 15, 2017 at 09:49:51AM -0700, Randy Dunlap wrote: > On 05/15/17 07:26, Johan Hovold wrote: > > Add Arche platform-driver config option and allow the driver to be > > compile tested also without the usb3613 driver. > > > > Signed-off-by: Johan Hovold > > --- > > drivers/staging/greybu

[PATCH] fix the sparse warning: drivers/staging/fbtft/fbtft-io.c:74:29: warning: incorrect type in assignment (different base types) drivers/staging/fbtft/fbtft-io.c:74:29: expected unsigned long long

2017-05-16 Thread Jandy Gou
Signed-off-by: Jandy Gou --- drivers/staging/fbtft/fbtft-io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/fbtft/fbtft-io.c b/drivers/staging/fbtft/fbtft-io.c index d868405..ffb9a3b 100644 --- a/drivers/staging/fbtft/fbtft-io.c +++ b/drivers/staging/fbtft/fb