mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-18 13:11:31 +00:00
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>
This commit is contained in:
parent
69529f9840
commit
b66a924f97
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue