All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dan Williams <dan.j.williams@intel.com>
To: Joe Perches <joe@perches.com>
Cc: Miguel Ojeda <miguel.ojeda.sandonis@gmail.com>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Dan Carpenter <dan.carpenter@oracle.com>,
	linux-nvdimm <linux-nvdimm@lists.01.org>
Subject: Re: [Ksummit-discuss] [PATCH v2 3/3] libnvdimm, MAINTAINERS: Maintainer Entry Profile
Date: Thu, 12 Sep 2019 07:17:51 -0700	[thread overview]
Message-ID: <CAPcyv4iu13D5P+ExdeW8OGMV8g49fMUy52xbYZM+bewwVSwhjg@mail.gmail.com> (raw)
In-Reply-To: <5eebafcb85a23a59f01681e73c83b387c59f4a4b.camel@perches.com>

On Thu, Sep 12, 2019 at 4:02 AM Joe Perches <joe@perches.com> wrote:
>
> (cut down the cc-list)
>
> On Thu, 2019-09-12 at 03:18 -0700, Joe Perches wrote:
> > On Thu, 2019-09-12 at 10:24 +0200, Miguel Ojeda wrote:
> > > On Thu, Sep 12, 2019 at 9:43 AM Dan Williams <dan.j.williams@intel.com> wrote:
> > > > Now I come to find that CodingStyle has settled on clang-format (in
> > > > the last 15 months) as the new standard which is a much better answer
> > > > to me than a manually specified style open to interpretation. I'll
> > > > take a look at getting libnvdimm converted over.
> > >
> > > Note that clang-format cannot do everything as we want within the
> > > kernel just yet, but it is a close enough approximation -- it is near
> > > the point where we could simply agree to use it and stop worrying
> > > about styling issues. However, that would mean everyone needs to have
> > > a recent clang-format available, which I think is the biggest obstacle
> > > at the moment.
> >
> > I don't think that's close to true yet for clang-format.
> >
> > For instance: clang-format does not do anything with
> > missing braces, or coalescing multi-part strings,
> > or any number of other nominal coding style defects
> > like all the for_each macros, aligning or not aligning
> > columnar contents appropriately, etc...
> >
> > clang-format as yet has no taste.

Ok, good to confirm that we do not yet have an objective standard for
coding style. This means it's not yet something process documentation
can better standardize for contributors and will be subject to ongoing
taste debates. Lets reclaim the time to talk about objective items
that *can* clarified across maintainers.

