Re: [PATCH 1/4] scripts/kernel-doc: Remove duplicated DOC: start handling

2016-06-03 Thread Jani Nikula
On Thu, 02 Jun 2016, Daniel Vetter wrote: > On Thu, Jun 2, 2016 at 11:39 AM, Daniel Vetter wrote: >> On Thu, Jun 2, 2016 at 9:16 AM, Jani Nikula >> wrote: >>> On Thu, 02 Jun 2016, Daniel Vetter wrote: Further up in the state machinery we switch from STATE_NAME to STATE_DOCBLOCK when

Re: [PATCH 1/4] scripts/kernel-doc: Remove duplicated DOC: start handling

2016-06-02 Thread Daniel Vetter
On Thu, Jun 2, 2016 at 11:39 AM, Daniel Vetter wrote: > On Thu, Jun 2, 2016 at 9:16 AM, Jani Nikula > wrote: >> On Thu, 02 Jun 2016, Daniel Vetter wrote: >>> Further up in the state machinery we switch from STATE_NAME to >>> STATE_DOCBLOCK when we match /$doc_block/. Which means this >>> block

Re: [PATCH 1/4] scripts/kernel-doc: Remove duplicated DOC: start handling

2016-06-02 Thread Daniel Vetter
On Thu, Jun 2, 2016 at 9:16 AM, Jani Nikula wrote: > On Thu, 02 Jun 2016, Daniel Vetter wrote: >> Further up in the state machinery we switch from STATE_NAME to >> STATE_DOCBLOCK when we match /$doc_block/. Which means this >> block of code here is entirely unreachable. >> >> Nuke it. > > kernel-

Re: [PATCH 1/4] scripts/kernel-doc: Remove duplicated DOC: start handling

2016-06-02 Thread Jani Nikula
On Thu, 02 Jun 2016, Daniel Vetter wrote: > Further up in the state machinery we switch from STATE_NAME to > STATE_DOCBLOCK when we match /$doc_block/. Which means this > block of code here is entirely unreachable. > > Nuke it. kernel-doc currently supports multiple DOC: lines in a single kernel-

[PATCH 1/4] scripts/kernel-doc: Remove duplicated DOC: start handling

2016-06-01 Thread Daniel Vetter
Further up in the state machinery we switch from STATE_NAME to STATE_DOCBLOCK when we match /$doc_block/. Which means this block of code here is entirely unreachable. Nuke it. Cc: Jani Nikula Cc: linux-doc@vger.kernel.org Cc: Jonathan Corbet Signed-off-by: Daniel Vetter --- scripts/kernel-doc