Joe Perches 362173572a 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>
2023-02-02 22:50:07 -08:00
..
2022-08-07 21:30:36 +02:00
2022-12-19 12:33:32 -06:00
2022-12-08 18:25:31 -08:00
2022-09-28 09:02:20 +02:00
2022-09-28 09:02:20 +02:00
2022-12-14 12:20:00 -08:00
2022-09-28 09:02:20 +02:00
2022-12-19 12:33:32 -06:00
2022-03-21 08:13:03 -07:00
2022-11-22 23:40:02 +09:00
2022-11-22 23:40:02 +09:00
2022-09-28 09:02:20 +02:00
2022-10-03 14:03:19 -07:00
2022-12-19 07:13:33 -06:00
2022-03-07 13:54:59 +01:00
2020-12-08 23:30:04 +09:00
2020-12-08 23:30:04 +09:00
2021-05-03 17:23:06 -06:00