Re: [PATCH v3] staging: wlan-ng: prism2mgmt.c Fix break not useful

2014-08-13 Thread Tobias Klauser
On 2014-08-13 at 21:11:19 +0200, Jeshwanth Kumar N K wrote: > On Wed, Aug 13, 2014 at 12:06 PM, Tobias Klauser > wrote: > > > On 2014-08-12 at 20:54:48 +0200, Jeshwanth Kumar N K < > > jeshkumar...@gmail.com> wrote: > > > removed goto label, and directly returning 0 not through goto. > > > > >

[PATCH] Staging: wlan-ng: Merge string literals on adjacent lines in prism2fw.c

2014-08-13 Thread Artemiy Volkov
This patch fixes the 'quoted string split across lines' checkpatch.pl warning in prism2fw.c. Signed-off-by: Artemiy Volkov --- drivers/staging/wlan-ng/prism2fw.c | 60 -- 1 file changed, 25 insertions(+), 35 deletions(-) diff --git a/drivers/staging/wlan-ng/p

RE: [PATCH] Input: serio: make HYPERV_KEYBOARD depend on SERIO_I8042=y

2014-08-13 Thread Dexuan Cui
> -Original Message- > From: Dmitry Torokhov > > How about this: > > in libps2.c let's add and export a function pointer > > i8042_lock_chip_if_port_owner: it is used to replace the current > > if (i8042_check_port_owner(ps2dev->serio)) > > i8042_lock_chip(); > > The functi

Re: [PATCH] mmc: rtsx: fix incorrect last byte in R2 response

2014-08-13 Thread Roger Tseng
On Wed, 2014-08-13 at 17:09 +0200, Ulf Hansson wrote: > On 11 August 2014 10:32, wrote: > > From: Roger Tseng > > > > Current code erroneously fill the last byte of R2 response with an undefined > > value. In addition, it is impossible to obtain the real values since the > > controller actually

RE: [PATCH] Hyperv: Trigger DHCP renew after host hibernation

2014-08-13 Thread Dexuan Cui
> -Original Message- > From: Dan Williams > > > e.g., on a bare metal host with Ubuntu 14.04, when I plug the RJ45 cable > > > out of the network card and then plug the cable back into the network card > > > quickly -- in ~3 seconds, networkd doesn't trigger DHCP renew request: in > > > /va

[PATCH 2/2] staging/nokia_h4p: remove unwanted returns

2014-08-13 Thread Son Le
Signed-off-by: Son Le --- drivers/staging/nokia_h4p/nokia_fw.c |2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/nokia_h4p/nokia_fw.c b/drivers/staging/nokia_h4p/nokia_fw.c index 14ba219..18953ae 100644 --- a/drivers/staging/nokia_h4p/nokia_fw.c +++ b/drivers/staging/nokia

[PATCH 1/2] staging/nokia_h4p: replace short sleep using msleep with usleep_range

2014-08-13 Thread Son Le
Signed-off-by: Son Le --- drivers/staging/nokia_h4p/nokia_core.c |2 +- drivers/staging/nokia_h4p/nokia_fw-csr.c |2 +- drivers/staging/nokia_h4p/nokia_uart.c |2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/nokia_h4p/nokia_core.c b/drivers/s

[PATCH 0/2] fix checkpatch warnings for staging/nokia_h4p

2014-08-13 Thread Son Le
Summary follows: Son Le (2): staging/nokia_h4p: replace short sleep using msleep with usleep_range staging/nokia_h4p: remove unwanted returns drivers/staging/nokia_h4p/nokia_core.c |2 +- drivers/staging/nokia_h4p/nokia_fw-csr.c |2 +- drivers/staging/nokia_h4p/nokia_fw.c |

Re: [PATCH] Staging: bmc: fix coding style warning

2014-08-13 Thread Greg KH
On Wed, Aug 13, 2014 at 08:53:59PM -0400, Ramesh Basukala wrote: > From: rbasukala This doesn't match up with your signed-off-by: line, or your name up there in the mail header. Please fix this up and resend. thanks, greg k-h ___ devel mailing list d

[PATCH] Staging: bmc: fix coding style warning

