[PATCH 12/33] docs: kernel_abi.py: add a script to parse ABI documentation

2020-10-28 Thread Mauro Carvalho Chehab
From: Mauro Carvalho Chehab The ABI documentation is special: it is not plain text files, but, instead, files with an strict format, as specified by Documentation/ABI/README. Add a parser for it. Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Mauro Carvalho Chehab ---

Re: [PATCH 12/33] docs: kernel_abi.py: add a script to parse ABI documentation

2020-10-28 Thread Jonathan Corbet
So this is separate from the patch series itself in a way, but it brings a question to mind: On Wed, 28 Oct 2020 15:23:10 +0100 Mauro Carvalho Chehab wrote: > +# We can't assume that six is installed > +PY3 = sys.version_info[0] == 3 > +PY2 = sys.version_info[0] == 2 > +if PY3: > +# pylint:

Re: [PATCH 12/33] docs: kernel_abi.py: add a script to parse ABI documentation

2020-10-28 Thread Mauro Carvalho Chehab
Em Wed, 28 Oct 2020 10:21:03 -0600 Jonathan Corbet escreveu: > So this is separate from the patch series itself in a way, but it brings a > question to mind: > > On Wed, 28 Oct 2020 15:23:10 +0100 > Mauro Carvalho Chehab wrote: > > > +# We can't assume that six is installed > > +PY3 =