Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1413162 > unrolled thread

Re: [PATCH] of: irq: fix of_irq_get[_byname]() kernel-doc

Started byRob Herring <robh@kernel.org>
First post2016-06-03 14:10 +0200
Last post2016-06-03 14:10 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] of: irq: fix of_irq_get[_byname]() kernel-doc Rob Herring <robh@kernel.org> - 2016-06-03 14:10 +0200

#1413162 — Re: [PATCH] of: irq: fix of_irq_get[_byname]() kernel-doc

FromRob Herring <robh@kernel.org>
Date2016-06-03 14:10 +0200
SubjectRe: [PATCH] of: irq: fix of_irq_get[_byname]() kernel-doc
Message-ID<rFW5j-2Y2-21@gated-at.bofh.it>
On Sat, May 28, 2016 at 11:02:50PM +0300, Sergei Shtylyov wrote:
> The kernel-doc for the of_irq_get[_byname]()  is clearly inadequate in
> describing the return values -- of_irq_get_byname() is documented better
> than of_irq_get() but it  still doesn't mention that 0 is returned iff
> irq_create_of_mapping() fails (it doesn't return an error code in this
> case). Document all possible return value variants, making the writing
> of the word "IRQ" consistent, while at it...
> 
> Fixes: 9ec36cafe43b ("of/irq: do irq resolution in platform_get_irq")
> Fixes: ad69674e73a1 ("of/irq: do irq resolution in platform_get_irq_byname()")
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
> CC: stable@vger.kernel.org
> 
> ---
> The patch is against Linus' 'linux.git' repo (Grant Likely's repo is outdated).
> 
>  drivers/of/irq.c |   19 ++++++++++---------
>  1 file changed, 10 insertions(+), 9 deletions(-)

Applied, thanks.

Rob

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web