[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150806.215705.2259534799573368398.davem@davemloft.net>
Date: Thu, 06 Aug 2015 21:57:05 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: dan.carpenter@...cle.com
Cc: ebiederm@...ssion.com, rshearma@...cade.com,
roopa@...ulusnetworks.com, tom@...bertland.com,
netdev@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [patch] mpls: small cleanup in inet/inet6_fib_lookup_dev()
From: Dan Carpenter <dan.carpenter@...cle.com>
Date: Tue, 4 Aug 2015 10:44:22 +0300
> We recently changed this code from returning NULL to returning ERR_PTR.
> There are some left over NULL assignments which we can remove. We can
> preserve the error code from ip_route_output() instead of always
> returning -ENODEV. Also these functions use a mix of gotos and direct
> returns. There is no cleanup necessary so I changed the gotos to
> direct returns.
>
> Signed-off-by: Dan Carpenter <dan.carpenter@...cle.com>
Applied, thanks.
--
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