[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.10.1506071520410.2716@hadrien>
Date: Sun, 7 Jun 2015 15:23:57 +0200 (CEST)
From: Julia Lawall <julia.lawall@...6.fr>
To: Firo Yang <firogm@...il.com>
cc: Julia Lawall <julia.lawall@...6.fr>,
Eric Dumazet <eric.dumazet@...il.com>, davem@...emloft.net,
kuznet@....inr.ac.ru, jmorris@...ei.org, yoshfuji@...ux-ipv6.org,
kaber@...sh.net, netdev@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] fib_trie: Fix potential null pointer dereference
> >I think that many people would make the same mistake when looking at the
> >code. The change doesn't seem to hurt anything?
> Actually, yes. But it does imporve nothing but coding style.
> I think Alexander's code style make function more compact is also a
> good code style. So, just keep it original.
Still it makes noise when other people look at the code and find that it
looks odd. Removing the false positive in smatch won't completely help,
because people could look at the code for other reasons.
But, as you like.
julia
--
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