[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1291985090.24978.17.camel@Joe-Laptop>
Date: Fri, 10 Dec 2010 04:44:50 -0800
From: Joe Perches <joe@...ches.com>
To: Jeff Kirsher <jeffrey.t.kirsher@...el.com>
Cc: davem@...emloft.net, davem@...emleft.org,
Bruce Allan <bruce.w.allan@...el.com>, netdev@...r.kernel.org,
gospo@...hat.com, bphilips@...ell.com
Subject: Re: [net-next-2.6 25/27] e1000e: static analysis tools complain of
a possible null ptr p dereference
On Fri, 2010-12-10 at 02:06 -0800, Jeff Kirsher wrote:
> diff --git a/drivers/net/e1000e/ethtool.c b/drivers/net/e1000e/ethtool.c
[]
> + default:
> + data[i] = 0;
> + continue;
> + break;
Using
continue;
break;
is odd and unhelpful.
Just continue; is sufficient and clear.
--
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