RE: [PATCH] staging/fsl-mc: use consistent integer types

2016-09-09 Thread Stuart Yoder
> -Original Message- > From: Thomas Weißschuh [mailto:li...@weissschuh.net] > Sent: Wednesday, September 07, 2016 1:21 PM > To: J. German Rivera ; Stuart Yoder > ; Greg Kroah- > Hartman ;

Re: [PATCH 3/3] staging: vme_user: alloc buffer when setting slave

2016-09-09 Thread Aaron Sierra
- Original Message - > From: "Martyn Welch" > Sent: Friday, September 9, 2016 3:03:57 PM > On Fri, Sep 09, 2016 at 02:41:43PM -0500, Aaron Sierra wrote: >> - Original Message - >> > From: "Martyn Welch" >> > To: "Aaron Sierra"

Re: [PATCH 3/3] staging: vme_user: alloc buffer when setting slave

2016-09-09 Thread Martyn Welch
On Fri, Sep 09, 2016 at 02:41:43PM -0500, Aaron Sierra wrote: > - Original Message - > > From: "Martyn Welch" > > To: "Aaron Sierra" > > Cc: "Manohar Vanga" , "Greg Kroah-Hartman" > > ,

Re: [PATCH 3/3] staging: vme_user: alloc buffer when setting slave

2016-09-09 Thread Aaron Sierra
- Original Message - > From: "Martyn Welch" > To: "Aaron Sierra" > Cc: "Manohar Vanga" , "Greg Kroah-Hartman" > , "devel" > , "Egor Uleyskiy"

Re: [PATCH 2/3] staging: vme_user: look up image once in ioctl

2016-09-09 Thread Aaron Sierra
- Original Message - > From: "Martyn Welch" > Sent: Thursday, September 8, 2016 2:24:11 PM > On Fri, Sep 02, 2016 at 04:16:55PM -0500, Aaron Sierra wrote: >> Assign a pointer to the image descriptor once at the beginning of >> the ioctl to help keep code concise. >>

Re: [PATCH 1/3] staging: vme_user: return retval in vme_user_ioctl

2016-09-09 Thread Aaron Sierra
- Original Message - > From: "Martyn Welch" > Subject: Re: [PATCH 1/3] staging: vme_user: return retval in vme_user_ioctl > On Fri, Sep 02, 2016 at 04:16:48PM -0500, Aaron Sierra wrote: >> Update each case to set retval and return that value at the end of the >>

Re: [PATCH] android: binder: Disable preemption while holding the global binder lock

2016-09-09 Thread Todd Kjos
On Fri, Sep 9, 2016 at 8:44 AM, Greg KH wrote: > On Fri, Sep 09, 2016 at 08:17:44AM -0700, Todd Kjos wrote: >> From: Todd Kjos >> >> In Android systems, the display pipeline relies on low >> latency binder transactions and is therefore sensitive to

Re: [PATCH] android: binder: Disable preemption while holding the global binder lock

