All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stephen Boyd <sboyd@codeaurora.org>
To: Axel Lin <axel.lin@ingics.com>, Thomas Gleixner <tglx@linutronix.de>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v2] genirq: devres: Fix testing return value of request_any_context_irq()
Date: Mon, 11 May 2015 11:06:29 -0700	[thread overview]
Message-ID: <5550EFA5.1030502@codeaurora.org> (raw)
In-Reply-To: <1431334978.17783.4.camel@ingics.com>

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


  reply	other threads:[~2015-05-11 18:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-11  9:02 [PATCH v2] genirq: devres: Fix testing return value of request_any_context_irq() Axel Lin
2015-05-11 18:06 ` Stephen Boyd [this message]
2015-05-13  8:48 ` [tip:irq/core] " tip-bot for Axel Lin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5550EFA5.1030502@codeaurora.org \
    --to=sboyd@codeaurora.org \
    --cc=axel.lin@ingics.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tglx@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.