[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <m3k59qssix.fsf@maximus.localdomain>
Date: Tue, 23 Dec 2008 18:36:22 +0100
From: Krzysztof Halasa <khc@...waw.pl>
To: Harvey Harrison <harvey.harrison@...il.com>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>,
Håkon Løvdal <hlovdal@...il.com>,
Hannes Eder <hannes@...neseder.net>, netdev@...r.kernel.org,
kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 02/27] drivers/net: fix sparse warnings: make do-while a compound statement
Harvey Harrison <harvey.harrison@...il.com> writes:
>> There are many ways to make the code more merge friendly at a cost of
>> readability. Hope we don't go this way.
>
> Linus himself added that particular warning to sparse...may want to check
> with him the reason for it.
Once again, this is a personal thing, and a harmless one.
Sometimes I think using this sparse thing does more harm than good.
Not that the tool itself is bad - I find it really useful, many sparse
warnings actually did cause code improvement.
It's like with knives, there are good uses and a bit less good ones.
--
Krzysztof Halasa
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists