diff options
author | Michal Zylowski <michal.zylowski@intel.com> | 2018-08-22 07:58:08 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-08-22 20:52:49 +0300 |
commit | 6ad724e2a48fc24dd9788490d85a3490cb0117c1 (patch) | |
tree | 01ad0efaeb18b10fae8e0af5df84d2acd0d70d2b /Documentation/process/changes.rst | |
parent | 56294112791ac11c6fcdc6544f1381f9272202db (diff) | |
download | linux-6ad724e2a48fc24dd9788490d85a3490cb0117c1.tar.xz |
checkpatch: check for space after "else" keyword
Current checkpatch implementation permits notation like
} else{
in kernel code. It looks like oversight and inconsistency in checkpatch
rules (e.g. instruction like 'do' is tested).
Add regex for checking space after 'else' keyword and trigger error if
space is not present.
Link: http://lkml.kernel.org/r/1533545753-8870-1-git-send-email-michal.zylowski@intel.com
Signed-off-by: Michal Zylowski <michal.zylowski@intel.com>
Acked-by: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/process/changes.rst')
0 files changed, 0 insertions, 0 deletions