qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] checkpatch: Don't WARN about missing spaces in


From: Anthony Liguori
Subject: Re: [Qemu-devel] [PATCH] checkpatch: Don't WARN about missing spaces in audio files
Date: Fri, 17 Feb 2012 08:31:18 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.23) Gecko/20110922 Lightning/1.0b2 Thunderbird/3.1.15

On 02/11/2012 03:44 AM, Blue Swirl wrote:
On Fri, Feb 10, 2012 at 17:47, Anthony Liguori<address@hidden>  wrote:
On 02/09/2012 10:02 PM, malc wrote:

On Fri, 10 Feb 2012, Evgeny Voevodin wrote:

On 02/09/2012 06:59 PM, Andreas F?rber wrote:

Disable warnings for spaces before opening parenthesis in
hw/{ac97,adlib,cs4231a,es1370,gus,sb16}.c.


Why audio files are such a special thing?


Because they are consistently formatted the way they are.


I personally hate the QEMU Coding Style I dislike inconsistency more than
any particular style.

I dislike unclear rules more than inconsistency or coding styles.

So I'm with malc here.  I'd be opposed to introducing a new file that
deviated from Coding Style but for the ones that already do, I see no reason
to convert them all at once or make the code deviate from the style it's
already using.

I'd make a rule, specify the level of importance and try to stick to
it. I would not oppose global reformatting to GNU style even (which I
hate) if that would be the rule.

I really hate having these discussions. I would almost rather we just pay the one-time cost of re-indenting so we can stop debating about this.

For folks that feel strongly about this, please submit the following:

An indent command that takes the tree to CODING_STYLE along with a diffstat of the end result.

Depending on how bad the diffstat is, we can consider doing this and ending this set of arguments once and for all.

Regards,

Anthony Liguori

I don't like laissez faire, but if
that is the rule then fine.



Isn't it be better to revert a patch that introduced checkpatch.pl
errors?


No.


Regards,

Anthony Liguori










reply via email to

[Prev in Thread] Current Thread [Next in Thread]