[PATCH] Staging: ft1000-usb: use netdev_warn

2014-04-01 Thread Anders Darander
Fix coding style issue by replacing printk with netdev_warn. Signed-off-by: Anders Darander anders.daran...@gmail.com --- drivers/staging/ft1000/ft1000-usb/ft1000_proc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/ft1000/ft1000-usb/ft1000_proc.c

[PATCH] Staging: ft1000-usb: wrap macros in do while

2014-04-01 Thread Anders Darander
Fix coding style issue by wrapping the macro in a do {} while (0). Signed-off-by: Anders Darander anders.daran...@gmail.com --- drivers/staging/ft1000/ft1000-usb/ft1000_proc.c | 21 - 1 file changed, 12 insertions(+), 9 deletions(-) diff --git

Re: [PATCH 3/3] staging: vt6655: fix checkpatch bracing issues

2014-04-01 Thread Dan Carpenter
On Tue, Apr 01, 2014 at 09:52:13AM -0300, Guido Martínez wrote: @@ -624,13 +622,10 @@ device_receive_frame( // Data frame Handle - if (pDevice-bEnablePSMode) { - if (!IS_FC_MOREDATA((skb-data+4))) { + if (pDevice-bEnablePSMode) + if

Re: [PATCH 3/3] staging: vt6655: fix checkpatch bracing issues

2014-04-01 Thread Guido Martínez
On Tue, Apr 01, 2014 at 05:13:02PM +0300, Dan Carpenter wrote: On Tue, Apr 01, 2014 at 09:52:13AM -0300, Guido Martínez wrote: @@ -4285,14 +4252,9 @@ vMgrRxManagePacket( case WLAN_FSTYPE_BEACON: // Frame Clase = 0 - HEAD - //DBG_PRT(MSG_LEVEL_DEBUG,

Re: [PATCH 1/3] staging: vt6655: fix DBG_PRT and PRINT_K macros

2014-04-01 Thread Greg KH
On Tue, Apr 01, 2014 at 09:52:11AM -0300, Guido Martínez wrote: Parenthesize both macros so they will not break program logic if used within another 'if'. Also fix a usage of DBG_PRT with a missing semicolon. Signed-off-by: Guido Martínez gu...@vanguardiasur.com.ar ---

[PATCHv3 1/3] staging/wlan-ng: improve readability of usb_prism_tbl[]

2014-04-01 Thread Denis Pithon
Minor changes to nicely line up device entries. Signed-off-by: Denis Pithon denis.pit...@gmail.com --- drivers/staging/wlan-ng/prism2usb.c | 118 ++-- 1 file changed, 47 insertions(+), 71 deletions(-) diff --git a/drivers/staging/wlan-ng/prism2usb.c

[PATCHv3 3/3] staging/wlan-ng: fix small coding style issues

2014-04-01 Thread Denis Pithon
Delete some unneeded blank lines and add few ones to make checkpatch.pl happy. Signed-off-by: Denis Pithon denis.pit...@gmail.com --- drivers/staging/wlan-ng/prism2usb.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/staging/wlan-ng/prism2usb.c

[PATCH v4 0/3] Various cleanups in drivers/staging/serqt_usb2

2014-04-01 Thread Thomas Vegas
Various cleanups in drivers/staging/serqt_usb2. Thomas Vegas (3): staging: serqt_usb2: Remove useless variable staging: serqt_usb2: Add blank line after declaration staging: serqt_usb2: Clean up initializations of variables drivers/staging/serqt_usb2/serqt_usb2.c | 25

[PATCH v4 1/3] staging: serqt_usb2: Remove useless variable

2014-04-01 Thread Thomas Vegas
Use a more common kernel coding style. Signed-off-by: Thomas Vegas thomas...@safe-mail.net --- drivers/staging/serqt_usb2/serqt_usb2.c |5 + 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/drivers/staging/serqt_usb2/serqt_usb2.c b/drivers/staging/serqt_usb2/serqt_usb2.c

[PATCH v4 3/3] staging: serqt_usb2: Clean up initializations of variables

2014-04-01 Thread Thomas Vegas
Use a more common kernel coding style. Signed-off-by: Thomas Vegas thomas...@safe-mail.net --- drivers/staging/serqt_usb2/serqt_usb2.c | 14 -- 1 files changed, 4 insertions(+), 10 deletions(-) diff --git a/drivers/staging/serqt_usb2/serqt_usb2.c

[PATCH v4 2/3] staging: serqt_usb2: Add blank line after declaration

2014-04-01 Thread Thomas Vegas
Use a more common kernel coding style. Signed-off-by: Thomas Vegas thomas...@safe-mail.net --- drivers/staging/serqt_usb2/serqt_usb2.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/serqt_usb2/serqt_usb2.c b/drivers/staging/serqt_usb2/serqt_usb2.c

Re: [PATCH 1/3] staging: vt6655: fix DBG_PRT and PRINT_K macros

2014-04-01 Thread Guido Martínez
On Tue, Apr 01, 2014 at 09:33:00AM -0700, Greg KH wrote: On Tue, Apr 01, 2014 at 09:52:11AM -0300, Guido Martínez wrote: Parenthesize both macros so they will not break program logic if used within another 'if'. Also fix a usage of DBG_PRT with a missing semicolon. Signed-off-by: Guido

Re: [PATCH 1/3] staging: vt6655: fix DBG_PRT and PRINT_K macros

2014-04-01 Thread Greg KH
On Tue, Apr 01, 2014 at 01:56:02PM -0300, Guido Martínez wrote: On Tue, Apr 01, 2014 at 09:33:00AM -0700, Greg KH wrote: On Tue, Apr 01, 2014 at 09:52:11AM -0300, Guido Martínez wrote: Parenthesize both macros so they will not break program logic if used within another 'if'. Also fix a

Re: [PATCH v5 3/3] memstick: Add realtek USB memstick host driver

2014-04-01 Thread Andrew Morton
On Tue, 1 Apr 2014 11:20:32 +0800 Roger rogera...@realtek.com wrote: On 03/25/2014 06:44 PM, rogera...@realtek.com wrote: From: Roger Tseng rogera...@realtek.com Realtek USB memstick host driver provides memstick host support based on the Realtek USB card reader MFD driver.