On Sat, Feb 02, 2013 at 11:58:05PM +0100, Ángel González wrote: > On 30/01/13 21:33, Sami Kerola wrote "a pointer should not be compared > to zero": > > Signed-off-by: Sami Kerola <kerolasa@xxxxxx> Applied, thanks. > Why not? It is perfectly legal. > See http://www.c-faq.com/null/null2.html It's usually legal from compiler or C standard point of view, but it's horrible coding style manner. For example: http://lwn.net/Articles/93574/ Karel -- Karel Zak <kzak@xxxxxxxxxx> http://karelzak.blogspot.com -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html