2014-08-13 Thread Ramesh Basukala
From: rbasukala This is a patch to the vendorspecificextn.c that fixes coding style warning message line over 80 characters found by checkpatch.pl script. I am submitting this patch as required by Eudyptula Challenge. Signed-off-by: Ramesh Basukala --- drivers/staging/bcm/vendorspecificextn.c

Re: [PATCH] Staging: bmc: fix coding style warning

2014-08-13 Thread Greg KH
On Wed, Aug 13, 2014 at 11:36:59AM -0400, rbasukala wrote: > This a a patch to the vendorspecificextn.c that fixes coding style warning > found by checkpatch.pl script. I am submitting this patch as required by > Eudyptula Challenge. That's a very long line for a changelog entry, please wrap the

Re: [PATCH v3] staging: wlan-ng: prism2mgmt.c Fix break not useful

2014-08-13 Thread Jeshwanth Kumar N K
On Thu, Aug 14, 2014 at 12:43 AM, Jeshwanth Kumar N K wrote: > On Wed, Aug 13, 2014 at 12:06 PM, Tobias Klauser wrote: >> On 2014-08-12 at 20:54:48 +0200, Jeshwanth Kumar N K >> wrote: >>> removed goto label, and directly returning 0 not through goto. >>> >>> Signed-off-by: Jeshwanth Kumar N K

Re: [PATCH v3] staging: wlan-ng: prism2mgmt.c Fix break not useful

2014-08-13 Thread Jeshwanth Kumar N K
On Wed, Aug 13, 2014 at 12:06 PM, Tobias Klauser wrote: > On 2014-08-12 at 20:54:48 +0200, Jeshwanth Kumar N K > wrote: >> removed goto label, and directly returning 0 not through goto. >> >> Signed-off-by: Jeshwanth Kumar N K >> --- >> drivers/staging/wlan-ng/prism2mgmt.c | 14 --

[PATCH] staging: lustre: lustre: ptlrpc: Fix pointer declaration

2014-08-13 Thread Hema Prathaban
This patch fixes the following checkpatch.pl issue in client.c: ERROR: "foo * bar" should be "foo *bar" Signed-off-by: Hema Prathaban --- drivers/staging/lustre/lustre/ptlrpc/client.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/lustre/lustre/ptlrpc/c

[PATCH 001/001] staging/rtl8188eu: add 0df6:0076 Sitecom Europe B.V.

2014-08-13 Thread Larry Finger
From: Holger Paradies The stick is not recognized. This dongle uses r8188eu but usb-id is missing. 3.16.0 Signed-off-by: Holger Paradies Signed-off-by: Larry Finger --- drivers/staging/rtl8188eu/os_dep/usb_intf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/rtl8188eu/os

[PATCH] staging: lustre: lustre: ptlrpc: Fix pointer declaration

2014-08-13 Thread Hema Prathaban
This patch fixes the following checkpatch.pl issue in client.c: ERROR: "foo * bar" should be "foo *bar" Signed-off-by: Hema Prathaban --- drivers/staging/lustre/lustre/ptlrpc/client.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/lustre/lustre/ptlrpc/c

[PATCH net-next, v2] hyperv: Increase the buffer length for netvsc_channel_cb()

2014-08-13 Thread Haiyang Zhang
When the buffer is too small for a packet from VMBus, a bigger buffer will be allocated in netvsc_channel_cb() and retry reading the packet from VMBus. Increasing this buffer size will reduce the retry overhead. Signed-off-by: Haiyang Zhang Reviewed-by: Dexuan Cui --- drivers/net/hyperv/hyperv_

Re: [PATCH] staging: android: fix a possible memory leak

2014-08-13 Thread Dan Carpenter
On Thu, Aug 14, 2014 at 02:02:48AM +0900, Seunghun Lee wrote: > Memory allocated by kstrdup should be freed. > > CC: Brian Swetland > Signed-off-by: Seunghun Lee Looks good. regards, dan carpenter ___ devel mailing list de...@linuxdriverproject.org

[PATCH] staging: android: fix a possible memory leak

