[PATCH] staging: olpc_dcon: drop CONFIG_BROKEN dependency

2010-12-01 Thread Andres Salomon
With the last few commits, the DCON will now properly build. As such, drop the dep on CONFIG_BROKEN. [Note: this is for the -mm tree, to be applied on top of the other DCON patches.] Signed-off-by: Andres Salomon --- drivers/staging/olpc_dcon/Kconfig |2 +- 1 files changed, 1 insertions(+

[PATCH 3/3] staging/sep: Fix printk format warning

2010-12-01 Thread Peter Huewe
This patch fixes gcc's complaints about the wrong format string for size_t arguments: "format '%x' expects type 'unsigned int', but argument has type 'size_t'" Signed-off-by: Peter Huewe --- KernelVersion: linux-next-20101202 drivers/staging/sep/sep_driver.c | 12 ++-- 1 files changed

[PATCH 2/3] staging/sep: Fix sparse warning 'Using plain integer as NULL pointer'

2010-12-01 Thread Peter Huewe
This patch fixes the warning generated by sparse: "Using plain integer as NULL pointer" by replacing the offending 0s with NULL. Signed-off-by: Peter Huewe --- KernelVersion: linux-next-20101202 drivers/staging/sep/sep_driver.c | 38 +++--- 1 files changed, 19

[PATCH 1/3] staging/sep: Fix sparse warning 'do-while statement is not a compound statement'

2010-12-01 Thread Peter Huewe
This patch fixes the warning generated by sparse: 'do-while statement is not a compound statement' by adding the necessary brackets around the do block Signed-off-by: Peter Huewe --- KernelVersion: linux-next-20101202 drivers/staging/sep/sep_dev.h|4 ++-- drivers/staging/sep/sep_driver.

[PATCH 1/2] staging: brcm80211: Remove unused code from osl.h

2010-12-01 Thread Brett Rudley
Signed-off-by: Brett Rudley --- drivers/staging/brcm80211/include/osl.h | 16 ++-- 1 files changed, 2 insertions(+), 14 deletions(-) diff --git a/drivers/staging/brcm80211/include/osl.h b/drivers/staging/brcm80211/include/osl.h index 662b519..c2fa297 100644 --- a/drivers/staging/

[PATCH 2/2] staging: brcm80211: absorb linux_osl.h into osl.h

2010-12-01 Thread Brett Rudley
Move code from linux_osl.h into osl.h and delete linux_osl.h, which created a bunch of checkpatch errors... I fixed most but volatile warnings will have to be dealt with later. Signed-off-by: Brett Rudley --- drivers/staging/brcm80211/include/linux_osl.h | 270 - drivers

Re: [PATCH] staging: brcm80211: bcmp => memcmp

2010-12-01 Thread Greg KH
On Wed, Dec 01, 2010 at 10:57:28AM +0100, Gábor Stefanik wrote: > On Wed, Dec 1, 2010 at 5:32 AM, Brett Rudley wrote: > > s/bcmp/memset/ > > s/memset/memcmp/ Thanks, I edited this before applying it. greg k-h ___ devel mailing list devel@linuxdriverpr

Re: [PATCH] staging: brcm80211: added firmware validation

2010-12-01 Thread Greg KH
On Wed, Dec 01, 2010 at 09:38:31PM +0100, Roland Vossen wrote: > Fix for Bugzilla 21872. What bugzilla? kernel.org or some other one? > New function wl_check_firmwares() checks validity of > all firmware images loaded from user space. Should this go into .37 and previous kernels? thanks, greg

Re: [PATCH] staging: brcm80211: replaced typedef struct wl_info_t by struct wl_info.

2010-12-01 Thread Greg KH
On Wed, Dec 01, 2010 at 09:37:34PM +0100, Roland Vossen wrote: > Part of the code cleanup effort. CodingStyle doc advises to restrict the usage > of typedefs. Also moved several function declarations from .c to .h file > because this typedef replace operation induced checkpatch.pl warnings. I'll t

Re: [PATCH 1/3] staging: sep: Fix sparse warning 'do-while statement is not a compound statement'

2010-12-01 Thread Greg KH
On Mon, Nov 29, 2010 at 10:31:18PM +0100, Peter Huewe wrote: > This patch fixes the warning generated by sparse: 'do-while statement is > not a compound statement' by adding the necessary brackets around the do > block This, and your other patches, no longer apply to the linux-next tree. Care to

[PATCH] staging: brcm80211: added firmware validation

2010-12-01 Thread Roland Vossen
Fix for Bugzilla 21872. New function wl_check_firmwares() checks validity of all firmware images loaded from user space. Signed-off-by: Roland Vossen --- drivers/staging/brcm80211/sys/wl_mac80211.c | 54 ++- drivers/staging/brcm80211/sys/wl_ucode.h|4 ++ dri

[PATCH] staging: brcm80211: replaced typedef struct wl_info_t by struct wl_info.

2010-12-01 Thread Roland Vossen
Part of the code cleanup effort. CodingStyle doc advises to restrict the usage of typedefs. Also moved several function declarations from .c to .h file because this typedef replace operation induced checkpatch.pl warnings. Signed-off-by: Roland Vossen --- drivers/staging/brcm80211/brcmfmac/wl_iw

[PATCH -next] staging: brcm80211 needs lots of delay.h

2010-12-01 Thread Randy Dunlap
|1 + drivers/staging/brcm80211/util/bcmotp.c |1 + drivers/staging/brcm80211/util/hndpmu.c |1 + drivers/staging/brcm80211/util/nicpci.c |1 + drivers/staging/brcm80211/util/siutils.c|1 + 8 files changed, 8 insertions(+) --- linux-next-20101201.orig/drivers/s

[PATCH] Staging: rtl8192u: check return code kmalloc.

2010-12-01 Thread David Chosrova
This patch checks the return code of kmalloc when trying to allocate memory for priv->rx_urb in rtl8192_usb_initendpoints(), return -ENOMEM when failed. Signed-off-by: David Chosrova --- Compiled diff --git a/drivers/staging/rtl8192u/r8192U_core.c b/drivers/staging/rtl8192u/r8192U_core.c in

Re: [PATCH] staging: brcm80211: bcmp => memcmp

2010-12-01 Thread Gábor Stefanik
On Wed, Dec 1, 2010 at 5:32 AM, Brett Rudley wrote: > s/bcmp/memset/ s/memset/memcmp/ > > Signed-off-by: Brett Rudley > --- >  drivers/staging/brcm80211/brcmfmac/dhd_common.c |    2 +- >  drivers/staging/brcm80211/brcmfmac/wl_iw.c      |    8 >  drivers/staging/brcm80211/include/linux_

Re: [PATCH 2/6] staging: ft1000: Use misc device instead self created device.

2010-12-01 Thread Belisko Marek
On Wed, Dec 1, 2010 at 5:06 AM, Greg KH wrote: > On Mon, Nov 29, 2010 at 09:08:07PM +0100, Belisko Marek wrote: >> On Mon, Nov 29, 2010 at 8:44 PM, Greg KH wrote: >> > On Wed, Nov 24, 2010 at 10:16:36AM +0100, Belisko Marek wrote: >> >> On Tue, Nov 23, 2010 at 10:28 PM, Jiri Slaby wrote: >> >> >