[PATCH] Staging: lustre: llite: fix some sparse warnings about userspace pointer

2014-10-10 Thread Anh Le
Add __user macro to the function declarations that accept userspace pointers as arguments. Signed-off-by: Anh Le --- .../staging/lustre/lustre/include/lprocfs_status.h | 6 +-- drivers/staging/lustre/lustre/llite/lproc_llite.c | 48 +++--- .../lustre/lustre/obdclass/lprocfs_sta

[PATCH] staging: media: omap24xx: fix missing asterisk

2014-10-10 Thread Tsung-Han Lin
Fix missing asterisk in one V4L2_INT_WRAPPER_1 usage. Reported by checkpatch.pl as: ERROR: space prohibited before that close parenthesis ')' +V4L2_INT_WRAPPER_1(s_power, enum v4l2_power, ); Signed-off-by: Tsung-Han Lin --- drivers/staging/media/omap24xx/v4l2-int-device.h | 2 +- 1 file changed

Re: [PATCH v2] mfd: rtsx: fix PM suspend for 5227 & 5249

2014-10-10 Thread Micky Ching
On 10/10/2014 06:21 PM, Lee Jones wrote: On Fri, 10 Oct 2014, micky_ch...@realsil.com.cn wrote: From: Micky Ching Fix rts5227&5249 failed send buffer cmd after suspend, PM_CTRL3 should reset before send any buffer cmd after suspend. Otherwise, buffer cmd will failed, this will lead resume fa

Re: [PATCH v4 3/4] Staging: iio: light: Added correct vendor-prefix for device isl29028

2014-10-10 Thread Jonathan Cameron
On 07/10/14 16:19, Darshana Padmadas wrote: > This patch adds the correct vendor-prefix for device isl29028 and > maintains deprecated vendor-prefix found by checkpatch warning > for older kernel releases. > > Signed-off-by: Darshana Padmadas Acked-by: Jonathan Cameron Which tree does this seri

RE: [PATCH net 1/1] hyperv: Fix a bug in netvsc_send()

