[PATCH v7 3/4] mmc: Add realtek USB sdmmc host driver

2014-04-10 Thread rogerable
From: Roger Tseng Realtek USB SD/MMC host driver provides mmc host support based on the Realtek USB card reader MFD driver. Signed-off-by: Roger Tseng Acked-by: Ulf Hansson --- drivers/mmc/host/Kconfig |7 + drivers/mmc/host/Makefile |1 + drivers/mmc/host/rtsx_usb_sd

[PATCH v7 0/4] Add modules for realtek USB card reader

2014-04-10 Thread rogerable
From: Roger Tseng This patchset adds modules to support Realtek USB vendor specific class flash card reader: one base module in MFD subsystem and two host modules in both mmc and memstick subsystems. The architecture is similar to rtsx_pci. This work is done primarily to replace the staging driv

[PATCH v7 4/4] memstick: Add realtek USB memstick host driver

2014-04-10 Thread rogerable
From: Roger Tseng Realtek USB memstick host driver provides memstick host support based on the Realtek USB card reader MFD driver. Signed-off-by: Roger Tseng --- drivers/memstick/host/Kconfig | 10 + drivers/memstick/host/Makefile | 1 + drivers/memstick/host/rtsx_usb_ms.c | 839

[PATCH v7 1/4] [v6 fix] mfd/rtsx_usb: fix possible race condition

2014-04-10 Thread rogerable
From: Roger Tseng Fix two possible race condition generated by misuse of del_timer in rtsx_usb_bulk_transfer_sglist() and uninitialized timers before mfd_add_devices in rtsx_usb_probe(). Signed-off-by: Roger Tseng --- drivers/mfd/rtsx_usb.c | 8 1 file changed, 4 insertions(+), 4 dele

[PATCH v7 2/4] [v6 fix] mfd/rtsx_usb: add comment in rtsx_usb_suspend

2014-04-10 Thread rogerable
From: Roger Tseng Explain why there is no need to have a symmetric LED turn-on in resume handler while calling rtsx_usb_turn_off_led() in suspend handler. Signed-off-by: Roger Tseng --- drivers/mfd/rtsx_usb.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/mfd/rtsx_usb.c b/dr

Re: [PATCH] Staging:bcm: Fixes coding style issues in drivers/staging/bcm/Qos.c

2014-04-10 Thread Marcos A. Di Pietro
On 04/10/2014 07:27 PM, Greg KH wrote: > On Thu, Apr 10, 2014 at 06:56:01PM -0400, Marcos A. Di Pietro wrote: >> On 04/10/2014 04:55 PM, Greg KH wrote: >>> On Thu, Apr 10, 2014 at 04:22:13PM -0400, Marcos A. Di Pietro wrote: On 04/10/2014 04:14 PM, Greg KH wrote: > On Tue, Mar 25, 2014 at

Re: [PATCH] Staging:bcm: Fixes coding style issues in drivers/staging/bcm/Qos.c

2014-04-10 Thread Marcos A. Di Pietro
On 04/10/2014 07:56 PM, Greg KH wrote: > On Thu, Apr 10, 2014 at 07:27:27PM -0400, Marcos A. Di Pietro wrote: >>> That's pretty obviously not going to apply properly, you have line-wrapp >>> on. You can't cut-and-paste patches into gmail, see >>> Documentation/email_clients.txt for details. >>> >>

Re: [PATCH] staging: unisys: fix UUID use in s-Par drivers

2014-04-10 Thread Greg Kroah-Hartman
On Fri, Mar 21, 2014 at 11:38:26AM -0500, Romer, Benjamin M wrote: > This patch removes the GUID type from the s-Par modules and replaces it > with the standard uuid_le type. > > guidutils.h was removed entirely, and references to it were replaced > with linux/uuid.h. In some cases, includes were

Re: [PATCH] Staging:bcm: Fixes coding style issues in drivers/staging/bcm/Qos.c

2014-04-10 Thread Greg KH
On Thu, Apr 10, 2014 at 07:27:27PM -0400, Marcos A. Di Pietro wrote: > > That's pretty obviously not going to apply properly, you have line-wrapp > > on. You can't cut-and-paste patches into gmail, see > > Documentation/email_clients.txt for details. > > > > thanks, > > > > greg k-h > > > I'm s

Re: [PATCH] Staging:bcm: Fixes coding style issues in drivers/staging/bcm/Qos.c

