13 May, 2015

1 commit

  • request_any_context_irq() returns a negative value on failure.
    It returns either IRQC_IS_HARDIRQ or IRQC_IS_NESTED on success.
    So fix testing return value of request_any_context_irq().

    Also fixup the return value of devm_request_any_context_irq() to make it
    consistent with request_any_context_irq().

    Fixes: 0668d3065128 ("genirq: Add devm_request_any_context_irq()")
    Signed-off-by: Axel Lin
    Reviewed-by: Stephen Boyd
    Cc: stable@vger.kernel.org
    Link: http://lkml.kernel.org/r/1431334978.17783.4.camel@ingics.com
    Signed-off-by: Thomas Gleixner

    Axel Lin
     

28 Aug, 2014

1 commit


09 Feb, 2014

1 commit

  • Some drivers use request_any_context_irq() but there isn't a
    devm_* function for it. Add one so that these drivers don't need
    to explicitly free the irq on driver detach.

    Signed-off-by: Stephen Boyd
    Cc: linux-arm-kernel@lists.infradead.org
    Cc: Dmitry Torokhov
    Link: http://lkml.kernel.org/r/1388709460-19222-3-git-send-email-sboyd@codeaurora.org
    Signed-off-by: Thomas Gleixner

    Stephen Boyd
     

26 Jul, 2011

1 commit

  • devres uses the pointer value as key after it's freed, which is safe but
    triggers spurious use-after-free warnings on some static analysis tools.
    Rearrange code to avoid such warnings.

    Signed-off-by: Maxin B. John
    Reviewed-by: Rolf Eike Beer
    Acked-by: Tejun Heo
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Maxin B John
     

11 Feb, 2010

1 commit


05 Feb, 2010

1 commit


24 Mar, 2009

1 commit


29 Apr, 2008

1 commit