diff options
| author | Inseob Kim <inseob@google.com> | 2026-03-26 11:06:04 +0900 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2026-04-02 23:36:24 -0700 |
| commit | d01684a2f0f84a3d4210bb76a7ca62c4253b8e93 (patch) | |
| tree | 535966674231c927395b59dd8d601304dbd044dd /rust/kernel/interop/git@git.tavy.me:linux-stable.git | |
| parent | 0913b7554726aac089cab89b6f0877dafc30b2a0 (diff) | |
lib: parser: fix match_wildcard to correctly handle trailing stars
This fixes a bug in match_wildcard that incorrectly handles trailing
asterisks. For example, `match_wildcard("abc**", "abc")` must return
true, but it returns false.
Link: https://lkml.kernel.org/r/20260326020630.4139520-1-inseob@google.com
Signed-off-by: Inseob Kim <inseob@google.com>
Cc: Changbin Du <changbin.du@gmail.com>
Cc: Jason Baron <jbaron@akamai.com>
Cc: Joe Perches <joe@perches.com>
Cc: Josh Law <objecting@objecting.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'rust/kernel/interop/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions
