[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <e68bb3470910292318j7a4d3e9fpcc9fe714a0561ef7@mail.gmail.com>
Date: Fri, 30 Oct 2009 14:18:36 +0800
From: Wan ZongShun <mcuos.com@...il.com>
To: David Miller <davem@...emloft.net>, roel.kluin@...il.com
Cc: netdev@...r.kernel.org, akpm@...ux-foundation.org,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH] net: Fix checks on unsigned in w90p910_ether_probe()
Dear sirs,
Okay, it is right, thanks all for your help.
I will re-fix it later.
2009/10/30, David Miller <davem@...emloft.net>:
> From: Roel Kluin <roel.kluin@...il.com>
> Date: Tue, 20 Oct 2009 20:14:36 +0200
>
> > ether->txirq and ->rxirq are unsigned
> >
> > Signed-off-by: Roel Kluin <roel.kluin@...il.com>
>
> platform_get_irq() returns a signed int so the intention
> is more likely that catching negative value returns
> was intended.
>
> Probably the correct fix is to mark txirq and rxirq as
> plain 'int'.
>
--
Wan z.s
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists