diff options
author | James Smart <james.smart@broadcom.com> | 2016-10-21 23:51:54 +0300 |
---|---|---|
committer | Sagi Grimberg <sagi@grimberg.me> | 2016-12-06 11:17:03 +0300 |
commit | a317178e36b52f5f24ad226a77403eeea5ac05c4 (patch) | |
tree | 8e070c2160f1a73c21d45622cea5cd5b36123cb2 /include/linux/parser.h | |
parent | 27a4beef0b0508621c34aa61725eec2aa39904e0 (diff) | |
download | linux-a317178e36b52f5f24ad226a77403eeea5ac05c4.tar.xz |
parser: add u64 number parser
Will be used by the nvme-fabrics FC transport in parsing options
Signed-off-by: James Smart <james.smart@broadcom.com>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Diffstat (limited to 'include/linux/parser.h')
-rw-r--r-- | include/linux/parser.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/parser.h b/include/linux/parser.h index 39d5b7955b23..884c1e6eb3fe 100644 --- a/include/linux/parser.h +++ b/include/linux/parser.h @@ -27,6 +27,7 @@ typedef struct { int match_token(char *, const match_table_t table, substring_t args[]); int match_int(substring_t *, int *result); +int match_u64(substring_t *, u64 *result); int match_octal(substring_t *, int *result); int match_hex(substring_t *, int *result); bool match_wildcard(const char *pattern, const char *str); |