]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - scripts/kernel-doc
kernel-doc: do not regard $, %, or & prefixes as special in section names
authorJani Nikula <jani.nikula@intel.com>
Thu, 26 May 2016 05:57:29 +0000 (08:57 +0300)
committerJani Nikula <jani.nikula@intel.com>
Mon, 30 May 2016 10:38:59 +0000 (13:38 +0300)
commit13901ef27c354e1bab49a30184ae3b96d96e521a
tree14824562c79870cff91ff793ff3a578e76976d29
parentc099ff6989baf286da8eaed5c7b3d18ae60ea2e7
kernel-doc: do not regard $, %, or & prefixes as special in section names

The use of these is confusing in the script, and per this grep, they're
not used anywhere anyway:

$ git grep " \* [%$&][a-zA-Z0-9_]*:" -- *.[ch] | grep -v "\$\(Id\|Revision\|Date\)"

While at it, throw out the constants array, nothing is ever put there
again.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
scripts/kernel-doc