diff options
author | Joe Perches <joe@perches.com> | 2023-01-25 02:16:55 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-02-03 09:50:07 +0300 |
commit | 362173572a4018e9c8e39c616823189c41d39d41 (patch) | |
tree | a86ec850e0f9b1b2760226e5605dcdc7da44e2c7 /Documentation/usb/dwc3.rst | |
parent | 3ee2a3e7c1ca3b263c41cff81619ab1d200fadfb (diff) | |
download | linux-362173572a4018e9c8e39c616823189c41d39d41.tar.xz |
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/36069dac5d07509dab1c7f1238f8cbb08db80ac6.camel@perches.com
Signed-off-by: Joe Perches <joe@perches.com>
Reported-by: Heinz Mauelshagen <heinzm@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'Documentation/usb/dwc3.rst')
0 files changed, 0 insertions, 0 deletions