From: robert.jarzmik@free.fr (Robert Jarzmik)
To: linux-arm-kernel@lists.infradead.org
Subject: mach-pxa/pxa_cplds_irqs.c:126: bad if test ?
Date: Tue, 19 May 2015 08:00:04 +0200 [thread overview]
Message-ID: <87382tjee3.fsf@belgarion.home> (raw)
In-Reply-To: <DUB128-W342054A60A9EB2505BCA469CC40@phx.gbl> (David Binderman's message of "Mon, 18 May 2015 21:44:30 +0000")
David Binderman <dcb314@hotmail.com> writes:
> Hello there,
>
> [linux-4.1-rc4/arch/arm/mach-pxa/pxa_cplds_irqs.c:126]: (style) Checking if
> unsigned variable 'base_irq' is less than zero.
>
> ??? base_irq = platform_get_irq(pdev, 1);
> ??? if (base_irq < 0)
> ??????? base_irq = 0;
Thanks David, a patch has already been provided by Dan Carpenter.
Cheers.
--
Robert
prev parent reply other threads:[~2015-05-19 6:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-18 21:44 mach-pxa/pxa_cplds_irqs.c:126: bad if test ? David Binderman
2015-05-19 6:00 ` Robert Jarzmik [this message]
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=87382tjee3.fsf@belgarion.home \
--to=robert.jarzmik@free.fr \
--cc=linux-arm-kernel@lists.infradead.org \
/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.