]> git.sur5r.net Git - u-boot/blobdiff - include/log.h
log: Fix incorect range check in log_get_cat_name()
[u-boot] / include / log.h
index a3edd25546a0505f4a5abf5b8863da7c1116a367..3e99d6e62b69db48976cc7d3f8f09ae6104f5314 100644 (file)
@@ -274,7 +274,8 @@ struct log_filter {
  * log_get_cat_name() - Get the name of a category
  *
  * @cat: Category to look up
- * @return category name (which may be a uclass driver name)
+ * @return category name (which may be a uclass driver name) if found, or
+ *      "<invalid>" if invalid, or "<missing>" if not found
  */
 const char *log_get_cat_name(enum log_category_t cat);