[PATCH v5 16/46] log: Tidy up an ambiguous comment

Simon Glass sjg at chromium.org
Sun Jul 16 05:38:49 CEST 2023


Add a bit more detail so it is clear that multiple devices are
supported, but only one per driver.

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

Changes in v5:
- Drop period at end of commit subject
- Drop extra 'a' in commit message

 common/log.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/log.c b/common/log.c
index 6f02a25c5931..b2de57fcb3b8 100644
--- a/common/log.c
+++ b/common/log.c
@@ -437,7 +437,7 @@ int log_init(void)
 	/*
 	 * We cannot add runtime data to the driver since it is likely stored
 	 * in rodata. Instead, set up a 'device' corresponding to each driver.
-	 * We only support having a single device.
+	 * We only support having a single device for each driver.
 	 */
 	INIT_LIST_HEAD((struct list_head *)&gd->log_head);
 	while (drv < end) {
-- 
2.41.0.455.g037347b96a-goog



More information about the U-Boot mailing list