2016-09-09 Thread kbuild test robot
Hi Todd, [auto build test WARNING on staging/staging-testing] [also build test WARNING on v4.8-rc5 next-20160909] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] [Suggest to use git(>=2.9.0) format-patch --base= (or --base=auto for convenie

[PATCH] staging: ks7010: fix two memory leaks on error return path

2016-09-09 Thread Colin King
From: Colin Ian King On the error case where there is an invalid MAC address there is memory leak on packet and pp on the error return. Free these first before returning to fix the leak. Signed-off-by: Colin Ian King ---

Re: [PATCH] android: binder: Disable preemption while holding the global binder lock

2016-09-09 Thread Greg KH
On Fri, Sep 09, 2016 at 08:17:44AM -0700, Todd Kjos wrote: > From: Todd Kjos > > In Android systems, the display pipeline relies on low > latency binder transactions and is therefore sensitive to > delays caused by contention for the global binder lock. > Jank is significantly

[PATCH] staging: dgnc: dgnc_sysfs *_ATTR() macros convert

2016-09-09 Thread Matias Mucciolo
Convert DRIVER_ATTR() macro with DRIVER_ATTR_RO/RW and DEVICE_ATTR() macro with DEVICE_ATTR_RO() Signed-off-by: Matias Mucciolo --- drivers/staging/dgnc/dgnc_sysfs.c | 183 +++--- 1 file changed, 90 insertions(+), 93 deletions(-) diff

[PATCH staging/rtl8712] staging: rtl8712: checkpatch cleanup: block comments using a trailing */

2016-09-09 Thread Raphaël Beamonte
Fix checkpatch.pl warning "Block comments use a trailing */ on a separate line" on multiple files of the driver by editing the affected comments. Signed-off-by: Raphaël Beamonte --- drivers/staging/rtl8712/rtl8712_led.c | 12 --

[PATCH] android: binder: Disable preemption while holding the global binder lock

2016-09-09 Thread Todd Kjos
From: Todd Kjos In Android systems, the display pipeline relies on low latency binder transactions and is therefore sensitive to delays caused by contention for the global binder lock. Jank is significantly reduced by disabling preemption while the global binder lock is held.

[PATCH] staging: lustre: lustre/ldlm: Fixed sparse warnings

2016-09-09 Thread Nayeemahmed Badebade
Added __acquires / __releases sparse locking annotations to lock_res_and_lock and unlock_res_and_lock functions in l_lock.c, to fix below sparse warnings: l_lock.c:47:22: warning: context imbalance in 'lock_res_and_lock' - wrong count at exit l_lock.c:62:6: warning: context imbalance in

[PATCH] staging: lustre: lustre: obdclass: Modify return statement

2016-09-09 Thread Anchal Jain
Modify the return statement. The Coccinelle semantic patch used to make this change is as follows: @@ expression e, ret; @@ -ret = +return e; -return ret; Delete the declaration of the return variable rc, as it is no longer used. Signed-off-by: Anchal Jain ---

[PATCH] rtlbt: Add RTL8822BE Bluetooth device

2016-09-09 Thread Larry Finger
The RTL8822BE is a new Realtek wifi and BT device. Support for the BT part is hereby added. As this device is similar to most of the other Realtek BT devices, the changes are minimal. The main difference is that the 8822BE needs a configuration file for enabling and disabling features. Thus code

[PATCH 7/9] staging: most: hdm-usb: initialize variables by declaration

2016-09-09 Thread Christian Gromm
From: Andrey Shvetsov This patch moves initialization of the variables to the declaration where possible. Signed-off-by: Andrey Shvetsov Signed-off-by: Christian Gromm --- drivers/staging/most/hdm-usb/hdm_usb.c |

[PATCH 6/9] staging: most: hdm-usb: unify variable names

2016-09-09 Thread Christian Gromm
This patch is needed to have the same variable name for the same quantity in the functions show_value() and store_value(). Signed-off-by: Christian Gromm --- drivers/staging/most/hdm-usb/hdm_usb.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff

[PATCH 8/9] staging: most: hdm-usb: remove reference to read function in write only macro

2016-09-09 Thread Christian Gromm
From: Andrey Shvetsov This patch replaces the reference to the function show_value() with NULL in the macro MOST_DCI_WO_ATTR used for the write only attributes. Signed-off-by: Andrey Shvetsov Signed-off-by: Christian Gromm

[PATCH 4/9] staging: most: hdm-usb: replace if-else branches with lookup table

2016-09-09 Thread Christian Gromm
This patch removes a series of if-else-if conditions with a lookup table. Signed-off-by: Christian Gromm --- drivers/staging/most/hdm-usb/hdm_usb.c | 93 +- 1 file changed, 47 insertions(+), 46 deletions(-) diff --git

[PATCH 9/9] staging: most: hdm-usb: remove repeated access to structure

2016-09-09 Thread Christian Gromm
This patch removes the repeated access to a struct member by assigning its value to a local variable once. Signed-off-by: Christian Gromm --- drivers/staging/most/hdm-usb/hdm_usb.c | 20 1 file changed, 12 insertions(+), 8 deletions(-) diff

[PATCH 3/9] staging: most: Documentation: update ABI description

2016-09-09 Thread Christian Gromm
This patch updates the ABI description file to reflect the latest changes of the interface. Signed-off-by: Christian Gromm --- .../most/Documentation/ABI/sysfs-class-most.txt| 134 + 1 file changed, 134 insertions(+) diff --git

[PATCH 5/9] staging: most: hdm-usb: unify returned errors

2016-09-09 Thread Christian Gromm
From: Andrey Shvetsov This patch is needed to return the same error codes for the same error cases in the functions show_value() and store_value(). Signed-off-by: Andrey Shvetsov Signed-off-by: Christian Gromm ---

[PATCH 0/9] staging: most: fix issues of hdm-usb

2016-09-09 Thread Christian Gromm
This patchset is needed to fix issues of hdm-usb module. Andrey Shvetsov (3): staging: most: hdm-usb: unify returned errors staging: most: hdm-usb: initialize variables by declaration staging: most: hdm-usb: remove reference to read function in write only macro Christian Gromm (6):

[PATCH 1/9] staging: most: hdm-usb: extend DCI access

2016-09-09 Thread Christian Gromm
This patch extends the direct communication interface ABI of the USB network interface controller. It is needed to provide applications arbitrary access to DCI registers and the ability to synchronize the internal endpoint logic of the controller. Signed-off-by: Christian Gromm

[PATCH 2/9] staging: most: hdm-usb: use defined error codes

2016-09-09 Thread Christian Gromm
This patch replaces return values with defined error codes to indicate an exception. Signed-off-by: Christian Gromm --- drivers/staging/most/hdm-usb/hdm_usb.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git

Re: [PATCH] staging: comedi: comedi_fops: coding style fixes

2016-09-09 Thread Ian Abbott
On 08/09/16 19:27, Matias Mucciolo wrote: - Fixed coding style in comedi_fops.c Symbolic to octal permission. Signed-off-by: Matias Mucciolo --- drivers/staging/comedi/comedi_fops.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git