2014-04-10 Thread Marcos A. Di Pietro
On 04/10/2014 07:27 PM, Greg KH wrote: > On Thu, Apr 10, 2014 at 06:56:01PM -0400, Marcos A. Di Pietro wrote: >> On 04/10/2014 04:55 PM, Greg KH wrote: >>> On Thu, Apr 10, 2014 at 04:22:13PM -0400, Marcos A. Di Pietro wrote: On 04/10/2014 04:14 PM, Greg KH wrote: > On Tue, Mar 25, 2014 at

Re: [PATCH] Staging:bcm: Fixes coding style issues in drivers/staging/bcm/Qos.c

2014-04-10 Thread Greg KH
On Thu, Apr 10, 2014 at 06:56:01PM -0400, Marcos A. Di Pietro wrote: > On 04/10/2014 04:55 PM, Greg KH wrote: > > On Thu, Apr 10, 2014 at 04:22:13PM -0400, Marcos A. Di Pietro wrote: > >> On 04/10/2014 04:14 PM, Greg KH wrote: > >>> On Tue, Mar 25, 2014 at 01:55:47PM -0400, Marcos A. Di Pietro wrot

Re: [PATCH] Staging:bcm: Fixes coding style issues in drivers/staging/bcm/Qos.c

2014-04-10 Thread Marcos A. Di Pietro
On 04/10/2014 04:55 PM, Greg KH wrote: > On Thu, Apr 10, 2014 at 04:22:13PM -0400, Marcos A. Di Pietro wrote: >> On 04/10/2014 04:14 PM, Greg KH wrote: >>> On Tue, Mar 25, 2014 at 01:55:47PM -0400, Marcos A. Di Pietro wrote: Fixes code style errors in drivers/staging/bcm/Qos.c Patch

Re: [PATCH] Staging:bcm: Fixes coding style issues in drivers/staging/bcm/Qos.c

2014-04-10 Thread Greg KH
On Thu, Apr 10, 2014 at 04:22:13PM -0400, Marcos A. Di Pietro wrote: > On 04/10/2014 04:14 PM, Greg KH wrote: > > On Tue, Mar 25, 2014 at 01:55:47PM -0400, Marcos A. Di Pietro wrote: > >> Fixes code style errors in drivers/staging/bcm/Qos.c > >> > >> Patch submitted as part of the Eudyptula Challen

Re: [PATCH] staging: unisys: fix copyright notices

2014-04-10 Thread Greg Kroah-Hartman
On Thu, Apr 10, 2014 at 10:08:52AM -0500, Romer, Benjamin M wrote: > This patch replaces the inconsistent copyright symbols in each source > file with (C). > > Signed-off-by: Benjamin Romer > --- This patch is in base64, which ok, I can handle, as git can deal with that. But then it totally fai

Re: [PATCH] Staging:bcm: Fixes coding style issues in drivers/staging/bcm/Qos.c

2014-04-10 Thread Marcos A. Di Pietro
On 04/10/2014 04:14 PM, Greg KH wrote: > On Tue, Mar 25, 2014 at 01:55:47PM -0400, Marcos A. Di Pietro wrote: >> Fixes code style errors in drivers/staging/bcm/Qos.c >> >> Patch submitted as part of the Eudyptula Challenge. >> >> Signed-off-by: Marcos A. Di Pietro >> --- >> drivers/staging/bcm/Qo

Re: [WIP] [PATCH v2 0/3] remove wrong cast of gfp_t flags

2014-04-10 Thread Greg KH
On Sat, Apr 05, 2014 at 12:32:07AM +0200, Silvio Fricke wrote: > Hi Dan, > > thanks for your review. > Attached second version of this series. I don't understand what the [WIP] marking is. Please just resend these as "real" patches if you feel they are ready to be merged. If we have issues with

Re: [PATCH] Staging:bcm: Fixes coding style issues in drivers/staging/bcm/Qos.c

2014-04-10 Thread Greg KH
On Tue, Mar 25, 2014 at 01:55:47PM -0400, Marcos A. Di Pietro wrote: > Fixes code style errors in drivers/staging/bcm/Qos.c > > Patch submitted as part of the Eudyptula Challenge. > > Signed-off-by: Marcos A. Di Pietro > --- > drivers/staging/bcm/Qos.c | 13 - > 1 file changed, 8 in

