]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
lib: glob: fix grammar and replace non-inclusive terminology
authorJosh Law <objecting@objecting.org>
Sun, 1 Mar 2026 15:45:53 +0000 (15:45 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Sat, 28 Mar 2026 04:19:37 +0000 (21:19 -0700)
Fix a missing article ('a') in the comment describing the glob
implementation, and replace 'blacklists' with 'denylists' to align with
the kernel's inclusive terminology guidelines.

Link: https://lkml.kernel.org/r/20260301154553.2592681-1-objecting@objecting.org
Signed-off-by: Josh Law <objecting@objecting.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
lib/glob.c

index d0654a5b6f0b1810275856a9fb487b8753a4dd72..3e4a4b96f6d0cc8ae0fbf28a8f0d4031fbca10a5 100644 (file)
@@ -21,7 +21,7 @@ MODULE_LICENSE("Dual MIT/GPL");
  * Pattern metacharacters are ?, *, [ and \.
  * (And, inside character classes, !, - and ].)
  *
- * This is small and simple implementation intended for device blacklists
+ * This is a small and simple implementation intended for device denylists
  * where a string is matched against a number of patterns.  Thus, it
  * does not preprocess the patterns.  It is non-recursive, and run-time
  * is at most quadratic: strlen(@str)*strlen(@pat).