> >
> > I believe it'll take a lot of work to improve it to a point
> > where its formatting is acceptable and appropriate.
> .
>
> Just fyi:
>
> Here's the difference that clang-format produces from the current
> nvdimm sources to the patch series I posted.
>
> clang-format does some OK, some not OK, some really bad.
> (e.g.: __stringify)
>
> My git branch for my patches is 20190911_nvdimm, and
> using Stephen Rothwell's git tree for -next:
>
> $ git checkout next-20190904
> $ clang-format -i drivers/nvdimm/*.[ch]
> $ git diff --stat -p 20190911_nvdimm -- drivers/nvdimm/ > nvdimm.clang-diff
> ---
[..]
>  25 files changed, 895 insertions(+), 936 deletions(-)

So, I'm lamenting the damage either of these mass conversions is going
to do git blame flows. To be honest I regret broaching Coding Style
standardization because it's taking the air out of the room for the
wider discussion of the maintainer/contributor topics we might be able
to agree.

As for libnvdimm at this point I'd rather start with objective
checkpatch error cleanups and defer the personal taste items.
_______________________________________________
Linux-nvdimm mailing list
Linux-nvdimm@lists.01.org
https://lists.01.org/mailman/listinfo/linux-nvdimm

WARNING: multiple messages have this Message-ID (diff)
From: Dan Williams <dan.j.williams@intel.com>
To: Joe Perches <joe@perches.com>
Cc: Miguel Ojeda <miguel.ojeda.sandonis@gmail.com>,
	Dan Carpenter <dan.carpenter@oracle.com>,
	linux-nvdimm <linux-nvdimm@lists.01.org>,
	Vishal Verma <vishal.l.verma@intel.com>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [Ksummit-discuss] [PATCH v2 3/3] libnvdimm, MAINTAINERS: Maintainer Entry Profile
Date: Thu, 12 Sep 2019 07:17:51 -0700	[thread overview]
Message-ID: <CAPcyv4iu13D5P+ExdeW8OGMV8g49fMUy52xbYZM+bewwVSwhjg@mail.gmail.com> (raw)
In-Reply-To: <5eebafcb85a23a59f01681e73c83b387c59f4a4b.camel@perches.com>

On Thu, Sep 12, 2019 at 4:02 AM Joe Perches <joe@perches.com> wrote:
>
> (cut down the cc-list)
>
> On Thu, 2019-09-12 at 03:18 -0700, Joe Perches wrote:
> > On Thu, 2019-09-12 at 10:24 +0200, Miguel Ojeda wrote:
> > > On Thu, Sep 12, 2019 at 9:43 AM Dan Williams <dan.j.williams@intel.com> wrote:
> > > > Now I come to find that CodingStyle has settled on clang-format (in
> > > > the last 15 months) as the new standard which is a much better answer
> > > > to me than a manually specified style open to interpretation. I'll
> > > > take a look at getting libnvdimm converted over.
> > >
> > > Note that clang-format cannot do everything as we want within the
> > > kernel just yet, but it is a close enough approximation -- it is near
> > > the point where we could simply agree to use it and stop worrying
> > > about styling issues. However, that would mean everyone needs to have
> > > a recent clang-format available, which I think is the biggest obstacle
> > > at the moment.
> >
> > I don't think that's close to true yet for clang-format.
> >
> > For instance: clang-format does not do anything with
> > missing braces, or coalescing multi-part strings,
> > or any number of other nominal coding style defects
> > like all the for_each macros, aligning or not aligning
> > columnar contents appropriately, etc...
> >
> > clang-format as yet has no taste.

Ok, good to confirm that we do not yet have an objective standard for
coding style. This means it's not yet something process documentation
can better standardize for contributors and will be subject to ongoing
taste debates. Lets reclaim the time to talk about objective items
that *can* clarified across maintainers.

> >
> > I believe it'll take a lot of work to improve it to a point
> > where its formatting is acceptable and appropriate.
> .
>
> Just fyi:
>
> Here's the difference that clang-format produces from the current
> nvdimm sources to the patch series I posted.
>
> clang-format does some OK, some not OK, some really bad.
> (e.g.: __stringify)
>
> My git branch for my patches is 20190911_nvdimm, and
> using Stephen Rothwell's git tree for -next:
>
> $ git checkout next-20190904
> $ clang-format -i drivers/nvdimm/*.[ch]
> $ git diff --stat -p 20190911_nvdimm -- drivers/nvdimm/ > nvdimm.clang-diff
> ---
[..]
>  25 files changed, 895 insertions(+), 936 deletions(-)

So, I'm lamenting the damage either of these mass conversions is going
to do git blame flows. To be honest I regret broaching Coding Style
standardization because it's taking the air out of the room for the
wider discussion of the maintainer/contributor topics we might be able
to agree.

As for libnvdimm at this point I'd rather start with objective
checkpatch error cleanups and defer the personal taste items.

  reply	other threads:[~2019-09-12 14:18 UTC|newest]

Thread overview: 227+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-11 15:48 [Ksummit-discuss] [PATCH v2 0/3] Maintainer Entry Profiles Dan Williams
2019-09-11 15:48 ` Dan Williams
2019-09-11 15:48 ` Dan Williams
2019-09-11 15:48 ` [Ksummit-discuss] [PATCH v2 1/3] MAINTAINERS: Reclaim the P: tag for Maintainer Entry Profile Dan Williams
2019-09-11 15:48   ` Dan Williams
2019-09-11 15:48   ` Dan Williams
2019-09-13 15:37   ` [Ksummit-discuss] " Mauro Carvalho Chehab
2019-09-13 15:37     ` Mauro Carvalho Chehab
2019-09-13 15:37     ` Mauro Carvalho Chehab
2019-09-11 15:48 ` [Ksummit-discuss] [PATCH v2 2/3] Maintainer Handbook: " Dan Williams
2019-09-11 15:48   ` Dan Williams
2019-09-11 15:48   ` Dan Williams
2019-09-11 17:34   ` [Ksummit-discuss] " Verma, Vishal L
2019-09-11 17:34     ` Verma, Vishal L
2019-09-16 12:35   ` Jani Nikula
2019-09-16 12:35     ` Jani Nikula
2019-09-16 12:35     ` Jani Nikula
2019-10-01 13:55   ` Jonathan Corbet
2019-10-01 13:55     ` Jonathan Corbet
2019-10-01 13:55     ` Jonathan Corbet
2019-10-01 18:17     ` [Ksummit-discuss] " Martin K. Petersen
2019-10-01 18:17       ` Martin K. Petersen
2019-10-01 18:17       ` Martin K. Petersen
2019-11-07 20:13     ` [Ksummit-discuss] " Jonathan Corbet
2019-11-07 20:13       ` Jonathan Corbet
2019-11-07 20:13       ` Jonathan Corbet
2019-11-08  2:41       ` [Ksummit-discuss] " Dan Williams
2019-11-08  2:41         ` Dan Williams
2019-11-08  2:41         ` Dan Williams
2019-09-11 15:48 ` [Ksummit-discuss] [PATCH v2 3/3] libnvdimm, MAINTAINERS: " Dan Williams
2019-09-11 15:48   ` Dan Williams
2019-09-11 15:48   ` Dan Williams
2019-09-11 17:42   ` [Ksummit-discuss] " Vishal Verma
2019-09-11 17:42     ` Vishal Verma
2019-09-11 17:42     ` Vishal Verma
2019-09-11 17:45   ` Dave Jiang
2019-09-11 17:45     ` Dave Jiang
2019-09-11 18:43   ` [Ksummit-discuss] " Dan Carpenter
2019-09-11 18:43     ` Dan Carpenter
2019-09-11 18:43     ` Dan Carpenter
2019-09-11 22:11     ` Jens Axboe
2019-09-11 22:11       ` Jens Axboe
2019-09-11 22:11       ` Jens Axboe
2019-09-12  7:41       ` Dan Williams
2019-09-12  7:41         ` Dan Williams
2019-09-12  7:41         ` Dan Williams
2019-09-12  8:24         ` Miguel Ojeda
2019-09-12  8:24           ` Miguel Ojeda
2019-09-12 10:18           ` Joe Perches
2019-09-12 10:18             ` Joe Perches
2019-09-12 10:18             ` Joe Perches
2019-09-12 11:02             ` Joe Perches
2019-09-12 11:02               ` Joe Perches
2019-09-12 14:17               ` Dan Williams [this message]
2019-09-12 14:17                 ` Dan Williams
2019-09-12 14:51                 ` Joe Perches
2019-09-12 14:51                   ` Joe Perches
2019-09-12 14:42             ` Miguel Ojeda
2019-09-12 14:42               ` Miguel Ojeda
2019-09-13  7:09       ` Jonathan Corbet
2019-09-13  7:09         ` Jonathan Corbet
2019-09-13  7:09         ` Jonathan Corbet
2019-09-13 11:48         ` Dan Carpenter
2019-09-13 11:48           ` Dan Carpenter
2019-09-13 11:48           ` Dan Carpenter
2019-09-13 12:18           ` Dan Williams
2019-09-13 12:18             ` Dan Williams
2019-09-13 12:18             ` Dan Williams
2019-09-13 15:00           ` Randy Dunlap
2019-09-13 15:00             ` Randy Dunlap
2019-09-13 15:00             ` Randy Dunlap
2019-09-13 15:46             ` Rob Herring
2019-09-13 15:46               ` Rob Herring
2019-09-13 15:46               ` Rob Herring
2019-09-13 16:42               ` Joe Perches
2019-09-13 16:42                 ` Joe Perches
2019-09-13 16:42                 ` Joe Perches
2019-09-13 19:32                 ` Rob Herring
2019-09-13 19:32                   ` Rob Herring
2019-09-13 19:32                   ` Rob Herring
2019-09-13 17:57             ` Geert Uytterhoeven
2019-09-13 17:57               ` Geert Uytterhoeven
2019-09-13 17:57               ` Geert Uytterhoeven
2019-09-16 12:42           ` Jani Nikula
2019-09-16 12:42             ` Jani Nikula
2019-09-16 12:42             ` Jani Nikula
2019-09-17 16:16           ` Jason Gunthorpe
2019-09-17 21:59             ` Dan Williams
2019-09-17 21:59               ` Dan Williams
2019-09-17 21:59               ` Dan Williams
2019-09-13 21:44       ` Martin K. Petersen
2019-09-13 21:44         ` Martin K. Petersen
2019-09-13 21:44         ` Martin K. Petersen
2019-09-16  7:01         ` Dan Carpenter
2019-09-16  7:01           ` Dan Carpenter
2019-09-16  7:01           ` Dan Carpenter
2019-09-16 17:08           ` Martin K. Petersen
2019-09-16 17:08             ` Martin K. Petersen
2019-09-16 17:08             ` Martin K. Petersen
2019-09-16 17:15             ` Mark Brown
2019-09-16 17:15               ` Mark Brown
2019-09-13  2:11     ` Aneesh Kumar K.V
2019-09-13  2:11       ` Aneesh Kumar K.V
2019-09-13  5:00       ` Greg KH
2019-09-13  5:00         ` Greg KH
2019-09-11 20:30   ` Joe Perches
2019-09-11 20:30     ` Joe Perches
2019-09-11 20:30     ` Joe Perches
2019-09-13 16:19   ` [Ksummit-discuss] [PATCH] media: add a subsystem profile documentation Mauro Carvalho Chehab
2019-09-13 16:19     ` Mauro Carvalho Chehab
2019-09-13 16:19     ` [Ksummit-discuss] " Mauro Carvalho Chehab
2019-09-17  3:35     ` [Ksummit-discuss] single maintainer profile directory (was Re: [PATCH] media: add a subsystem profile documentation) Kees Cook
2019-09-17  3:35       ` single maintainer profile directory (was Re: [Ksummit-discuss] " Kees Cook
2019-09-17 13:28       ` [Ksummit-discuss] single maintainer profile directory (was " Mauro Carvalho Chehab
2019-09-17 13:28         ` single maintainer profile directory (was Re: [Ksummit-discuss] " Mauro Carvalho Chehab
2019-09-17 16:33         ` [Ksummit-discuss] single maintainer profile directory (was " Kees Cook
2019-09-17 16:33           ` single maintainer profile directory (was Re: [Ksummit-discuss] " Kees Cook
2019-09-18 11:23           ` [Ksummit-discuss] single maintainer profile directory (was " Mauro Carvalho Chehab
2019-09-18 11:23             ` Mauro Carvalho Chehab
2019-09-18 17:39             ` Kees Cook
2019-09-18 17:39               ` Kees Cook
2019-09-18 18:35               ` Mauro Carvalho Chehab
2019-09-18 18:35                 ` Mauro Carvalho Chehab
2019-09-21 19:13             ` Jonathan Corbet
2019-09-21 19:13               ` Jonathan Corbet
2019-09-21 19:45               ` Mauro Carvalho Chehab
2019-09-21 19:45                 ` Mauro Carvalho Chehab
2019-09-23 22:45               ` Kees Cook
2019-09-23 22:45                 ` Kees Cook
2019-09-18 12:36     ` [Ksummit-discuss] [PATCH] media: add a subsystem profile documentation Laurent Pinchart
2019-09-18 12:36       ` Laurent Pinchart
2019-09-18 13:57       ` Mauro Carvalho Chehab
2019-09-18 13:57         ` Mauro Carvalho Chehab
2019-09-18 17:27         ` Laurent Pinchart
2019-09-18 17:27           ` Laurent Pinchart
2019-09-18 18:48           ` Mauro Carvalho Chehab
2019-09-18 18:48             ` Mauro Carvalho Chehab
2019-09-19  7:08             ` Dan Carpenter
2019-09-19  7:08               ` Dan Carpenter
2019-09-20  5:29               ` Joe Perches
2019-09-20  5:29                 ` Joe Perches
2019-09-20 14:09                 ` Daniel Vetter
2019-09-20 14:09                   ` Daniel Vetter
2019-09-19  6:56         ` Dan Carpenter
2019-09-19  6:56           ` Dan Carpenter
2019-09-19  7:22           ` Geert Uytterhoeven
2019-09-19  7:22             ` Geert Uytterhoeven
2019-09-19  8:49             ` Jani Nikula
2019-09-19  8:49               ` Jani Nikula
2019-09-19  8:58               ` Geert Uytterhoeven
2019-09-19  8:58                 ` Geert Uytterhoeven
2019-09-19  9:52                 ` Jani Nikula
2019-09-19  9:52                   ` Jani Nikula
2019-09-20 14:53             ` Laurent Pinchart
2019-09-20 14:53               ` Laurent Pinchart
2019-09-20 14:59               ` Doug Anderson
2019-09-20 14:59                 ` Doug Anderson
2019-09-21  8:56                 ` Jani Nikula
2019-09-21  8:56                   ` Jani Nikula
2019-09-23 15:58                   ` Doug Anderson
2019-09-23 15:58                     ` Doug Anderson
2019-09-23 16:04                     ` Jonathan Corbet
2019-09-23 16:04                       ` Jonathan Corbet
2019-09-19  9:52           ` Mauro Carvalho Chehab
2019-09-19  9:52             ` Mauro Carvalho Chehab
2019-09-25 17:13           ` Joe Perches
2019-09-25 17:13             ` Joe Perches
2019-09-25 18:40             ` Kees Cook
2019-09-25 18:40               ` Kees Cook
2019-09-26 15:14               ` Joe Perches
2019-09-26 15:14                 ` Joe Perches
2019-09-26 15:53                 ` Kees Cook
2019-09-26 15:53                   ` Kees Cook
2019-09-26 16:02                   ` Joe Perches
2019-09-26 16:02                     ` Joe Perches
2019-09-26 16:24                     ` Kees Cook
2019-09-26 16:24                       ` Kees Cook
2019-09-26 10:25             ` Geert Uytterhoeven
2019-09-26 10:25               ` Geert Uytterhoeven
2019-09-18 13:59       ` [Ksummit-discuss] [PATCH v2] " Mauro Carvalho Chehab
2019-09-18 13:59         ` Mauro Carvalho Chehab
2019-09-18 14:07         ` André Almeida
2019-09-18 14:11           ` [Ksummit-discuss] " Mauro Carvalho Chehab
2019-09-18 14:11             ` Mauro Carvalho Chehab
2019-09-11 16:40 ` [Ksummit-discuss] [PATCH v2 0/3] Maintainer Entry Profiles Martin K. Petersen
2019-09-11 16:40   ` Martin K. Petersen
2019-09-11 16:40   ` Martin K. Petersen
2019-09-12 13:31   ` [Ksummit-discuss] " Bart Van Assche
2019-09-12 13:31     ` Bart Van Assche
2019-09-12 13:31     ` Bart Van Assche
2019-09-12 15:34     ` Joe Perches
2019-09-12 15:34       ` Joe Perches
2019-09-12 15:34       ` Joe Perches
2019-09-12 20:01       ` Bart Van Assche
2019-09-12 20:01         ` Bart Van Assche
2019-09-12 20:01         ` Bart Van Assche
2019-09-12 20:34         ` Joe Perches
2019-09-12 20:34           ` Joe Perches
2019-09-12 20:34           ` Joe Perches
2019-09-13 14:26           ` Rob Herring
2019-09-13 14:26             ` Rob Herring
2019-09-13 14:26             ` Rob Herring
2019-09-13 18:42             ` Joe Perches
2019-09-13 18:42               ` Joe Perches
2019-09-13 18:42               ` Joe Perches
2019-09-13 19:17               ` Mauro Carvalho Chehab
2019-09-13 19:17                 ` Mauro Carvalho Chehab
2019-09-13 19:17                 ` Mauro Carvalho Chehab
2019-09-13 20:33                 ` Joe Perches
2019-09-13 20:33                   ` Joe Perches
2019-09-13 20:33                   ` Joe Perches
2019-09-13 12:56         ` Matthew Wilcox
2019-09-13 12:56           ` Matthew Wilcox
2019-09-13 13:54           ` Mauro Carvalho Chehab
2019-09-13 13:54             ` Mauro Carvalho Chehab
2019-09-13 13:54             ` Mauro Carvalho Chehab
2019-09-13 14:59             ` Guenter Roeck
2019-09-13 14:59               ` Guenter Roeck
2019-09-13 14:59               ` Guenter Roeck
2019-09-13 22:03     ` Martin K. Petersen
2019-09-13 22:03       ` Martin K. Petersen
2019-09-13 22:03       ` Martin K. Petersen
2020-04-29 13:55       ` Roman Bolshakov
2020-04-29 13:55         ` Roman Bolshakov
2019-09-12 13:10 ` Bart Van Assche
2019-09-12 13:10   ` Bart Van Assche
2019-09-12 13:10   ` Bart Van Assche

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAPcyv4iu13D5P+ExdeW8OGMV8g49fMUy52xbYZM+bewwVSwhjg@mail.gmail.com \
    --to=dan.j.williams@intel.com \
    --cc=dan.carpenter@oracle.com \
    --cc=joe@perches.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-nvdimm@lists.01.org \
    --cc=miguel.ojeda.sandonis@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.