diff options
author | Bart Van Assche <bart.vanassche@sandisk.com> | 2015-09-04 15:43:21 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-09-04 16:54:41 -0700 |
commit | d40e1e6532efbb40f8fc1f5af093063a3d186754 (patch) | |
tree | 9e037961e86f034ec81f19cb4a466a9bdf36462b /scripts/Lindent | |
parent | c22b6ae69ee93c1ecc6821847a8542163fbf3e1a (diff) | |
download | linux-d40e1e6532efbb40f8fc1f5af093063a3d186754.tar.gz linux-d40e1e6532efbb40f8fc1f5af093063a3d186754.tar.bz2 linux-d40e1e6532efbb40f8fc1f5af093063a3d186754.zip |
kerneldoc: Convert error messages to GNU error message format
Editors like emacs and vi recognize a number of error message formats.
The format used by the kerneldoc tool is not recognized by emacs.
Change the kerneldoc error message format to the GNU style such that the
emacs prev-error and next-error commands can be used to navigate through
kerneldoc error messages. For more information about the GNU error
message format, see also
https://www.gnu.org/prep/standards/html_node/Errors.html.
This patch has been generated via the following sed command:
sed -i.orig 's/Error(\${file}:\$.):/\${file}:\$.: error:/g;s/Warning(\${file}:\$.):/\${file}:\$.: warning:/g;s/Warning(\${file}):/\${file}:1: warning:/g;s/Info(\${file}:\$.):/\${file}:\$.: info:/g' scripts/kernel-doc
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Cc: Johannes Berg <johannes.berg@intel.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts/Lindent')
0 files changed, 0 insertions, 0 deletions