Re: [Ksummit-discuss] [PATCH v2 3/3] libnvdimm, MAINTAINERS: Maintainer Entry Profile

2019-09-17 Thread Dan Williams
On Tue, Sep 17, 2019 at 9:16 AM Jason Gunthorpe wrote: > > On Fri, Sep 13, 2019 at 02:48:50PM +0300, Dan Carpenter wrote: > > > It used to be that infiniband used "sizeof foo" instead of sizeof(foo) > > but now there is a new maintainer. > > These days I run everything through checkpatch and

Re: [Ksummit-discuss] [PATCH v2 3/3] libnvdimm, MAINTAINERS: Maintainer Entry Profile

2019-09-16 Thread Martin K. Petersen
Dan, >> One pet peeve I have is that people are pretty bad at indicating the >> intended target tree. I often ask for it in private mail but the >> practice doesn't seem to stick. I spend a ton of time guessing whether a >> patch is a fix for a new feature in the x+1 queue or a fix for the >>

Re: [Ksummit-discuss] [PATCH v2 3/3] libnvdimm, MAINTAINERS: Maintainer Entry Profile

2019-09-16 Thread Dan Carpenter
On Fri, Sep 13, 2019 at 05:44:39PM -0400, Martin K. Petersen wrote: > One pet peeve I have is that people are pretty bad at indicating the > intended target tree. I often ask for it in private mail but the > practice doesn't seem to stick. I spend a ton of time guessing whether a > patch is a fix

Re: [Ksummit-discuss] [PATCH v2 3/3] libnvdimm, MAINTAINERS: Maintainer Entry Profile

2019-09-13 Thread Martin K. Petersen
Jens, > Additionally, it would seem saner to standardize rules around when > code is expected to hit the maintainers hands for kernel > releases. Both yours and Martins deals with that, there really > shouldn't be the need to have this specified in detail per sub-system. Yeah. There is

Re: [Ksummit-discuss] [PATCH v2 3/3] libnvdimm, MAINTAINERS: Maintainer Entry Profile

2019-09-13 Thread Rob Herring
On Fri, Sep 13, 2019 at 11:42 AM Joe Perches wrote: > > On Fri, 2019-09-13 at 16:46 +0100, Rob Herring wrote: > > On Fri, Sep 13, 2019 at 4:00 PM Randy Dunlap wrote: > > > On 9/13/19 4:48 AM, Dan Carpenter wrote: > > > > > > > > So I'm expecting to take this kind of stuff into Documentation/.

Re: [Ksummit-discuss] [PATCH v2 3/3] libnvdimm, MAINTAINERS: Maintainer Entry Profile

2019-09-13 Thread Geert Uytterhoeven
Hi Randy, On Fri, Sep 13, 2019 at 5:00 PM Randy Dunlap wrote: > On 9/13/19 4:48 AM, Dan Carpenter wrote: > >> So I'm expecting to take this kind of stuff into Documentation/. My own > >> personal hope is that it can maybe serve to shame some of these "local > >> quirks" out of existence. The

Re: [Ksummit-discuss] [PATCH v2 3/3] libnvdimm, MAINTAINERS: Maintainer Entry Profile

2019-09-13 Thread Joe Perches
On Fri, 2019-09-13 at 16:46 +0100, Rob Herring wrote: > On Fri, Sep 13, 2019 at 4:00 PM Randy Dunlap wrote: > > On 9/13/19 4:48 AM, Dan Carpenter wrote: > > > > > > So I'm expecting to take this kind of stuff into Documentation/. My own > > > > personal hope is that it can maybe serve to shame

Re: [Ksummit-discuss] [PATCH v2 3/3] libnvdimm, MAINTAINERS: Maintainer Entry Profile

2019-09-13 Thread Rob Herring
On Fri, Sep 13, 2019 at 4:00 PM Randy Dunlap wrote: > > On 9/13/19 4:48 AM, Dan Carpenter wrote: > > >> So I'm expecting to take this kind of stuff into Documentation/. My own > >> personal hope is that it can maybe serve to shame some of these "local > >> quirks" out of existence. The evidence

Re: [Ksummit-discuss] [PATCH v2 3/3] libnvdimm, MAINTAINERS: Maintainer Entry Profile

2019-09-13 Thread Randy Dunlap
On 9/13/19 4:48 AM, Dan Carpenter wrote: >> So I'm expecting to take this kind of stuff into Documentation/. My own >> personal hope is that it can maybe serve to shame some of these "local >> quirks" out of existence. The evidence from this brief discussion suggests >> that this might indeed

Re: [Ksummit-discuss] [PATCH v2 3/3] libnvdimm, MAINTAINERS: Maintainer Entry Profile

2019-09-13 Thread Dan Williams
On Fri, Sep 13, 2019 at 4:49 AM Dan Carpenter wrote: > > On Fri, Sep 13, 2019 at 01:09:37AM -0600, Jonathan Corbet wrote: > > On Wed, 11 Sep 2019 16:11:29 -0600 > > Jens Axboe wrote: > > > > > On 9/11/19 12:43 PM, Dan Carpenter wrote: > > > > > > > > I kind of hate all this extra documentation

Re: [Ksummit-discuss] [PATCH v2 3/3] libnvdimm, MAINTAINERS: Maintainer Entry Profile

2019-09-13 Thread Dan Carpenter
On Fri, Sep 13, 2019 at 01:09:37AM -0600, Jonathan Corbet wrote: > On Wed, 11 Sep 2019 16:11:29 -0600 > Jens Axboe wrote: > > > On 9/11/19 12:43 PM, Dan Carpenter wrote: > > > > > > I kind of hate all this extra documentation because now everyone thinks > > > they can invent new hoops to jump

