diff options
author | Joe Perches <joe@perches.com> | 2020-10-16 05:12:19 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2020-10-16 20:11:21 +0200 |
commit | a0154cdbd3dcf2b1b92f42cb1351a63f3f947e80 (patch) | |
tree | 6757efb8dacb5b1b36bfe77ae0b84fb8da785b08 /include/asm-generic/switch_to.h | |
parent | checkpatch: extend author Signed-off-by check for split From: header (diff) | |
download | linux-a0154cdbd3dcf2b1b92f42cb1351a63f3f947e80.tar.xz linux-a0154cdbd3dcf2b1b92f42cb1351a63f3f947e80.zip |
checkpatch: emit a warning on embedded filenames
Embedding the complete filename path inside the file isn't particularly
useful as often the path is moved around and becomes incorrect.
Emit a warning when the source contains the filename.
[akpm@linux-foundation.org: remove stray " di"]
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Link: https://lkml.kernel.org/r/1fd5f9188a14acdca703ca00301ee323de672a8d.camel@perches.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-generic/switch_to.h')
0 files changed, 0 insertions, 0 deletions