2014-08-13 Thread Seunghun Lee
Memory allocated by kstrdup should be freed. CC: Brian Swetland Signed-off-by: Seunghun Lee --- drivers/staging/android/logger.c |5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/staging/android/logger.c b/drivers/staging/android/logger.c index 9b47e66..0bf0d24

Re: [PATCH] Input: serio: make HYPERV_KEYBOARD depend on SERIO_I8042=y

2014-08-13 Thread Dmitry Torokhov
On Wed, Aug 13, 2014 at 05:24:35AM +, Dexuan Cui wrote: > > -Original Message- > > From: Dmitry Torokhov > > Sent: Wednesday, August 13, 2014 1:55 AM > > > > > To decouple the dependency between the hyperv-keyboard and i8042 > > > > > modules, I suppose we probably have to re-implement

[PATCH] Staging: bmc: fix coding style warning

2014-08-13 Thread rbasukala
This a a patch to the vendorspecificextn.c that fixes coding style warning found by checkpatch.pl script. I am submitting this patch as required by Eudyptula Challenge. Signed-off-by: Ramesh Basukala --- drivers/staging/bcm/vendorspecificextn.c | 19 +++ 1 files changed, 11 i

Re: [PATCH] mmc: rtsx: fix incorrect last byte in R2 response

2014-08-13 Thread Ulf Hansson
On 11 August 2014 10:32, wrote: > From: Roger Tseng > > Current code erroneously fill the last byte of R2 response with an undefined > value. In addition, it is impossible to obtain the real values since the > controller actually 'offloads' the last byte(CRC7, end bit) while receiving R2 > respo

[PATCH v3 08/13]] staging: lustre: fix multi line strings

2014-08-13 Thread Srikrishan Malik
Fixes the following checkpatch warning: WARNING: quoted string split across lines Signed-off-by: Srikrishan Malik --- Changes in v3: Removed leading space from debug message. drivers/staging/lustre/lustre/mdc/mdc_locks.c | 9 +++ drivers/staging/lustre/lustre/mdc/mdc_reint.c | 3 +--

[PATCH V3 3/3] staging: android: ion: Remove redundant return of void function

2014-08-13 Thread Phong Tran
This patch fix checkpatch.pl warning Tested by compilation only. Signed-off-by: Phong Tran --- drivers/staging/android/ion/ion.c | 1 - drivers/staging/android/ion/ion_carveout_heap.c | 1 - drivers/staging/android/ion/ion_chunk_heap.c| 1 - drivers/staging/android/ion/ion_dumm

[PATCH V3 1/3] staging: android: ion: ion_dummy_driver.c Replace kzalloc() by kcalloc()

2014-08-13 Thread Phong Tran
This patch fix checkpatch.pl warning Tested by compilation only. Signed-off-by: Phong Tran --- drivers/staging/android/ion/ion_dummy_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/android/ion/ion_dummy_driver.c b/drivers/staging/android/ion/ion_dumm

[PATCH V3 2/3] staging: android: ion: ion.c Add a new blank line after decleration

2014-08-13 Thread Phong Tran
This patch fix checkpatch.pl warning Tested by compilation only. Signed-off-by: Phong Tran --- 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 2703609..cad76ae 100644 --- a/drivers/

Re: [PATCH] Hyperv: Trigger DHCP renew after host hibernation

2014-08-13 Thread Dan Williams
On Wed, 2014-08-13 at 15:15 +0200, Tom Gundersen wrote: > On Tue, Aug 12, 2014 at 10:29 AM, Dexuan Cui wrote: > >> From: Tom Gundersen > >> > Unluckily this logic doesn't work because the user-space daemons > >> > like ifplugd, usually don't renew the DHCP immediately as long as they > >> > receiv

Re: [PATCH] Hyperv: Trigger DHCP renew after host hibernation

2014-08-13 Thread Tom Gundersen
On Tue, Aug 12, 2014 at 10:29 AM, Dexuan Cui wrote: >> From: Tom Gundersen >> > Unluckily this logic doesn't work because the user-space daemons >> > like ifplugd, usually don't renew the DHCP immediately as long as they >> > receive a link-down message: they usually wait for some seconds and if >