Re: [Ksummit-discuss] [PATCH v2 3/3] libnvdimm, MAINTAINERS: Maintainer Entry Profile

2019-09-13 Thread Jonathan Corbet
On Wed, 11 Sep 2019 16:11:29 -0600 Jens Axboe wrote: > On 9/11/19 12:43 PM, Dan Carpenter wrote: > > > > I kind of hate all this extra documentation because now everyone thinks > > they can invent new hoops to jump through. > > FWIW, I completely agree with Dan (Carpenter) here. I absolutely

Re: [Ksummit-discuss] [PATCH v2 3/3] libnvdimm, MAINTAINERS: Maintainer Entry Profile

2019-09-12 Thread Greg KH
On Fri, Sep 13, 2019 at 07:41:55AM +0530, Aneesh Kumar K.V wrote: > On 9/12/19 12:13 AM, Dan Carpenter wrote: > > On Wed, Sep 11, 2019 at 08:48:59AM -0700, Dan Williams wrote: > > > +Coding Style Addendum > > > +- > > > +libnvdimm expects multi-line statements to be double

Re: [Ksummit-discuss] [PATCH v2 3/3] libnvdimm, MAINTAINERS: Maintainer Entry Profile

2019-09-12 Thread Aneesh Kumar K.V
On 9/12/19 12:13 AM, Dan Carpenter wrote: On Wed, Sep 11, 2019 at 08:48:59AM -0700, Dan Williams wrote: +Coding Style Addendum +- +libnvdimm expects multi-line statements to be double indented. I.e. + +if (x... +&& ...y) { That looks

Re: [Ksummit-discuss] [PATCH v2 3/3] libnvdimm, MAINTAINERS: Maintainer Entry Profile

2019-09-12 Thread Joe Perches
On Thu, 2019-09-12 at 07:17 -0700, Dan Williams wrote: > 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

Re: [Ksummit-discuss] [PATCH v2 3/3] libnvdimm, MAINTAINERS: Maintainer Entry Profile

2019-09-12 Thread Miguel Ojeda
On Thu, Sep 12, 2019 at 12:18 PM Joe Perches wrote: > > I don't think that's close to true yet for clang-format. I don't expect clang-format to match perfectly our current code style. However, if core maintainers agree that it is "close enough now" (specially with newer LLVMs, like 9), then

Re: [Ksummit-discuss] [PATCH v2 3/3] libnvdimm, MAINTAINERS: Maintainer Entry Profile

2019-09-12 Thread Dan Williams
On Thu, Sep 12, 2019 at 4:02 AM Joe Perches 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 > > > wrote: > > > > Now I come to find that

Re: [Ksummit-discuss] [PATCH v2 3/3] libnvdimm, MAINTAINERS: Maintainer Entry Profile

2019-09-12 Thread Joe Perches
On Thu, 2019-09-12 at 10:24 +0200, Miguel Ojeda wrote: > On Thu, Sep 12, 2019 at 9:43 AM Dan Williams 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

Re: [Ksummit-discuss] [PATCH v2 3/3] libnvdimm, MAINTAINERS: Maintainer Entry Profile

2019-09-12 Thread Miguel Ojeda
On Thu, Sep 12, 2019 at 9:43 AM Dan Williams 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

Re: [Ksummit-discuss] [PATCH v2 3/3] libnvdimm, MAINTAINERS: Maintainer Entry Profile

2019-09-12 Thread Dan Williams
On Wed, Sep 11, 2019 at 3:11 PM Jens Axboe wrote: > > On 9/11/19 12:43 PM, Dan Carpenter wrote: > > On Wed, Sep 11, 2019 at 08:48:59AM -0700, Dan Williams wrote: > >> +Coding Style Addendum > >> +- > >> +libnvdimm expects multi-line statements to be double indented. I.e. > >>

Re: [Ksummit-discuss] [PATCH v2 3/3] libnvdimm, MAINTAINERS: Maintainer Entry Profile

2019-09-11 Thread Jens Axboe
On 9/11/19 12:43 PM, Dan Carpenter wrote: > On Wed, Sep 11, 2019 at 08:48:59AM -0700, Dan Williams wrote: >> +Coding Style Addendum >> +- >> +libnvdimm expects multi-line statements to be double indented. I.e. >> + >> +if (x... >> +&& ...y) { >

Re: [Ksummit-discuss] [PATCH v2 3/3] libnvdimm, MAINTAINERS: Maintainer Entry Profile

2019-09-11 Thread Joe Perches
On Wed, 2019-09-11 at 08:48 -0700, Dan Williams wrote: > Document the basic policies of the libnvdimm subsystem and provide a first > example of a Maintainer Entry Profile for others to duplicate and edit. [] > +Coding Style Addendum > +- > +libnvdimm expects multi-line

Re: [Ksummit-discuss] [PATCH v2 3/3] libnvdimm, MAINTAINERS: Maintainer Entry Profile

2019-09-11 Thread Dan Carpenter
On Wed, Sep 11, 2019 at 08:48:59AM -0700, Dan Williams wrote: > +Coding Style Addendum > +- > +libnvdimm expects multi-line statements to be double indented. I.e. > + > +if (x... > +&& ...y) { That looks horrible and it causes a checkpatch

Re: [Ksummit-discuss] [PATCH v2 3/3] libnvdimm, MAINTAINERS: Maintainer Entry Profile

2019-09-11 Thread Vishal Verma
> Document the basic policies of the libnvdimm subsystem and provide a first > example of a Maintainer Entry Profile for others to duplicate and edit. > > Cc: Vishal Verma > Cc: Dave Jiang > Signed-off-by: Dan Williams > --- > Documentation/nvdimm/maintainer-entry-profile.rst | 64 >