diff options
author | Joe Perches <[email protected]> | 2023-01-24 15:16:55 -0800 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2023-02-02 22:50:07 -0800 |
commit | 362173572a4018e9c8e39c616823189c41d39d41 (patch) | |
tree | a86ec850e0f9b1b2760226e5605dcdc7da44e2c7 /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | 3ee2a3e7c1ca3b263c41cff81619ab1d200fadfb (diff) |
checkpatch: improve EMBEDDED_FILENAME test
Privately, Heinz Mauelshagen showed that the embedded filename test is not
specific enough.
> WARNING: It's generally not useful to have the filename in the file
> #113: FILE: errors.c:113:
> + block < registered_errors.blocks + registered_errors.count;
Extend the test to use the appropriate word boundary tests.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Joe Perches <[email protected]>
Reported-by: Heinz Mauelshagen <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions