[PATCH] staging: sm750fb: coding style fixes

2015-07-13 Thread Vinay Simha BN
kernel coding style fixes for below messages from scripts/checkpatch.pl WARNING: line over 80 character WARNING: Possible unnecessary 'out of memory' message WARNING: unnecessary whitespace before a quoted newline WARNING: Avoid line continuations in quoted strings ERROR: "foo * bar" should be "fo

[PATCH] staging: sm750fb: ddk750_chip: use consistent spacing

2015-07-13 Thread Sunil Shahu
Remove all checkpatch error by using consistent spacing. Signed-off-by: Sunil Shahu --- drivers/staging/sm750fb/ddk750_chip.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/staging/sm750fb/ddk750_chip.c b/drivers/staging/sm750fb/ddk750_chip.c index f4

Re: [PATCH] Staging: fbtft: Add support for the Ultrachip UC1611 LCD controller

2015-07-13 Thread Sudip Mukherjee
On Tue, Jul 14, 2015 at 03:26:12AM +0200, Henri Chain wrote: > This is a driver chip for 240x160 4-bit greyscale LCDs. > It is capable of 4-wire (8 bit) or 3-wire (9 bit) SPI that have both been > tested. (It also has a 6800 or 8080-style parallel interface, but I have > not included support for it

Re: [PATCH 18/20] staging/lustre/libcfs: get rid of debugfs/lnet/debug_mb

2015-07-13 Thread Greg Kroah-Hartman
On Mon, Jul 13, 2015 at 10:51:00PM -0400, Oleg Drokin wrote: > > On Jul 13, 2015, at 10:46 PM, Greg Kroah-Hartman wrote: > > > On Mon, Jul 06, 2015 at 12:48:56PM -0400, gr...@linuxhacker.ru wrote: > >> From: Oleg Drokin > >> > >> It's just a fancy libcfs_debug_mb module parameter wrapper, > >>

[PATCH 3/4] staging/lustre/libcfs: remove unused portal_enter_debugger variable

2015-07-13 Thread green
From: Dmitry Eremin Remove portal_enter_debugger because it's not used any more. Signed-off-by: Dmitry Eremin --- drivers/staging/lustre/lustre/libcfs/debug.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/staging/lustre/lustre/libcfs/debug.c b/drivers/staging/lustre/lustre/lib

[PATCH 2/4] staging/lustre/libcfs: get rid of debugfs/lnet/console_{min, max}_delay_centisecs

2015-07-13 Thread green
From: Dmitry Eremin They are just fancy module parameters wrappers, so just the same functionality now would be accessible via /sys/module/libcfs/parameters/libcfs_console_{min,max}_delay Also install compatibility symlinks Signed-off-by: Dmitry Eremin Signed-off-by: Oleg Drokin --- drivers/

[PATCH 4/4] staging/lustre/libcfs: Fix kstrtouint return value check fix

2015-07-13 Thread green
From: Oleg Drokin Apparently kstrtouint could return not just -EINVAL, but also -ERANGE, so make sure we just check the return value for something negative. Noticed by Dan Carpenter Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/libcfs/debug.c | 2 +- 1 file changed, 1 insertio

[PATCH 0/4] Lustre: remaining bits of sysctl debugfs migration

2015-07-13 Thread green
From: Oleg Drokin Rediffed the last few patches as per Greg's instructions. Also Added a folow on fix for the uint_min_max param to properly take into account kstrtouint range of error return values. Please consider. Dmitry Eremin (2): staging/lustre/libcfs: get rid of debugfs/lnet/consol

[PATCH 1/4] staging/lustre/libcfs: get rid of debugfs/lnet/debug_mb

2015-07-13 Thread green
From: Oleg Drokin It's just a fancy libcfs_debug_mb module parameter wrapper, so just add debug buffer size check and resizing and the same functionality now would be accessible via /sys/module/libcfs/parameters/libcfs_debug_mb Also add a symlink for backwards compatibility. Signed-off-by: Oleg

Re: [PATCH 18/20] staging/lustre/libcfs: get rid of debugfs/lnet/debug_mb

2015-07-13 Thread Greg Kroah-Hartman
On Mon, Jul 13, 2015 at 10:45:36PM -0400, Oleg Drokin wrote: > > On Jul 13, 2015, at 10:43 PM, Greg Kroah-Hartman wrote: > > > On Wed, Jul 08, 2015 at 11:45:59AM +0300, Dan Carpenter wrote: > >> On Mon, Jul 06, 2015 at 12:48:56PM -0400, gr...@linuxhacker.ru wrote: > >>> +static int libcfs_param_d

Re: [PATCH 18/20] staging/lustre/libcfs: get rid of debugfs/lnet/debug_mb

2015-07-13 Thread Oleg Drokin
On Jul 13, 2015, at 10:49 PM, Greg Kroah-Hartman wrote: > On Mon, Jul 06, 2015 at 12:48:56PM -0400, gr...@linuxhacker.ru wrote: >> From: Oleg Drokin >> >> It's just a fancy libcfs_debug_mb module parameter wrapper, >> so just add debug buffer size check and resizing and the same >> functionalit

Re: [PATCH] staging: lustre: fix whitespace coding style issues in libcfs/module.c

2015-07-13 Thread Greg KH
On Mon, Jul 13, 2015 at 10:10:46PM +0200, Lukasz Janyst wrote: > This is a patch to the libcfs/module.c file fixing whitespace warnings > found by checkpatch.pl. This patch no longer applies to my tree due to other patches sent right before yours. Can you rebase it on the staging-testing branch o

Re: [PATCH 18/20] staging/lustre/libcfs: get rid of debugfs/lnet/debug_mb

2015-07-13 Thread Oleg Drokin
On Jul 13, 2015, at 10:46 PM, Greg Kroah-Hartman wrote: > On Mon, Jul 06, 2015 at 12:48:56PM -0400, gr...@linuxhacker.ru wrote: >> From: Oleg Drokin >> >> It's just a fancy libcfs_debug_mb module parameter wrapper, >> so just add debug buffer size check and resizing and the same >> functionalit

Re: [PATCH 18/20] staging/lustre/libcfs: get rid of debugfs/lnet/debug_mb

2015-07-13 Thread Greg Kroah-Hartman
On Mon, Jul 06, 2015 at 12:48:56PM -0400, gr...@linuxhacker.ru wrote: > From: Oleg Drokin > > It's just a fancy libcfs_debug_mb module parameter wrapper, > so just add debug buffer size check and resizing and the same > functionality now would be accessible via > /sys/module/libcfs/parameters/lib

Re: [PATCH 18/20] staging/lustre/libcfs: get rid of debugfs/lnet/debug_mb

2015-07-13 Thread Greg Kroah-Hartman
On Mon, Jul 06, 2015 at 12:48:56PM -0400, gr...@linuxhacker.ru wrote: > From: Oleg Drokin > > It's just a fancy libcfs_debug_mb module parameter wrapper, > so just add debug buffer size check and resizing and the same > functionality now would be accessible via > /sys/module/libcfs/parameters/lib

Re: [PATCH 18/20] staging/lustre/libcfs: get rid of debugfs/lnet/debug_mb

2015-07-13 Thread Oleg Drokin
On Jul 13, 2015, at 10:43 PM, Greg Kroah-Hartman wrote: > On Wed, Jul 08, 2015 at 11:45:59AM +0300, Dan Carpenter wrote: >> On Mon, Jul 06, 2015 at 12:48:56PM -0400, gr...@linuxhacker.ru wrote: >>> +static int libcfs_param_debug_mb_set(const char *val, >>> +const s

Re: [PATCH 18/20] staging/lustre/libcfs: get rid of debugfs/lnet/debug_mb

2015-07-13 Thread Greg Kroah-Hartman
On Wed, Jul 08, 2015 at 11:45:59AM +0300, Dan Carpenter wrote: > On Mon, Jul 06, 2015 at 12:48:56PM -0400, gr...@linuxhacker.ru wrote: > > +static int libcfs_param_debug_mb_set(const char *val, > > +const struct kernel_param *kp) > > +{ > > + int rc; > > + unsign

Re: [PATCH] staging: lustre: Deletion of unnecessary checks before three function calls

2015-07-13 Thread Greg Kroah-Hartman
On Fri, Jun 26, 2015 at 11:23:29PM +0200, SF Markus Elfring wrote: > From: Markus Elfring > Date: Fri, 26 Jun 2015 23:10:42 +0200 Sorry, I'm not taking any of your patches until you fix this all up. greg k-h ___ devel mailing list de...@linuxdriverproj

Re: [PATCH] staging: lustre: mgc: no need to compare bool value

2015-07-13 Thread Greg Kroah-Hartman
On Tue, Jun 23, 2015 at 04:26:11PM +0200, Luis de Bethencourt wrote: > Inverting the value of eof is a more direct way of passing to the debugging > function if eof is false or not. Really? I like the explicit-ness of the code as it is today, it's more obvious what is going on, which is the most

Re: [PATCH 1/2] staging: wilc1000: fix uninitialized variablie warning

2015-07-13 Thread Julian Calaby
Hi Chaehyun, On Tue, Jul 14, 2015 at 11:48 AM, Chaehyun Lim wrote: > When building this driver, I got a warning as below: > > host_interface.c: In function ‘host_int_add_beacon’: > host_interface.c:7116:16: warning: ‘*((void *)&strHostIFmsg+8).pu8Head’ may > be used > uninitialized in this funct

[PATCH 2/2] staging: wilc1000: fix memory allocation error check

2015-07-13 Thread Chaehyun Lim
Remove WILC_ERRORREPORT macro. If memory allocation is failed, jump to a label to return this function with WILC_NO_MEM. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/host_interface.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/staging/wilc1000/h

[PATCH 1/2] staging: wilc1000: fix uninitialized variablie warning

2015-07-13 Thread Chaehyun Lim
When building this driver, I got a warning as below: host_interface.c: In function ‘host_int_add_beacon’: host_interface.c:7116:16: warning: ‘*((void *)&strHostIFmsg+8).pu8Head’ may be used uninitialized in this function [-Wmaybe-uninitialized] Signed-off-by: Chaehyun Lim --- drivers/staging/w

Re: [PATCH] Staging: android: ion: Fix Style Issue

2015-07-13 Thread Craig Inches
On Mon, Jul 13, 2015 at 04:42:22AM -0700, Joe Perches wrote: > On Mon, 2015-07-13 at 17:29 +, Craig wrote: > > Modified style issue in ion.c. Missing empty line after a definition > > > > Signed-off-by: Craig > > --- > > drivers/staging/android/ion/ion.c | 1 + > > 1 file changed, 1 insertio

[PATCH] Staging: fbtft: Add support for the Ultrachip UC1611 LCD controller

2015-07-13 Thread Henri Chain
This is a driver chip for 240x160 4-bit greyscale LCDs. It is capable of 4-wire (8 bit) or 3-wire (9 bit) SPI that have both been tested. (It also has a 6800 or 8080-style parallel interface, but I have not included support for it.) Signed-off-by: Henri Chain --- drivers/staging/fbtft/Kconfig

[PATCH v3] staging: lustre: libcfs: move assignment out of conditional

2015-07-13 Thread Perry Hooker
Found by checkpatch.pl Signed-off-by: Perry Hooker --- .../staging/lustre/include/linux/libcfs/libcfs_fail.h | 18 ++ 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/drivers/staging/lustre/include/linux/libcfs/libcfs_fail.h b/drivers/staging/lustre/include/linux/

Re: [PATCH] staging/xgifb: Move register helper functions to header

2015-07-13 Thread Peter Hüwe
Am Dienstag, 14. Juli 2015, 00:47:42 schrieb Greg KH: > On Tue, Jul 14, 2015 at 12:44:09AM +0200, Peter Huewe wrote: > > and mark them as static inline. > > This shrinks the compiled module from 137442 to 117732 bytes and we also > > get rid of vb_util.c > > How is making these inline making the c

Re: [PATCH] staging/xgifb: Move register helper functions to header

2015-07-13 Thread Greg KH
On Tue, Jul 14, 2015 at 12:44:09AM +0200, Peter Huewe wrote: > and mark them as static inline. > This shrinks the compiled module from 137442 to 117732 bytes and we also > get rid of vb_util.c How is making these inline making the code go down in size? Usually it's the opposite way around. This

[PATCH] staging/xgifb: Move register helper functions to header

2015-07-13 Thread Peter Huewe
and mark them as static inline. This shrinks the compiled module from 137442 to 117732 bytes and we also get rid of vb_util.c Signed-off-by: Peter Huewe --- drivers/staging/xgifb/Makefile | 2 +- drivers/staging/xgifb/vb_util.c | 42 --- drivers/staging/xgif

[PATCH] staging: lustre: fix whitespace coding style issues in libcfs/module.c

2015-07-13 Thread Lukasz Janyst
This is a patch to the libcfs/module.c file fixing whitespace warnings found by checkpatch.pl. Signed-off-by: Lukasz Janyst --- drivers/staging/lustre/lustre/libcfs/module.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/lustre/lustre/libcfs/modu

[PATCH 2/2] staging: unisys: Reduce indent

2015-07-13 Thread Christophe JAILLET
Remove some extra tabs in order to improve readalibility. Signed-off-by: Christophe JAILLET --- drivers/staging/unisys/visorbus/visorbus_main.c | 49 - 1 file changed, 24 insertions(+), 25 deletions(-) diff --git a/drivers/staging/unisys/visorbus/visorbus_main.c b/drive

[PATCH 1/2] staging: unisys: Use kzalloc instead of kmalloc/memset

2015-07-13 Thread Christophe JAILLET
This patch turns a kmalloc/memset into an equivalent kzalloc. Signed-off-by: Christophe JAILLET --- drivers/staging/unisys/visorbus/visorbus_main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/unisys/visorbus/visorbus_main.c b/drivers/staging/unisys/viso

[PATCH 0/2] staging: unisys: visorbus - fix misc. faults

2015-07-13 Thread Benjamin Romer
This patchset fixes pointer arithmetic and null-termination problems in the visorbus driver. Tim Sell (2): staging: unisys: correctly NULL-terminate visorbus sysfs attribute array staging: unisys: fix random memory corruption in visorchannel_write() drivers/staging/unisys/visorbus/visorb

[PATCH 1/2] staging: unisys: correctly NULL-terminate visorbus sysfs attribute array

2015-07-13 Thread Benjamin Romer
From: Tim Sell I'm not sure what adverse runtime effects the previously-omitted NULL-termination would cause, but the code was definitely wrong. Fixes: 795731627c ('staging: unisys: Clean up device sysfs attributes') Signed-off-by: Tim Sell Acked-by: Don Zickus Signed-off-by: Benjamin Romer -

[PATCH 2/2] staging: unisys: fix random memory corruption in visorchannel_write()

2015-07-13 Thread Benjamin Romer
From: Tim Sell visorchannel_write() and it's user visorbus_write_channel() are exported, so all visorbus function drivers (i.e., drivers that call visorbus_register_visor_driver()) are potentially affected by the bug. Because of pointer-arithmetic rules, the address being written to in the affec

[PATCH net-next] hv_netvsc: Add close of RNDIS filter into change mtu call

2015-07-13 Thread Haiyang Zhang
The current change mtu call only stops tx before removing RNDIS filter. In case ringbufer is not empty, the rndis_filter_device_remove() may hang on removing the buffers. This patch adds close of RNDIS filter before removing it, also a gradual waiting loop until the ring is empty. The change_mtu h

[PATCH] staging: unisys: Add s-Par visorhba

2015-07-13 Thread Benjamin Romer
From: David Kershner This driver create a host bus adapter device when s-Par sends a device create message to create a storage adapter on the visorbus. When the message is received by visorbus, the visorhba_probe function is called and the hba device is created and managed by the visorhba driver.

Re: [PATCH v6 0/3] Drivers: hv: vmbus: use cpu_hotplug_enable/disable for CPU offlining prevention

2015-07-13 Thread Vitaly Kuznetsov
Vitaly Kuznetsov writes: > Changes since v5: > - Split PATCH 1 into two (PATCH 1/3 and 3/3), rewrite changelogs. [Thomas > Gleixner] Sorry for the ping but Greg won't probably take this into his tree without some feedback on patches 1 and 3 from core kernel people. Could you please take a look

Re: [PATCH] Drivers: hv: vmbus: prevent new subchannel creation on device shutdown

2015-07-13 Thread Vitaly Kuznetsov
KY Srinivasan writes: >> -Original Message- >> From: Vitaly Kuznetsov [mailto:vkuzn...@redhat.com] >> Sent: Monday, July 13, 2015 5:19 AM >> To: de...@linuxdriverproject.org >> Cc: KY Srinivasan; Haiyang Zhang; Dexuan Cui; linux-ker...@vger.kernel.org >> Subject: [PATCH] Drivers: hv: vmbu

Re: Investment Proposition

2015-07-13 Thread Mr. Liu Yuezhen
Mr. Liu Yuezhen Chief Financial Officer - CNPC 9 Dongzhimen North Street, Dongcheng District, Beijing, P.R.China | Postcode: 17 Letter of Intent: Dear Esteemed Colleague, I hope this email find you in good health. In view of my correspondence with you, I unassumingly solicit for your utmost

RE: [PATCH] Drivers: hv: vmbus: prevent new subchannel creation on device shutdown

2015-07-13 Thread KY Srinivasan
> -Original Message- > From: Vitaly Kuznetsov [mailto:vkuzn...@redhat.com] > Sent: Monday, July 13, 2015 5:19 AM > To: de...@linuxdriverproject.org > Cc: KY Srinivasan; Haiyang Zhang; Dexuan Cui; linux-ker...@vger.kernel.org > Subject: [PATCH] Drivers: hv: vmbus: prevent new subchannel cr

Re: [HPDD-discuss] [PATCH] staging: lustre: libcfs: move assignment out of conditional

2015-07-13 Thread Patrick Farrell
Actually, commit message looks malformatted. Signed-off-by line is not the last line. Not sure if that's a problem for Greg or not. On 07/13/2015 07:50 AM, Patrick Farrell wrote: Looks good, thanks! From: HPDD-discuss [hpdd-discuss-boun...@lists.01.org

Re: [PATCH] Staging: android: ion: Fix Style Issue

2015-07-13 Thread Joe Perches
On Mon, 2015-07-13 at 17:29 +, Craig wrote: > Modified style issue in ion.c. Missing empty line after a definition > > Signed-off-by: Craig > --- > drivers/staging/android/ion/ion.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/staging/android/ion/ion.c > b/drivers/stagi

Re: [PATCH] staging: android: ion: reorder variable definitions

2015-07-13 Thread Dan Carpenter
On Mon, Jul 13, 2015 at 03:50:30PM +0300, Dmitry Kalinkin wrote: > Prevents false positive "missing empty line after a definition" > checkpatch warning. > > Signed-off-by: Dmitry Kalinkin > --- Clap clap clap. :) regards, dan carpenter ___ devel mai

Re: [PATCH] Const-qualify, WARNING, out-of memory usage fixes

2015-07-13 Thread Sudip Mukherjee
On Mon, Jul 13, 2015 at 03:24:28PM +0300, Dan Carpenter wrote: > Subject is bad. I guess I missed this patch because of the subject. Vinay - the subject should be "staging: sm750fb: xyz ". You place your subject in place of xyz. regards sudip ___ devel

RE: [HPDD-discuss] [PATCH] staging: lustre: libcfs: move assignment out of conditional

2015-07-13 Thread Patrick Farrell
Looks good, thanks! From: HPDD-discuss [hpdd-discuss-boun...@lists.01.org] on behalf of Perry Hooker [perry.hoo...@gmail.com] Sent: Sunday, July 12, 2015 9:22 PM To: oleg.dro...@intel.com; andreas.dil...@intel.com; gre...@linuxfoundation.org; de...@driverd

[PATCH] staging: android: ion: reorder variable definitions

2015-07-13 Thread Dmitry Kalinkin
Prevents false positive "missing empty line after a definition" checkpatch warning. Signed-off-by: Dmitry Kalinkin --- drivers/staging/android/ion/ion.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/android/ion/ion.c b/drivers/staging/android/ion/ion.c inde

Re: [PATCH] Staging: android: ion: Fix Style Issue

2015-07-13 Thread Dan Carpenter
Nope. It is a false postive. Also use your full/legal name. regards, dan carpenter ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Re: [PATCH] Const-qualify, WARNING, out-of memory usage fixes

2015-07-13 Thread Dan Carpenter
Subject is bad. No patch description. Mixing too many types of cleanups. The const thing seems like it will break things (buggy). regards, dan carpenter ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/

[PATCH] Drivers: hv: vmbus: prevent new subchannel creation on device shutdown

2015-07-13 Thread Vitaly Kuznetsov
When a new subchannel offer from host comes during device shutdown (e.g. when a netvsc/storvsc module is unloadedshortly after it was loaded) a crash can happen as vmbus_process_offer() is not anyhow serialized with vmbus_remove(). As an example we can try calling subchannel create callback when th

Re: [PATCH 05/22] staging: rtl8192e: Remove unused fields from rtllib_stats

2015-07-13 Thread Dan Carpenter
On Sun, Jul 12, 2015 at 10:29:15PM +0200, Mateusz Kulikowski wrote: > diff --git a/drivers/staging/rtl8192e/rtllib.h > b/drivers/staging/rtl8192e/rtllib.h > index 8ba92ed..dc0653a 100644 > --- a/drivers/staging/rtl8192e/rtllib.h > +++ b/drivers/staging/rtl8192e/rtllib.h > @@ -691,27 +691,8 @@ stru

[PATCH] Staging: android: ion: Fix Style Issue

2015-07-13 Thread Craig
Modified style issue in ion.c. Missing empty line after a definition Signed-off-by: Craig --- drivers/staging/android/ion/ion.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/android/ion/ion.c b/drivers/staging/android/ion/ion.c index 6f48112..e44f5e6 100644 --- a/drivers/s

[PATCH v3 3/5] usb: isp1760: udc: add missing usb_ep_set_maxpacket_limit()

2015-07-13 Thread Robert Baldyga
Since maxpacket_limit was introduced all UDC drivers should use usb_ep_set_maxpacket_limit() function instead of setting maxpacket value manually. ep.maxpacket_limit contains actual maximum maxpacket value supported by hardware which is needed by epautoconf. Signed-off-by: Robert Baldyga Acked-by

[PATCH v3 5/5] usb: gadget: atmel_usba_udc: add missing ret value check

2015-07-13 Thread Robert Baldyga
Add missing return value check. In case of error print debug message and return error code. Signed-off-by: Robert Baldyga Acked-by: Nicolas Ferre Acked-by: Michal Nazarewicz --- drivers/usb/gadget/udc/atmel_usba_udc.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/usb/gadget/u

[PATCH v3 4/5] staging: emxx_udc: add missing usb_ep_set_maxpacket_limit()

2015-07-13 Thread Robert Baldyga
Since maxpacket_limit was introduced all UDC drivers should use usb_ep_set_maxpacket_limit() function instead of setting maxpacket value manually. ep.maxpacket_limit contains actual maximum maxpacket value supported by hardware which is needed by epautoconf. Signed-off-by: Robert Baldyga Acked-by

[PATCH v3 1/5] usb: gadget: ffs: call functionfs_unbind() if _ffs_func_bind() fails

2015-07-13 Thread Robert Baldyga
Function ffs_do_functionfs_bind() calls functionfs_bind() which allocates usb request and increments refcounts. These things needs to be cleaned up by if further steps of initialization fail by calling functionfs_unbind(). Signed-off-by: Robert Baldyga Acked-by: Michal Nazarewicz --- drivers/us

[PATCH v3 2/5] usb: gadget: midi: avoid redundant f_midi_set_alt() call

2015-07-13 Thread Robert Baldyga
Function midi registers two interfaces with single set_alt() function which means that f_midi_set_alt() is called twice when configuration is set. That means that endpoint initialization and ep request allocation is done two times. To avoid this problem we do such things only once, for interface nu

[PATCH v3 0/5] usb: gadget: miscellaneous fixes

2015-07-13 Thread Robert Baldyga
Hello, This patch set contains few small bugfixes found in usb gadget functions and UDC drivers. The most important is the [1] as it fixes bug causing BUG_ON() in f_fs driver. Remaining patches contain minor fixes. [1] usb: gadget: ffs: call functionfs_unbind() if _ffs_func_bind() fails Best reg

Re: [PATCH] staging: lustre: libcfs: move assignment out of conditional

2015-07-13 Thread Sudip Mukherjee
On Sun, Jul 12, 2015 at 08:22:56PM -0600, Perry Hooker wrote: > Found by checkpatch.pl > > Signed-off-by: Perry Hooker > > Please enter the commit message for your changes. Lines starting This line should not be here. And please give the version numbers in your patch. Like this one should have

Re: [PATCH] staging: lustre: libcfs: move assignment out of if condition

2015-07-13 Thread Sudip Mukherjee
On Sun, Jul 12, 2015 at 03:27:50PM -0600, Perry Hooker wrote: > Found by checkpatch.pl > > Signed-off-by: Perry Hooker > --- > drivers/staging/lustre/include/linux/libcfs/libcfs_fail.h | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > diff --git a/drivers/staging/lustre/include/l

Re: [PATCH 21/22] staging: rtl8192e: Make rtllib_rx_mgt() static

2015-07-13 Thread Sudip Mukherjee
On Sun, Jul 12, 2015 at 10:29:31PM +0200, Mateusz Kulikowski wrote: > Function is not referenced outside of rtllib_rx.c > > Signed-off-by: Mateusz Kulikowski > --- > drivers/staging/rtl8192e/rtllib.h| 3 --- > drivers/staging/rtl8192e/rtllib_rx.c | 10 +++--- > 2 files changed, 7 insert