diff options
author | Sean Anderson <seanga2@gmail.com> | 2020-10-27 19:55:21 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-10-30 10:54:38 -0400 |
commit | b66a924f9762bf4d608c6061d5fa2ab79f803e13 (patch) | |
tree | e5857645c5a1115f550a23cf2c0b4adf830ded68 /include/log.h | |
parent | 69529f9840f5de01a5865d2b55cd741713676956 (diff) | |
download | u-boot-b66a924f9762bf4d608c6061d5fa2ab79f803e13.tar.gz |
log: Fix incorrect documentation of log_filter.cat_list
Logging category lists are terminated by LOGC_END, not LOGC_NONE.
Fixes: e9c8d49d54 ("log: Add an implementation of logging")
Signed-off-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'include/log.h')
-rw-r--r-- | include/log.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/log.h b/include/log.h index 58787a35324..d921f0ab44a 100644 --- a/include/log.h +++ b/include/log.h @@ -372,7 +372,7 @@ enum log_filter_flags { * new filter, and must be provided when removing a previously added * filter. * @flags: Flags for this filter (LOGFF_...) - * @cat_list: List of categories to allow (terminated by LOGC_none). If empty + * @cat_list: List of categories to allow (terminated by %LOGC_END). If empty * then all categories are permitted. Up to LOGF_MAX_CATEGORIES entries * can be provided * @max_level: Maximum log level to allow @@ -450,7 +450,7 @@ int do_log_test(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]); * * @drv_name: Driver name to add the filter to (since each driver only has a * single device) - * @cat_list: List of categories to allow (terminated by LOGC_none). If empty + * @cat_list: List of categories to allow (terminated by %LOGC_END). If empty * then all categories are permitted. Up to LOGF_MAX_CATEGORIES entries * can be provided * @max_level: Maximum log level to allow |