diff options
| author | Randy Dunlap <[email protected]> | 2024-11-20 06:07:11 +0000 |
|---|---|---|
| committer | Jonathan Corbet <[email protected]> | 2024-12-11 16:07:40 +0000 |
| commit | 28884915e6b14c9af4ddbb5f89d64edd863494c0 (patch) | |
| tree | 3074268d27fae248842ee61a8d91fa085a85ad48 /lib/parser.c | |
| parent | docs/sp_SP: Move development-process to top of index (diff) | |
| download | kernel-28884915e6b14c9af4ddbb5f89d64edd863494c0.tar.gz kernel-28884915e6b14c9af4ddbb5f89d64edd863494c0.zip | |
Documentation: core-api: add generic parser docbook
Add the simple generic parser to the core-api docbook.
It can be used for parsing all sorts of options throughout the kernel.
Signed-off-by: Randy Dunlap <[email protected]>
Cc: Alexander Viro <[email protected]>
Cc: Eric Biggers <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Jonathan Corbet <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Jonathan Corbet <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/parser.c')
| -rw-r--r-- | lib/parser.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/parser.c b/lib/parser.c index f4eafb9d74e6..73e8f8e5be73 100644 --- a/lib/parser.c +++ b/lib/parser.c @@ -275,8 +275,9 @@ EXPORT_SYMBOL(match_hex); * * Description: Parse the string @str to check if matches wildcard * pattern @pattern. The pattern may contain two types of wildcards: - * '*' - matches zero or more characters - * '?' - matches one character + * + * * '*' - matches zero or more characters + * * '?' - matches one character * * Return: If the @str matches the @pattern, return true, else return false. */ |
