12 Feb, 2013

1 commit

  • alloc failures already get standardized OOM
    messages and a dump_stack.

    For the affected mallocs around these OOM messages:

    Converted kzallocs with multiplies to kcalloc.
    Converted kmallocs with multiplies to kmalloc_array.
    Converted a kmalloc/strlen/strncpy to kstrdup.
    Moved a spin_lock below a removed OOM message and
    removed a now unnecessary spin_unlock.
    Neatened alignment and whitespace.

    Signed-off-by: Joe Perches
    Signed-off-by: Greg Kroah-Hartman

    Joe Perches
     

12 Jan, 2013

1 commit

  • Allowi() calls usb_submit_urb(pdx->pUrbCharIn, bInCallback ? GFP_ATOMIC : GFP_KERNEL)
    under spin_lock_irqsave(&pdx->charInLock, flags). That means it should use GFP_ATOMIC anyway.
    As soon as it is the only usage of bInCallback argument, the patch removes it at all.

    Found by Linux Driver Verification project (linuxtesting.org).

    Signed-off-by: Alexey Khoroshilov
    Signed-off-by: Greg Kroah-Hartman

    Alexey Khoroshilov
     

27 Nov, 2012

1 commit


31 Oct, 2012

1 commit


27 Oct, 2012

1 commit


24 Oct, 2012

1 commit

  • gcc/sparse complain about the following:

    drivers/staging/ced1401/ced_ioc.c:931:1: warning: the frame size of 4144 bytes is larger than 2048 bytes [-Wframe-larger-than=]

    Fix it by dynamically allocating it.

    Signed-off-by: Devendra Naga
    Signed-off-by: Greg Kroah-Hartman

    Devendra Naga
     

23 Oct, 2012

4 commits


21 Sep, 2012

3 commits


18 Sep, 2012

6 commits