[PATCH 2/2] staging:brcm80211:brcmfmac:bug fix - scan result report

2010-10-13 Thread nohee ko
Scan result was reported with some duplicated information. Those were about SSID/ rate. With this patch, the duplication can be erased. Signed-off-by: Nohee Ko --- drivers/staging/brcm80211/brcmfmac/wl_cfg80211.c | 16 +++- 1 files changed, 11 insertions(+), 5 deletions(-) diff -

[PATCH 1/2] staging:brcm80211:brcmfmac:replace KILL_PROC with send_sig()

2010-10-13 Thread nohee ko
logic optimization : replace KILL_PROC with send_sig() Signed-off-by: Nohee Ko --- drivers/staging/brcm80211/brcmfmac/dhd_linux.c |6 +++--- drivers/staging/brcm80211/brcmfmac/wl_cfg80211.c |5 ++--- drivers/staging/brcm80211/brcmfmac/wl_iw.c |2 +- drivers/staging/brcm80211/

Re: [PATCH] staging: octeon: Add Lanai board USB clock type

2010-10-13 Thread Greg KH
On Wed, Oct 13, 2010 at 06:39:50PM +0200, Bernhard Walle wrote: > Am 12.10.2010 18:56, schrieb David Daney: > > On 10/12/2010 08:54 AM, Greg KH wrote: > >> On Mon, Oct 11, 2010 at 10:13:37AM -0700, David Daney wrote: > >>> > >>> That is the eventual plan. > >> > >> Why not do that now? > >> > > >

[PATCH -next] staging/speakup: fix printk format warning

2010-10-13 Thread Randy Dunlap
From: Randy Dunlap Fix printk format warning: drivers/staging/speakup/serialio.c:44: warning: format '%x' expects type 'unsigned int', but argument 2 has type 'long unsigned int' Signed-off-by: Randy Dunlap Cc: spea...@braille.uwo.ca --- drivers/staging/speakup/serialio.c |2 +- 1 file c

RE: [PATCH] staging:brcm80211:bug fix- rmmod hang problem

2010-10-13 Thread Nohee Ko
Thanks for the tips. I did not pay attention to optimization. I will send the patch with the fix. Thanks Nohee -Original Message- From: Jiri Slaby [mailto:jirisl...@gmail.com] Sent: Wednesday, October 13, 2010 6:21 AM To: Nohee Ko Cc: g...@kroah.com; devel@linuxdriverproject.org; j...@p

RE: linux-next: Tree for October 13 (staging/iio)

2010-10-13 Thread Hennerich, Michael
Randy Dunlap wrote on 2010-10-13: > On Wed, 13 Oct 2010 15:45:22 +1100 Stephen Rothwell wrote: > >> Hi all, >> >> Changes since 20101012: > > > drivers/staging/iio/adc/ad7476.h:62: note: expected 'struct device *' > but argument is of type 'struct ad7476_state *' > drivers/staging/iio/adc/ad7476_co

Re: linux-next: Tree for October 13 (staging/iio)

2010-10-13 Thread Randy Dunlap
On Wed, 13 Oct 2010 15:45:22 +1100 Stephen Rothwell wrote: > Hi all, > > Changes since 20101012: drivers/staging/iio/adc/ad7476.h:62: note: expected 'struct device *' but argument is of type 'struct ad7476_state *' drivers/staging/iio/adc/ad7476_core.c:48: error: too few arguments to function

Re: [PATCH] staging: octeon: Add Lanai board USB clock type

2010-10-13 Thread Bernhard Walle
Am 12.10.2010 18:56, schrieb David Daney: > On 10/12/2010 08:54 AM, Greg KH wrote: >> On Mon, Oct 11, 2010 at 10:13:37AM -0700, David Daney wrote: >>> >>> That is the eventual plan. >> >> Why not do that now? >> > > If others want do submit patches that do that, I would not object. It > is not c

[PATCH] staging: octeon: Remove USB code

2010-10-13 Thread Bernhard Walle
Remove functions and definitions that refer to USB since the driver doesn't support USB and it's not planned to add USB support to that driver. So the code is just dead code which can be removed. Signed-off-by: Bernhard Walle --- drivers/staging/octeon/cvmx-helper-board.c | 19

Re: [PATCH] staging:brcm80211:bug fix- rmmod hang problem

2010-10-13 Thread Jiri Slaby
On 10/12/2010 10:33 PM, nohee ko wrote: > --- a/drivers/staging/brcm80211/include/linuxver.h > +++ b/drivers/staging/brcm80211/include/linuxver.h > @@ -35,14 +35,11 @@ > #undef IP_TOS > #include > > -#define KILL_PROC(nr, sig) \ > +#define KILL_PROC(pid, sig) \ > do { \ > s

Re: [PATCH 0/2] move TI_ST driver out of staging

2010-10-13 Thread Pavel Machek
Hi! > As suggested, I've squashed the 4 patches into a set of 2 patches. > 1. moves the source files. > 2. moves/modifies the Kconfig and Makefiles. > > drivers/misc/ti-st/st_kim.c | 798 ++ > drivers/misc/ti-st/st_ll.c | 150 ++ Is-it_really-neccessar

Re: [PATCH] staging: intel_sst: use signed int for error codes

2010-10-13 Thread Alan Cox
On Sun, 10 Oct 2010 21:28:43 +0400 Vasiliy Kulikov wrote: > As retval stores error code, it should be signed int. > > Signed-off-by: Vasiliy Kulikov Acked-by: Alan Cox ___ devel mailing list devel@linuxdriverproject.org http://driverdev.linuxdriverp

[PATCH 4/4] TM6000: Drop unused macro

2010-10-13 Thread Jean Delvare
Signed-off-by: Jean Delvare Cc: Michel Ludwig Cc: Stefan Ringel --- drivers/staging/tm6000/tm6000-i2c.c | 12 1 file changed, 12 deletions(-) --- linux-2.6.36-rc7.orig/drivers/staging/tm6000/tm6000-i2c.c 2010-10-13 10:30:09.0 +0200 +++ linux-2.6.36-rc7/drivers/staging

[PATCH 3/4] TM6000: Clean-up i2c initialization

2010-10-13 Thread Jean Delvare
Usage of templates for large structures is a bad idea, as it wastes a lot of space. Manually initializing the few fields we need is way more efficient. Also set the algorithm data const, use strlcpy instead of strcpy, fix a small race (device data must always be set before registering said device)

[PATCH 2/4] TM6000: Fix build warning

2010-10-13 Thread Jean Delvare
Signed-off-by: Jean Delvare Cc: Michel Ludwig Cc: Stefan Ringel --- drivers/staging/tm6000/tm6000-core.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- linux-2.6.36-rc7.orig/drivers/staging/tm6000/tm6000-core.c 2010-09-21 11:07:29.0 +0200 +++ linux-2.6.36-rc7/drivers/

[PATCH 1/4] TM6000: Don't use deprecated i2c adapter fields

2010-10-13 Thread Jean Delvare
i2c_adapter fields id and class are deprecated for media drivers and shouldn't be used for a new driver. As far as I can see, the values were never used anyway. Signed-off-by: Jean Delvare Cc: Michel Ludwig Cc: Stefan Ringel --- drivers/staging/tm6000/tm6000-i2c.c |4 1 file changed,