Re: [PATCH v4 1/1] staging: comedi: Fix checkpatch warning

2014-04-10 Thread Greg Kroah-Hartman
On Fri, Apr 04, 2014 at 11:10:51PM +0200, Camille Begue wrote: > Wrap lines > 80 columns. > > Signed-off-by: Camille Begue Unfortunatly someone sent this same patch a few days before you, so I had to accept that one, not this one, sorry. Feel free to send other cleanup patches, we need all the

[PATCH] staging: comedi: fix circular locking dependency in comedi_mmap()

2014-04-10 Thread Ian Abbott
Mmapping a comedi data buffer with lockdep checking enabled produced the following kernel debug messages: == [ INFO: possible circular locking dependency detected ] 3.5.0-rc3-ija1+ #9 Tainted: G C -

Re: [PATCH] staging: r8723au: Add missing initialization of change_inx in sort algorithm

2014-04-10 Thread Geert Uytterhoeven
Hi Larry, On Thu, Apr 10, 2014 at 8:01 PM, Larry Finger wrote: > On 04/10/2014 12:46 PM, Geert Uytterhoeven wrote: >> >> drivers/staging/rtl8723au/core/rtw_wlan_util.c: In function >> ‘WMMOnAssocRsp23a’: >> drivers/staging/rtl8723au/core/rtw_wlan_util.c:684: warning: ‘change_inx’ >> may be used u

Re: [PATCH] staging: r8723au: Add missing initialization of change_inx in sort algorithm

2014-04-10 Thread Larry Finger
On 04/10/2014 12:46 PM, Geert Uytterhoeven wrote: drivers/staging/rtl8723au/core/rtw_wlan_util.c: In function ‘WMMOnAssocRsp23a’: drivers/staging/rtl8723au/core/rtw_wlan_util.c:684: warning: ‘change_inx’ may be used uninitialized in this function Depending on the uninitialized data on the stack

[PATCH] staging: r8723au: Add missing initialization of change_inx in sort algorithm

2014-04-10 Thread Geert Uytterhoeven
drivers/staging/rtl8723au/core/rtw_wlan_util.c: In function ‘WMMOnAssocRsp23a’: drivers/staging/rtl8723au/core/rtw_wlan_util.c:684: warning: ‘change_inx’ may be used uninitialized in this function Depending on the uninitialized data on the stack, the array may not be sorted correctly. Signed-off

Re: system hang

2014-04-10 Thread g...@kroah.com
On Thu, Apr 10, 2014 at 07:59:38AM +, Narasimharao Bolisetti wrote: > > Hi, > > I have checked the same in the recent kernel versions also. Issue is still > remain. What versions have you tried, and what are the logs from those versions? > ::DISCLAIMER:: > -

Re: staging/rtl8187se should be removed

2014-04-10 Thread Greg KH
On Thu, Apr 10, 2014 at 06:21:36PM +0300, Dan Carpenter wrote: > The thing about keeping e100 in parallel with the other driver is that > some devices didn't work on the other driver and also it wasn't staging > code. > > I don't have strong opinions either way, but if we decide to keep the > old

Re: staging/rtl8187se should be removed

2014-04-10 Thread Dan Carpenter
The thing about keeping e100 in parallel with the other driver is that some devices didn't work on the other driver and also it wasn't staging code. I don't have strong opinions either way, but if we decide to keep the old driver around for another kernel release "just in case" then we should make

[PATCH] staging: unisys: fix copyright notices

2014-04-10 Thread Romer, Benjamin M
This patch replaces the inconsistent copyright symbols in each source file with (C). Signed-off-by: Benjamin Romer --- drivers/staging/unisys/channels/channel.c | 2 +- drivers/staging/unisys/channels/chanstub.c | 2 +- drivers/staging/u

Re: [PATCH] unisys: staging: Check for s-Par firmware before initializing s-Par modules

2014-04-10 Thread Romer, Benjamin M
On Wed, 2014-04-09 at 12:25 -0700, Greg Kroah-Hartman wrote: > Patches need to do only one thing, so can you please split this up in to > multiple patches, each one only doing one thing. Sorry about that! I'll send another patch that fixes all of the copyright statements at once then. :) > You fo

Re: [report] staging: r8723au: rtw_report_sec_ie23a() is buggy

