[PATCH 5/6] drivers/base/module.c: Use kasprintf
From: Julia Lawall <julia(a)diku.dk> kasprintf combines kmalloc and sprintf, and takes care of the size calculation itself. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // <smpl> @@ expression a,flag; expression list args; statement S; @@ a = - \(kmalloc\|kz... 10 Mar 2010 16:26
[PATCH 2/6] drivers/mtd: Use kasprintf
From: Julia Lawall <julia(a)diku.dk> kasprintf combines kmalloc and sprintf, and takes care of the size calculation itself. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // <smpl> @@ expression a,flag; expression list args; statement S; @@ a = - \(kmalloc\|kz... 10 Mar 2010 16:26
[PATCH 3/6] arch/x86/pci: Use kasprintf
From: Julia Lawall <julia(a)diku.dk> kasprintf combines kmalloc and sprintf, and takes care of the size calculation itself. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // <smpl> @@ expression a,flag; expression list args; statement S; @@ a = - \(kmalloc\|kz... 10 Mar 2010 16:26
more PCMCIA updates for 2.6.34 (including ioctl deprecation)
Hey, On Wed, Mar 10, 2010 at 09:45:46PM +0100, Pavel Machek wrote: Hi! So you believe that disabling the button in the graphical environment to allow PCMCIA cards to be removed (such as CF cards) - leaving the user to merely pull out the CF card, while the FS is mounted, is a good ... 10 Mar 2010 16:26
[PATCH] mm: fix typo in refill_stock() comment
Change refill_stock() comment: s/consumt_stock()/consume_stock()/ Signed-off-by: Greg Thelen <gthelen(a)google.com> --- mm/memcontrol.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/mm/memcontrol.c b/mm/memcontrol.c index d813823..0576de1 100644 --- a/mm/memcontrol.c +++ b/mm/memco... 10 Mar 2010 16:26
How to tell we're using the KMS (during suspend/resume) outside the graphics driver
As far as the ACPI video driver goes, acpi_get_physical_pci_device() will give you something to work with. For the console-switching case, I think the most reasonable plan is probably to add a flag to the console drivers to indicate whether or not they support reprogramming the hardware themselves, and then wal... 10 Mar 2010 16:26
[PATCH trivial] MAINTAINERS: Use tab not spaces for delimiter
Keeps MAINTAINERS a bit more consistent. done via sed -r -i -e 's/^([A-Z]):[ \t]+/\1:\t/g' MAINTAINERS Signed-off-by: Joe Perches <joe(a)perches.com> --- MAINTAINERS | 40 ++++++++++++++++++++-------------------- 1 files changed, 20 insertions(+), 20 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index... 10 Mar 2010 16:26
wait_for_helper: SIGCHLD from user-space can lead to use-after-free
SIGCHLD being blocked doesn't affect reaping, so SIG_IGN or sa_flags & SA_NOCLDWAIT is the only thing that would do this. How does that come about here in this kthread? Is it inherited from the instigating user process? If so, then SA_NOCLDWAIT is as much a problem as SIG_IGN. Or I guess maybe it's from ignore... 10 Mar 2010 17:33
call_usermodehelper: call info->init() after set_user_nice()
On Wed, Mar 10, 2010 at 07:44:39PM +0100, Oleg Nesterov wrote: Mostly cosmetic, but imho it makes sense to call sub_info->init() right before kernel_execve(). This looks more natural and allows ->init() hook to change the priority if needed. Signed-off-by: Oleg Nesterov <oleg(a)redhat.com> --- ... 10 Mar 2010 16:26
fix problems with NETIF_F_HIGHDMA in networking drivers v2
> diff --git a/drivers/infiniband/ulp/ipoib/ipoib_main.c b/drivers/infiniband/ulp/ipoib/ipoib_main.c index df3eb8c..53be462 100644 --- a/drivers/infiniband/ulp/ipoib/ipoib_main.c +++ b/drivers/infiniband/ulp/ipoib/ipoib_main.c @@ -1058,7 +1058,7 @@ static void ipoib_setup(struct net_device *dev) ... 10 Mar 2010 16:26