Re: [Patch V2 1/3] staging: android: ion: ion_dummy_driver.c Fix coding style

2014-08-13 Thread Dan Carpenter
On Wed, Aug 13, 2014 at 08:09:38PM +0700, Phong Tran wrote: > This patch fix checkpatch.pl warning > - Replace kzalloc() by kcalloc() > Tested by compilation. > The patches look ok, but can you resend with better subject lines? kzalloc() -> kcalloc(). add blank. remove returns. Something like th

[Patch V2 3/3] staging: android: ion: Fix coding style

2014-08-13 Thread Phong Tran
This patch fix checkpatch.pl warning - Remove the return of void function Tested by compilation. Signed-off-by: Phong Tran --- drivers/staging/android/ion/ion.c | 1 - drivers/staging/android/ion/ion_carveout_heap.c | 1 - drivers/staging/android/ion/ion_chunk_heap.c| 1 - driv

[Patch V2 1/3] staging: android: ion: ion_dummy_driver.c Fix coding style

2014-08-13 Thread Phong Tran
This patch fix checkpatch.pl warning - Replace kzalloc() by kcalloc() Tested by compilation. Signed-off-by: Phong Tran --- drivers/staging/android/ion/ion_dummy_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/android/ion/ion_dummy_driver.c b/drivers/

[Patch V2 2/3] staging: android: ion: ion.c Fix coding style

2014-08-13 Thread Phong Tran
This patch fix checkpatch.pl warning - Add a new line after decleration Tested by compilation. Signed-off-by: Phong Tran --- 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 2703609.

Re: [PATCH 3/5] staging: android: ion: ion_system_heap.c Fix checkpatch warning

2014-08-13 Thread Dan Carpenter
Just fold all these "- return;" patches into one patch. regards, dan carpenter ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Re: [RFC PATCH] checkpatch: Warn on patch subjects with "checkpatch"

2014-08-13 Thread Dan Carpenter
The subject will just get changed to "Coding style". regards, dan carpenter ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Re: [PATCH v2 14/15] staging: comedi: 8255: handle memory mapped io

2014-08-13 Thread Ian Abbott
On 2014-08-12 19:41, H Hartley Sweeten wrote: The drivers that use this module with memory mapped io all have the ioremap'ed base address stored in the comedi_device 'mmio' member. Introduce a default (*io) function that does 8-bit memory mapped io. Modify subdev_8255_init() so that it takes a

Re: [PATCH v2 13/15] staging: comedi: 8255: remove incomplete async command support

2014-08-13 Thread Ian Abbott
On 2014-08-12 19:41, H Hartley Sweeten wrote: The async command support in this module is incomplete and nothing has ever used it. Just remove it. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/8255.c | 95 --

Re: [PATCH 1/7] staging: dgap: remove useless variable

2014-08-13 Thread Dan Carpenter
On Tue, Aug 12, 2014 at 09:28:13AM +0900, DaeSeok Youn wrote: > Hi, Dan > > 2014-08-11 19:56 GMT+09:00 Dan Carpenter : > > On Sat, Aug 09, 2014 at 02:36:44PM +0900, Daeseok Youn wrote: > >> dgap_major_serial_registered and dgap_major_transparent_print_registered > >> could be checked whether a boa

Re: [PATCH v2 8/8] staging: comedi: amplc_dio200: remove dio200_common_detach()

2014-08-13 Thread Ian Abbott
On 2014-08-12 19:17, H Hartley Sweeten wrote: This exported function just does a free_irq() to release the interrupt handler for the legacy and PCI dio200 drivers. The legacy driver also calls comedi_legacy_detach() which would also do the free_irq(). For that driver the just use comedi_legacy_d

Re: [PATCH] mmc: rtsx: fix incorrect last byte in R2 response

2014-08-13 Thread Dan Carpenter
On Tue, Aug 12, 2014 at 03:19:12PM +0800, Roger wrote: > I can remove the unused rsp_len in this function. But I'm afraid the > loop is still required. The destination cmd->resp is cpu-endian, but > the raw response from SD card in the buffer (pointed by ptr) is > big-endian. Oh, yes. Of course.