[PATCH 2/5] rtl8712: remove unused macros from rtl8712/wifi.h

2012-12-09 Thread Przemo Firszt
Those definitions are not used anywhere in the kernel. If you know any reason why they should stay in the code please speak up! Signed-off-by: Przemo Firszt --- drivers/staging/rtl8712/wifi.h | 4 1 file changed, 4 deletions(-) diff --git a/drivers/staging/rtl8712/wifi.h b/drivers/staging/

[PATCH 4/5] rtl8712: replace min with min_t

2012-12-09 Thread Przemo Firszt
A clean up change suggested by checkpatch.pl Signed-off-by: Przemo Firszt --- drivers/staging/rtl8712/rtl871x_ioctl_linux.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rtl8712/rtl871x_ioctl_linux.c b/drivers/staging/rtl8712/rtl871x_ioctl_linux.c ind

[PATCH 3/5] rtl8712: replace printk with better solutions

2012-12-09 Thread Przemo Firszt
Replace printk with netdev_printk helpers, dev_printk helpers or pr_err/warn/info if there is no device info available. Signed-off-by: Przemo Firszt --- drivers/staging/rtl8712/hal_init.c| 17 ++- drivers/staging/rtl8712/os_intfs.c| 3 +- drivers/staging/rtl8712/

[PATCH 5/5] rtl8712: replace leading spaces with tab

2012-12-09 Thread Przemo Firszt
Replace leading spaces with tab Signed-off-by: Przemo Firszt --- drivers/staging/rtl8712/rtl871x_ioctl_linux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8712/rtl871x_ioctl_linux.c b/drivers/staging/rtl8712/rtl871x_ioctl_linux.c index b131b61..b4629c3

Re: [PATCH] gpio: export 'debounce' attribute if supported by the gpio chip

2012-12-09 Thread Alan Cox
On Sun, 09 Dec 2012 01:58:19 -0800 anish kumar wrote: > On Fri, 2012-12-07 at 16:49 +, Alan Cox wrote: > > > I could imagine declaring the activity request buttons to be "input", but > > > for > > > presence detects it is a bit far fetched and would add too much > > > complexity. > > > > A

Re: [PATCH] drivers/video/wm8505fb.c: use devm_ functions

2012-12-09 Thread Tony Prisk
On Sun, 2012-12-09 at 08:21 +0100, Julia Lawall wrote: > > Rather than the goto, add the fail path code in directly, and return. > > > > > > ret = register_framebuffer(&fbi->fb); > > if (ret < 0) { > > dev_err(&pdev->dev, > > "Failed to register framebuffer device: %d\n", ret); > > if (fbi->fb.c

Re: [PATCH] gpio: export 'debounce' attribute if supported by the gpio chip

2012-12-09 Thread anish kumar
On Fri, 2012-12-07 at 16:49 +, Alan Cox wrote: > > I could imagine declaring the activity request buttons to be "input", but > > for > > presence detects it is a bit far fetched and would add too much complexity. > > Android tries to address this with its switch class driver, but I'm not > su

Re: [PATCH] Document how capability bits work

2012-12-09 Thread Michael Kerrisk (man-pages)
Andy, On Sat, Dec 8, 2012 at 2:27 AM, Andy Lutomirski wrote: > On Fri, Dec 7, 2012 at 5:10 PM, Rob Landley wrote: >> On 12/07/2012 01:32:18 PM, Andy Lutomirski wrote: >>> >>> On Fri, Dec 7, 2012 at 11:21 AM, Serge Hallyn >>> wrote: >>> > Quoting Andy Lutomirski (l...@amacapital.net): >>> >> Sig

[PATCH] Add support for 2001:3c1e (D-Link DWA-125 rev B1) USB Wi-Fi adapter

2012-12-09 Thread Maia Kozheva
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 D-Link DWA-125/B1 is a relatively new USB Wi-Fi adapter, using a Ralink chipset supported by the rt2800usb driver. Currently, to work around the problem (it's missing in all present kernel versions, up to and including 3.7.x), I had to add this to

Re: [PATCH] ARM: Orion: Hoist bridge interrupt handling out of the timer

2012-12-09 Thread Andrew Lunn
On Sat, Dec 08, 2012 at 07:57:48PM -0700, Jason Gunthorpe wrote: > On Sat, Dec 08, 2012 at 12:26:24PM +0100, Andrew Lunn wrote: > > > 1) It should have an IRQ domain, like the other IRQ chips we have. > > 2) It should have a DT binding, like the other IRQ chips we have. > > I was going to look a

Re: [PATCH v2] arch/x86/tools/gen-insn-attr-x86.awk: remove duplicate const

2012-12-09 Thread Cong Ding
On Sun, Dec 09, 2012 at 02:24:55PM +0900, Masami Hiramatsu wrote: > (2012/12/08 8:17), Cong Ding wrote: > >> Patch description please? > > there are 2 consts in the definition of one variable > > > > Please put in an actual patch description. The first line (subject > li

[PATCH v3] x86: fix the error of using "const" in gen-insn-attr-x86.awk

2012-12-09 Thread Cong Ding
>From 9523e1de9d2771dc66a5b645651fc9f4745eb685 Mon Sep 17 00:00:00 2001 From: Cong Ding Date: Sun, 9 Dec 2012 08:06:20 + Subject: [PATCH v3] x86: fix the error of using "const" in gen-insn-attr-x86.awk x86: fix the error of using "const" in gen-insn-attr-x86.awk The original version code cau

Re: [PATCH v2 4/5] page_alloc: Make movablecore_map has higher priority

2012-12-09 Thread Tang Chen
Hi Liu, Wu, On 12/06/2012 10:26 AM, Jiang Liu wrote: On 2012-12-6 9:26, Tang Chen wrote: On 12/05/2012 11:43 PM, Jiang Liu wrote: If we make "movablecore_map" take precedence over "movablecore/kernelcore", the logic could be simplified. I think it's not so attractive to support both "movableco

<    1   2   3