[PATCH v2 22/35] bootstd: Tidy comments in bootflow_scan_bootdev()

Simon Glass sjg at chromium.org
Sat Jul 30 23:52:24 CEST 2022


Fix a few nits in this function comment.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

(no changes since v1)

 include/bootflow.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/bootflow.h b/include/bootflow.h
index c30ba042a48..4fa482a6784 100644
--- a/include/bootflow.h
+++ b/include/bootflow.h
@@ -169,9 +169,9 @@ int bootflow_iter_drop_bootmeth(struct bootflow_iter *iter,
  * If @flags includes BOOTFLOWF_ALL then bootflows with errors are returned too
  *
  * @dev:	Boot device to scan, NULL to work through all of them until it
- *	finds one that * can supply a bootflow
+ *	finds one that can supply a bootflow
  * @iter:	Place to store private info (inited by this call)
- * @flags:	Flags for bootdev (enum bootflow_flags_t)
+ * @flags:	Flags for iterator (enum bootflow_flags_t)
  * @bflow:	Place to put the bootflow if found
  * Return: 0 if found,  -ENODEV if no device, other -ve on other error
  *	(iteration can continue)
-- 
2.37.1.455.g008518b4e5-goog



More information about the U-Boot mailing list