2014-04-10 Thread Jes Sorensen
Dan Carpenter writes: > Hello Larry, Jes, > > The rtw_report_sec_ie23a() is very buggy. > > 1) It uses GFP_KERNEL but the callers are holding a spinlock. > > rtw_select_and_join_from_scanned_queue23a() <- takes lock > -> rtw_joinbss_cmd23a() >-> rtw_restruct_sec_ie23a() >

Re: [PATCH v2] staging: comedi: declare das6402_boards as static

2014-04-10 Thread Ian Abbott
On 2014-04-10 15:38, Michele Curti wrote: das6402_boards array is used in das6402.c only, so declare it as static. Signed-off-by: Michele Curti Reviewed-by: Ian Abbott -- -=( Ian Abbott @ MEV Ltd.E-mail: )=- -=( Tel: +44 (0)161 477 1898 FAX: +44 (0)161 718 3587 )=- __

Re: [PATCH v2] staging: comedi: declare das6402_boards as static

2014-04-10 Thread Dan Carpenter
On Thu, Apr 10, 2014 at 04:38:00PM +0200, Michele Curti wrote: > > das6402_boards array is used in das6402.c only, so declare it as static. > > Signed-off-by: Michele Curti Looks good. regards, dan carpenter ___ devel mailing list de...@linuxdriverp

[PATCH v2] staging: comedi: declare das6402_boards as static

2014-04-10 Thread Michele Curti
das6402_boards array is used in das6402.c only, so declare it as static. Signed-off-by: Michele Curti --- drivers/staging/comedi/drivers/das6402.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/comedi/drivers/das6402.c b/drivers/staging/comedi/drivers/das64

[report] staging: r8723au: rtw_report_sec_ie23a() is buggy

2014-04-10 Thread Dan Carpenter
Hello Larry, Jes, The rtw_report_sec_ie23a() is very buggy. 1) It uses GFP_KERNEL but the callers are holding a spinlock. rtw_select_and_join_from_scanned_queue23a() <- takes lock -> rtw_joinbss_cmd23a() -> rtw_restruct_sec_ie23a() -> rtw_report_sec_ie23a

Re: [PATCH] staging: comedi: declare das6402_boards as static

2014-04-10 Thread Dan Carpenter
On Thu, Apr 10, 2014 at 03:54:47PM +0200, Michele Curti wrote: > Hi, > das6402_boards array seems to be used in das6402.c only, so declare it > as static. > > This patch applies to linux-next next-20140410. > > Regards, > Michele > The patch is fine, but you

[PATCH] staging: comedi: declare das6402_boards as static

2014-04-10 Thread Michele Curti
Hi, das6402_boards array seems to be used in das6402.c only, so declare it as static. This patch applies to linux-next next-20140410. Regards, Michele Signed-off-by: Michele Curti --- drivers/staging/comedi/drivers/das6402.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a

[PATCH 3/3] staging: rtl8821ae: Fix rtl8821ae/hw.h pointer declaration style

2014-04-10 Thread Mark Einon
Fix all occurences of the checkpatch error: ERROR: "foo* bar" should be "foo *bar" Signed-off-by: Mark Einon --- drivers/staging/rtl8821ae/rtl8821ae/hw.h |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rtl8821ae/rtl8821ae/hw.h b/drivers/staging/rt

[PATCH 1/3] staging: rtl8821ae: Fix whitespace in rtl8821ae/hw.h

2014-04-10 Thread Mark Einon
Fix checkpatch warnings, lines over 80 chars using tabs where possible. Signed-off-by: Mark Einon --- drivers/staging/rtl8821ae/rtl8821ae/hw.h | 27 ++- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/drivers/staging/rtl8821ae/rtl8821ae/hw.h b/drivers/s

[PATCH 2/3] staging: rtl8821ae: Remove FSF mailing address from rtl8821ae/hw.h header

2014-04-10 Thread Mark Einon
Fix checkpatch check: CHECK: Do not include the paragraph about writing to the Free Software Foundation's mailing address from the sample GPL notice. The FSF has changed addresses in the past, and may do so again. Linux already includes a copy of the GPL. Signed-off-by: Mark Einon --- drivers/s

Re: [PATCH 2/2] staging: media: omap24xx: fix up a checkpatch.pl warning

2014-04-10 Thread Dan Carpenter
On Thu, Apr 10, 2014 at 09:57:23PM +1000, Vitaly Osipov wrote: > Thanks, that's helpful - I for some reason thought that multi-part > patch had to have more or less uniform subject. We the checkpatch.pl > people come from http://www.eudyptula-challenge.org/, where at some > stage we are told to sub

Re: [PATCH 2/2] staging: media: omap24xx: fix up a checkpatch.pl warning

2014-04-10 Thread Vitaly Osipov
Thanks, that's helpful - I for some reason thought that multi-part patch had to have more or less uniform subject. We the checkpatch.pl people come from http://www.eudyptula-challenge.org/, where at some stage we are told to submit a patch for a single style issue in the staging tree. All newbies..

Re: [PATCH 2/2] staging: media: omap24xx: fix up a checkpatch.pl warning

2014-04-10 Thread Dan Carpenter
The two subjects are really close to being the same. You should choose better subjects. Like: [PATCH 2/2] staging: media: omap24xx: use pr_info() instead of KERN_INFO (All the checkpatch.pl people use the exact same subject for everything though, so you're not alone in this). regards, dan car

[patch 2/2] Staging: unisys: use after free in list_for_each()

2014-04-10 Thread Dan Carpenter
These should be using the _safe version of list_for_each() because we free the current element and it leads to a use after free bug. Signed-off-by: Dan Carpenter diff --git a/drivers/staging/unisys/visorchipset/visorchipset.h b/drivers/staging/unisys/visorchipset/visorchipset.h index d4bf203..d

[patch 1/2] staging: unisys: use after free in error messages

2014-04-10 Thread Dan Carpenter
We dereference "bus" when we report the error so we have to move the kfree() down a couple lines. Signed-off-by: Dan Carpenter diff --git a/drivers/staging/unisys/uislib/uislib.c b/drivers/staging/unisys/uislib/uislib.c index 8ea9c46..3152a21 100644 --- a/drivers/staging/unisys/uislib/uislib.c

RE: [PATCH 2/3] staging: r8188eu: Fix case where ethtype was never obtained and always be checked against 0

2014-04-10 Thread David Laight
From: Dan Carpenter ... > > - if (auth_alg == 2) { > > + if (auth_alg == dot11AuthAlgrthm_8021X) { > > + /* get ether_type */ > > + ptr = ptr + pfhdr->attrib.hdrlen + LLC_HEADER_SIZE; > > + memcpy(ðer_type, ptr, 2); > > + ether_type = ntohs((unsigned shor

[PATCH 2/2] staging: media: omap24xx: fix up a checkpatch.pl warning

2014-04-10 Thread Vitaly Osipov
tcm825x.c: changed printk to pr_info Signed-off-by: Vitaly Osipov --- drivers/staging/media/omap24xx/tcm825x.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/media/omap24xx/tcm825x.c b/drivers/staging/media/omap24xx/tcm825x.c index 2326481..3367ccd 1

[PATCH 1/2] staging: media: omap24xx: fix up checkpatch error message

2014-04-10 Thread Vitaly Osipov
tcm825x.c and tcm825x.h: fixing ERROR: Macros with complex values should be enclosed in parenthesis Signed-off-by: Vitaly Osipov --- drivers/staging/media/omap24xx/tcm825x.c |8 drivers/staging/media/omap24xx/tcm825x.h |4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-)

RE: system hang

2014-04-10 Thread Narasimharao Bolisetti
Hi, I have checked the same in the recent kernel versions also. Issue is still remain. Regards, Narasimharao B -Original Message- From: Willy Tarreau [mailto:w...@1wt.eu] Sent: 10 April 2014 13:26 To: narasimharo bolisetti Cc: linux-ker...@vger.kernel.org; kernelnewb...@nl.linux.org;

Re: system hang

2014-04-10 Thread Willy Tarreau
On Thu, Apr 10, 2014 at 12:05:52AM -0700, narasimharo bolisetti wrote: > My kernel version is: > 2.6.35.6-45.fc14.i686 Maintenance for this kernel has been dropped years ago, so it very likely contains many bugs that were fixed in more recent ones. You should definitely upgrade. Hoping this he

system hang

2014-04-10 Thread narasimharo bolisetti
Hi Greg/All,   This is Narasimharao working for a s/wcompany HCLT..   I am working a issue and the description is below:   system stops booting and needs a series of console inputs (space bar or return) to continue booting. Each input advances the process a little bit. Actuall