lkml.org 
[lkml]   [2015]   [May]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2] genirq: devres: Fix testing return value of request_any_context_irq()
On 05/11/15 02:02, Axel Lin wrote:
> 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 <axel.lin@ingics.com>
> ---

Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>

--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project



\
 
 \ /
  Last update: 2015-05-11 20:41    [W:0.047 / U:0.720 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site