Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1641317
| From | Peter Zijlstra <peterz@infradead.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 04/36] mutex, futex: adjust kernel-doc markups to generate ReST |
| Date | 2017-05-15 09:10 +0200 |
| Message-ID | <tHiiJ-4Th-5@gated-at.bofh.it> (permalink) |
| References | (1 earlier) <tGjqy-5DF-13@gated-at.bofh.it> <tGlVo-7jv-25@gated-at.bofh.it> <tGqLo-2to-3@gated-at.bofh.it> <tGr4J-2RP-3@gated-at.bofh.it> <tGr4J-2RP-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Fri, May 12, 2017 at 03:19:17PM -0700, Darren Hart wrote: > On Sat, May 13, 2017 at 12:11:09AM +0200, Peter Zijlstra wrote: > > And I really _really_ hate to see that rest crap spread here. Can't we > > just delete all that nonsense and go back to 80 column 7bit ASCII ? > > > > Depending on the source this could be a genuine appeal or satire.... :-D A bit of both of course ;-) > In this case, I don't think the ReST changes (with -) make the comment block any > less readable in the C files. > > > It is an incentive not to use kerneldoc.. > > > > I like the kerneldoc if for no other reason that it helps keeps formatting > consistent. I would object if I started seeing XML or some other horrible > formatting style showing up in the code, but this honestly seems like a fairly > minimal imposition... but that's me. Well, I don't mind the '-' thing before return values too much, but the below chunk is just pure drivel. It makes a perfectly good comment worse. --- a/kernel/locking/mutex.c +++ b/kernel/locking/mutex.c @@ -227,9 +227,11 @@ static void __sched __mutex_lock_slowpath(struct mutex *lock); * (or statically defined) before it can be locked. memset()-ing * the mutex to 0 is not allowed. * - * ( The CONFIG_DEBUG_MUTEXES .config option turns on debugging + * .. note:: + * + * The CONFIG_DEBUG_MUTEXES .config option turns on debugging * checks that will enforce the restrictions and will also do - * deadlock debugging. ) + * deadlock debugging. * * This function is similar to (but not equivalent to) down(). */
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 04/36] mutex, futex: adjust kernel-doc markups to generate ReST Mauro Carvalho Chehab <mchehab@s-opensource.com> - 2017-05-12 16:10 +0200
Re: [PATCH 04/36] mutex, futex: adjust kernel-doc markups to generate ReST Darren Hart <dvhart@infradead.org> - 2017-05-12 18:50 +0200
Re: [PATCH 04/36] mutex, futex: adjust kernel-doc markups to generate ReST Mauro Carvalho Chehab <mchehab@s-opensource.com> - 2017-05-13 00:00 +0200
Re: [PATCH 04/36] mutex, futex: adjust kernel-doc markups to generate ReST Darren Hart <dvhart@infradead.org> - 2017-05-13 00:20 +0200
Re: [PATCH 04/36] mutex, futex: adjust kernel-doc markups to generate ReST Mauro Carvalho Chehab <mchehab@s-opensource.com> - 2017-05-13 11:50 +0200
Re: [PATCH 04/36] mutex, futex: adjust kernel-doc markups to generate ReST Peter Zijlstra <peterz@infradead.org> - 2017-05-15 09:10 +0200
Re: [PATCH 04/36] mutex, futex: adjust kernel-doc markups to generate ReST Mauro Carvalho Chehab <mchehab@s-opensource.com> - 2017-05-15 11:10 +0200
Re: [PATCH 04/36] mutex, futex: adjust kernel-doc markups to generate ReST Peter Zijlstra <peterz@infradead.org> - 2017-05-15 11:40 +0200
Re: [PATCH 04/36] mutex, futex: adjust kernel-doc markups to generate ReST Jani Nikula <jani.nikula@linux.intel.com> - 2017-05-15 12:30 +0200
Re: [PATCH 04/36] mutex, futex: adjust kernel-doc markups to generate ReST Peter Zijlstra <peterz@infradead.org> - 2017-05-15 13:50 +0200
Re: [PATCH 04/36] mutex, futex: adjust kernel-doc markups to generate ReST Jani Nikula <jani.nikula@linux.intel.com> - 2017-05-15 14:10 +0200
Re: [PATCH 04/36] mutex, futex: adjust kernel-doc markups to generate ReST Darren Hart <dvhart@infradead.org> - 2017-05-15 18:50 +0200
Re: [PATCH 04/36] mutex, futex: adjust kernel-doc markups to generate ReST Mauro Carvalho Chehab <mchehab@s-opensource.com> - 2017-05-16 12:20 +0200
Re: [PATCH 04/36] mutex, futex: adjust kernel-doc markups to generate ReST Mauro Carvalho Chehab <mchehab@s-opensource.com> - 2017-05-15 19:30 +0200
Re: [PATCH 04/36] mutex, futex: adjust kernel-doc markups to generate ReST Peter Zijlstra <peterz@infradead.org> - 2017-05-16 13:20 +0200
Re: [PATCH 04/36] mutex, futex: adjust kernel-doc markups to generate ReST Mauro Carvalho Chehab <mchehab@s-opensource.com> - 2017-05-16 13:50 +0200
Re: [PATCH 04/36] mutex, futex: adjust kernel-doc markups to generate ReST Darren Hart <dvhart@infradead.org> - 2017-05-13 00:20 +0200
Re: [PATCH 04/36] mutex, futex: adjust kernel-doc markups to generate ReST Peter Zijlstra <peterz@infradead.org> - 2017-05-13 00:20 +0200
csiph-web