2014-10-10 Thread Long Li
Thanks Sitsofe. Can you provide more details on the test setup? The kernel trace shows that skb->mac_header=0x (which means not yet set, it's in RCX: ). -Original Message- From: devel [mailto:driverdev-devel-boun...@linuxdriverproject.org] On Behalf Of Sitsofe Wheel

I am Presently in Luxemburg!!

2014-10-10 Thread Justice Mark Oweriole
From: Justice Mark Oweriole (Philanthropist) Urgent attention, Subject matter: Sincere compensation. You might find it so difficult to remember me. Though, it is indeed, a very long time. On my singular, I am much delighted and privileged to contact you again, after couple of

Re: [PATCH 00/15] staging: rtl8723au: Fixes and cleanups

2014-10-10 Thread Greg KH
On Fri, Oct 10, 2014 at 09:41:23PM +0200, jes.soren...@redhat.com wrote: > From: Jes Sorensen > > Hi, > > Please find attached a couple of fixes and cleanups for the rtl8723au > driver. This includes a fix for the mac_addr alignment reported by Dan > Carpenter and two patches from Greg Donald.

[PATCH 03/15] drivers: staging: rtl8723au: Fix "open brace '{' following struct go on the same line" errors

2014-10-10 Thread Jes . Sorensen
From: Greg Donald Fix checkpatch.pl "open brace '{' following struct go on the same line" errors Signed-off-by: Greg Donald Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_security.c | 3 +-- drivers/staging/rtl8723au/include/rtl8723a_dm.h | 3 +-- drivers/staging/rtl

[PATCH 02/15] drivers: staging: rtl8723au: core: Fix "'foo * bar' should be 'foo *bar'" errors

2014-10-10 Thread Jes . Sorensen
From: Greg Donald Fix checkpatch.pl "'foo * bar' should be 'foo *bar'" errors Signed-off-by: Greg Donald Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_ap.c| 2 +- drivers/staging/rtl8723au/core/rtw_led.c | 3 ++- drivers/staging/rtl8723au/core/rtw_mlme.c

[PATCH 13/15] staging: rtl8723au: Fold struct wlan_phy_info into struct wlan_bssid_ex

2014-10-10 Thread Jes . Sorensen
From: Jes Sorensen Half the entries of struct wlan_phy_info weren't used and this makes the code a little cleaner Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_mlme.c | 40 +++ drivers/staging/rtl8723au/core/rtw_mlme_ext.c | 6 ++-- drivers

[PATCH 01/15] staging: rtl8723au: Fix alignment of mac_addr for ether_addr_copy() usage

2014-10-10 Thread Jes . Sorensen
From: Jes Sorensen Make sure struct eeprom_priv->mac_addr is 2 byte aligned to work with ether_addr_copy() Reported-by: Dan Carpenter Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/include/rtw_eeprom.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/stag

[PATCH 15/15] staging: rtl8723au: Eliminate write-only struct wlan_network->aid

2014-10-10 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_mlme.c | 3 --- drivers/staging/rtl8723au/core/rtw_mlme_ext.c | 2 +- drivers/staging/rtl8723au/include/wlan_bssdef.h | 1 - 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/stagin

[PATCH 14/15] staging: rtl8723au: Remove unused struct ndis_802_11_key

2014-10-10 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/include/wlan_bssdef.h | 10 -- 1 file changed, 10 deletions(-) diff --git a/drivers/staging/rtl8723au/include/wlan_bssdef.h b/drivers/staging/rtl8723au/include/wlan_bssdef.h index 037942c..8acc418 100644 ---

[PATCH 10/15] staging: rtl8723au: Re-organize struct xmit_priv for better packing

2014-10-10 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/include/rtw_xmit.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8723au/include/rtw_xmit.h b/drivers/staging/rtl8723au/include/rtw_xmit.h index c26d944..b170ee2 100644 ---

[PATCH 07/15] stating: rtl8723au: Eliminate write-only struct xmit_priv->txirp_cnt

2014-10-10 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_xmit.c| 2 -- drivers/staging/rtl8723au/include/rtw_xmit.h | 1 - 2 files changed, 3 deletions(-) diff --git a/drivers/staging/rtl8723au/core/rtw_xmit.c b/drivers/staging/rtl8723au/core/rtw_xmit.c index

[PATCH 06/15] staging: rtl8723au: Eliminate write-once variable xmit_priv->vcs_setting

2014-10-10 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_xmit.c| 2 +- drivers/staging/rtl8723au/include/rtw_xmit.h | 1 - drivers/staging/rtl8723au/os_dep/os_intfs.c | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/staging/rtl8723au

[PATCH 11/15] staging: rtl8723au: Remove a stack of write only counters

2014-10-10 Thread Jes . Sorensen
From: Jes Sorensen We don't do anything with these, so get rid of them Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_xmit.c| 6 -- drivers/staging/rtl8723au/include/rtw_xmit.h | 5 - drivers/staging/rtl8723au/os_dep/usb_ops_linux.c | 16 --

[PATCH 05/15] staging: rtl8723au: Use enum values for vcs_type

2014-10-10 Thread Jes . Sorensen
From: Jes Sorensen Be consistent in the use of enum VCS_TYPE Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_wlan_util.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8723au/core/rtw_wlan_util.c b/drivers/staging/rtl8723au/core/r

[PATCH 00/15] staging: rtl8723au: Fixes and cleanups

2014-10-10 Thread Jes . Sorensen
From: Jes Sorensen Hi, Please find attached a couple of fixes and cleanups for the rtl8723au driver. This includes a fix for the mac_addr alignment reported by Dan Carpenter and two patches from Greg Donald. Cheers, Jes Greg Donald (2): drivers: staging: rtl8723au: core: Fix "'foo * bar' sh

[PATCH 08/15] staging: rtl8723au: Use register define REQ_NQOS_SEQ instead of hardcoded value

2014-10-10 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_sreset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8723au/core/rtw_sreset.c b/drivers/staging/rtl8723au/core/rtw_sreset.c index 58ed980..29a29d9 100644 --- a/drive

[PATCH 12/15] staging: rtl8723au: Remove unused struct zero_bulkout_content

2014-10-10 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/os_dep/usb_ops_linux.c | 7 --- 1 file changed, 7 deletions(-) diff --git a/drivers/staging/rtl8723au/os_dep/usb_ops_linux.c b/drivers/staging/rtl8723au/os_dep/usb_ops_linux.c index 4c94264..3e19b3b 100644 --- a/

[PATCH 04/15] staging: rtl8723au: Remove write-only struct xmit_priv->vcs_type

2014-10-10 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/include/rtw_xmit.h | 1 - drivers/staging/rtl8723au/os_dep/os_intfs.c | 1 - 2 files changed, 2 deletions(-) diff --git a/drivers/staging/rtl8723au/include/rtw_xmit.h b/drivers/staging/rtl8723au/include/rtw_xmit.h i

[PATCH 09/15] staging: rtl8723au: Don't read REQ_NQOS_SEQ 16 bits and write back 8 bits

2014-10-10 Thread Jes . Sorensen
From: Jes Sorensen This fixes a potential endian bug Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/hal/hal_com.c | 2 +- drivers/staging/rtl8723au/include/rtw_xmit.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8723au/hal/hal_com.c

[PATCH 2/3] staging: comedi: usbdux: updated contact details / comments

2014-10-10 Thread Bernd Porr
I've updated my contact details and removed obsolete comments. Signed-off-by: Bernd Porr --- drivers/staging/comedi/drivers/usbdux.c | 59 - 1 file changed, 28 insertions(+), 31 deletions(-) diff --git a/drivers/staging/comedi/drivers/usbdux.c b/drivers/staging

[PATCH 1/3] staging: comedi: usbduxsigma: updated contact details and status

2014-10-10 Thread Bernd Porr
I've updated my contact details of the driver. I've also tested it thoroughly and it works perfectly. I've changed the status to stable. Signed-off-by: Bernd Porr --- drivers/staging/comedi/drivers/usbduxsigma.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers

[PATCH 3/3] staging: comedi: usbduxfast: updated address details

2014-10-10 Thread Bernd Porr
Updated the range of years, e-mail and added driver desription as usually done in comedi. Signed-off-by: Bernd Porr --- drivers/staging/comedi/drivers/usbduxfast.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/drivers/staging/comedi/drivers/usbduxfast.c b/driv

Re: [PATCH 08/44] kernel: Move pm_power_off to common code

2014-10-10 Thread Guenter Roeck
On 10/09/2014 01:24 PM, Pavel Machek wrote: Hi! @@ -184,6 +179,8 @@ machine_halt(void) void machine_power_off(void) { + do_kernel_poweroff(); + poweroff -> power_off for consistency. Dunno; matter of personal preference. I started with that, but ultimately went with poweroff to

Re: [PATCH v2] mfd: rtsx: fix PM suspend for 5227 & 5249

2014-10-10 Thread Lee Jones
On Fri, 10 Oct 2014, micky_ch...@realsil.com.cn wrote: > From: Micky Ching > > Fix rts5227&5249 failed send buffer cmd after suspend, > PM_CTRL3 should reset before send any buffer cmd after suspend. > Otherwise, buffer cmd will failed, this will lead resume fail. > > Signed-off-by: Micky Ching

Re: [PATCH v2] mfd: rtsx: fix PM suspend for 5227 & 5249

2014-10-10 Thread Micky Ching
On 10/10/2014 05:24 PM, Lee Jones wrote: On Fri, 10 Oct 2014, micky_ch...@realsil.com.cn wrote: From: Micky Ching Fix rts5227&5249 failed send buffer cmd after suspend, PM_CTRL3 should reset before send any buffer cmd after suspend. Otherwise, buffer cmd will failed, this will lead resume fa

Re: [PATCH v2] mfd: rtsx: fix PM suspend for 5227 & 5249

2014-10-10 Thread Lee Jones
On Fri, 10 Oct 2014, micky_ch...@realsil.com.cn wrote: > From: Micky Ching > > Fix rts5227&5249 failed send buffer cmd after suspend, > PM_CTRL3 should reset before send any buffer cmd after suspend. > Otherwise, buffer cmd will failed, this will lead resume fail. > > Signed-off-by: Micky Ching

Re: [PATCH] staging: rtl8188eu: coding style fixup

2014-10-10 Thread Sudip Mukherjee
On Fri, Oct 10, 2014 at 11:09:20AM +0400, Igor Bogomazov wrote: > checkpatch.pl tiny fix > get rid of 2 warnings and 2 errors for hal/fw.c: > > WARNING: braces {} are not necessary for single statement blocks > WARNING: line over 80 characters > ERROR: space required before the open brace '{' > ER

[PATCH 3/3] scsi: Use try_rc16 and try_vpd_pages quirks on Hyper-V virtual disks

2014-10-10 Thread Sitsofe Wheeler
Microsoft Hyper-V virtual disks currently only claim SPC-2 compliance causing feature tests not to be run (even though those features are correctly announced elsewhere). Make Hyper-V virtual disks quirk past READ CAPACITY(16) and VPD page guards so appropriate tests are performed. This only impact

[PATCH 2/3] scsi: add try_rc16 blacklist flag

2014-10-10 Thread Sitsofe Wheeler
Microsoft Hyper-V virtual disks currently only claim SPC-2 compliance causing the kernel skip checks for features such as thin provisioning even though the virtual disk advertises them. Add a blacklist flag that can allow such devices to quirk past READ CAPACITY(16) guards. Signed-off-by: Sitsofe

[PATCH 1/3] Revert "Drivers: add blist flags"

2014-10-10 Thread Sitsofe Wheeler
This reverts commit f3cfabce7a2e92564d380de3aad4b43901fb7ae6 (Drivers: add blist flags) as it does not enable thin provisioning for my Hyper-V 2012 R2 virtual disks. Signed-off-by: Sitsofe Wheeler --- drivers/scsi/storvsc_drv.c | 10 -- 1 file changed, 10 deletions(-) diff --git a/drive

[PATCH 0/3] scsi: Add Hyper-V logical block provisioning quirks

2014-10-10 Thread Sitsofe Wheeler
Microsoft Hyper-V virtual disks currently only claim SPC-2 compliance even though they implement post SPC-2 features (such as thin provisioning) which means the Linux kernel does not go on to test for those features even though they are advertised. A previous patch attempted to add a quirk to work

[PATCH] staging: rtl8188eu: coding style fixup

2014-10-10 Thread Igor Bogomazov
checkpatch.pl tiny fix get rid of 2 warnings and 2 errors for hal/fw.c: WARNING: braces {} are not necessary for single statement blocks WARNING: line over 80 characters ERROR: space required before the open brace '{' ERROR: space required after that ',' (ctx:VxV) Signed-off-by: Igor Bogomazov C