[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20111129.011809.998010141029466939.davem@davemloft.net>
Date: Tue, 29 Nov 2011 01:18:09 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: ralf@...ux-mips.org
Cc: netdev@...r.kernel.org, linux-hams@...r.kernel.org,
thomas@...erried.de
Subject: Re: [PATCH 3/4] NET: NETROM: Cleanup argument SIOCADDRT ioctl
argument checking.
From: Ralf Baechle <ralf@...ux-mips.org>
Date: Fri, 25 Nov 2011 09:09:00 +0000
> nr_route.ndigis is unsigned int so the nr_route.ndigis < 0 expression is
> never true and can be dropped. Doing the nr_ax25_dev_get call later
> allows the nr_route.ndigis test to bail out without having to dev_put.
>
> Signed-off-by: Ralf Baechle <ralf@...ux-mips.org>
Applied.
--
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