parser: add unsigned int parser
Subsystems (2)
PATCH v2 1/3 parser: add unsigned int parser
From: BingJing Chang <[email protected]>
Will be used by fs parsing options & fix kernel-doc typos
--- include/linux/parser.h | 1 + lib/parser.c | 44 +++++++++++++++++++++++++++++++++----------- 2 files changed, 34 insertions(+), 11 deletions(-)
include/linux/parser.h +1 -0
@@ -29,6 +29,7 @@ typedef struct {int match_token (char *,const match_table_t table,substring_t args[]);int match_int (substring_t *,int *result); +int match_uint (substring_t *s,unsigned int *result);int match_u64 (substring_t *,u64 *result);int match_octal (substring_t *,int *result);int match_hex (substring_t *,int *result);
lib/parser.c +33 -11
111 lines not on this page · raw message
Signature · 1 line
2.7.4
Quoted 8 lines · bingjingc
From: BingJing Chang <[email protected]>
Will be used by fs parsing options & fix kernel-doc typos
Reviewed-by Robbie Ko<[email protected]>Reviewed-by Chung-Chiang Cheng <[email protected]>Reviewed-by Matthew Wilcox <[email protected]>Reviewed-by Randy Dunlap <[email protected]>
You should drop my Reviewed-by: also, until I explicitly reply with that.
Quoted 5 lines
Signed-off-by BingJing Chang <[email protected]>--- include/linux/parser.h | 1 + lib/parser.c | 44 +++++++++++++++++++++++++++++++++----------- 2 files changed, 34 insertions(+), 11 deletions(-)
The kernel-doc changes do look good. :)
thanks.
Signature · 1 line
~Randy
A message that is not in the archive (sent off-list or not yet received): 6862f3e8-5eb6-4364-a05e-d4ad23d1d37d@Mail
Hi Randy,
Thank you for talking to me the correct kernel-doc format. :)
I also split the cleanup of kernel doc comments into an independent patch due to Jan's comments and submitted it. Thank you.
bingjingc <[email protected]> 於 2021年1月29日 週五 下午1:51寫道:
Quoted 23 lines
[loop [email protected]] in order to reply in plain-text Randy Dunlap <[email protected]> 於 2021-01-29 05:26 寫道:
Quoted 8 lines · bingjingc
From: BingJing Chang <[email protected]>
Will be used by fs parsing options & fix kernel-doc typos
Reviewed-by Robbie Ko<[email protected]>Reviewed-by Chung-Chiang Cheng <[email protected]>Reviewed-by Matthew Wilcox <[email protected]>Reviewed-by Randy Dunlap <[email protected]>You should drop my Reviewed-by: also, until I explicitly reply with that.
Quoted 5 lines
Signed-off-by BingJing Chang <[email protected]>--- include/linux/parser.h | 1 + lib/parser.c | 44 +++++++++++++++++++++++++++++++++----------- 2 files changed, 34 insertions(+), 11 deletions(-)
Quoted 6 lines
The kernel-doc changes do look good. :)
thanks.
--
~Randy
Thanks,
BingJing