]> git.baikalelectronics.ru Git - kernel.git/commit
checkpatch: correct check for kernel parameters doc
authorTim Froidcoeur <tim.froidcoeur@tessares.net>
Thu, 11 Jun 2020 01:41:38 +0000 (18:41 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 11 Jun 2020 02:14:17 +0000 (19:14 -0700)
commit3d21a80cf158c1cc28c86f66ad86f9d32a3fd033
tree64800e5fffb6a5cd00c0d96deff3198a8bece761
parent95fa49037022d9894d998e549ca0b6e4830b6737
checkpatch: correct check for kernel parameters doc

Adding a new kernel parameter with documentation makes checkpatch complain

  __setup appears un-documented -- check Documentation/admin-guide/kernel-parameters.rst

The list of kernel parameters has moved to a separate txt file, but
checkpatch has not been updated for this.

Make checkpatch.pl look for the documentation for new kernel parameters
in kernel-parameters.txt instead of kernel-parameters.rst.

Fixes: 7109c1e6932f ("Documentation/admin-guide: split the kernel parameter list to a separate file")
Signed-off-by: Tim Froidcoeur <tim.froidcoeur@tessares.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: Joe Perches <joe@perches.com>
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl