[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <33c0f43ef2334de5885e5fcf041483a2afb13787.camel@perches.com>
Date: Thu, 12 Sep 2019 08:01:45 -0700
From: Joe Perches <joe@...ches.com>
To: Christoph Hellwig <hch@...radead.org>
Cc: Dan Williams <dan.j.williams@...el.com>,
Vishal Verma <vishal.l.verma@...el.com>,
Dave Jiang <dave.jiang@...el.com>,
Keith Busch <keith.busch@...el.com>,
Ira Weiny <ira.weiny@...el.com>,
Oliver O'Halloran <oohall@...il.com>,
linux-kernel@...r.kernel.org,
Dan Carpenter <dan.carpenter@...cle.com>,
linux-nvdimm@...ts.01.org
Subject: Re: [PATCH 01/13] nvdimm: Use more typical whitespace
On Thu, 2019-09-12 at 05:17 -0700, Christoph Hellwig wrote:
> Instead of arguing what is better just stick to what the surrounding
> code does.
That's not always feasible nor readable.
Especially for the logic inversion blocks where
the existing code does unreadable and error prone
things like hiding semicolons immediately after
comments.
if (foo)
/* longish comment */;
else {
<code>;
}
> Or in other words: Feel free to be a codingstyle nazi for your code
> (I am for some of mine), but leave others peoples code alone with
> "cleanup" patches.
My point was to avoid documenting per-subsystem
coding style rules.
Powered by blists - more mailing lists