Skip to contentSkip to conversation

Fix doc path in warning message

PATCH New Johannes Krottmayer 1 participant 3 messages Mar 1, 2022 Kbuild

lore
Share & tools
lore
#0 lore raw

cover Fix doc path in warning message

Fix doc path in warning messages.

Okay?

Johannes Krottmayer (2):
Makefile: Fix doc path in warning message
tools: buildman: Fix doc path in warning message

 Makefile               | 4 ++--
 tools/buildman/test.py | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
Signature · 1 line
2.34.1
#1 lore raw

PATCH 1/2 Makefile: Fix doc path in warning message

Fix documentation path in warning message about deprecated device driver.

---
 Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Makefile +2 -2
index e6fc80aa6f..0af5065624 100644
@@ -1080,7 +1080,7 @@ define deprecated
 		echo >&2 "for $(2)). Please update the board to use"; \
 		echo >&2 "$(firstword $(1)) before the $(3) release. Failure to"; \
 		echo >&2 "update by the deadline may result in board removal."; \
-		echo >&2 "See doc/driver-model/migration.rst for more info."; \
+		echo >&2 "See doc/develop/driver-model/migration.rst for more info."; \
 		echo >&2 "===================================================="; \
 	fi; fi
 
@@ -1121,7 +1121,7 @@ ifneq ($(CONFIG_DM),y)
 	@echo >&2 "This board does not use CONFIG_DM. CONFIG_DM will be"
 	@echo >&2 "compulsory starting with the v2020.01 release."
 	@echo >&2 "Failure to update may result in board removal."
-	@echo >&2 "See doc/driver-model/migration.rst for more info."
+	@echo >&2 "See doc/develop/driver-model/migration.rst for more info."
 	@echo >&2 "===================================================="
 endif
 	$(call deprecated,CONFIG_WDT,DM watchdog,v2019.10,\
Signature · 1 line
2.34.1
#2 lore raw

PATCH 2/2 tools: buildman: Fix doc path in warning message

In reply to Johannes Krottmayer

Fix documentation path in deprecated warning message about device driver.

---
 tools/buildman/test.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/buildman/test.py +1 -1
index 714bb3e4f9..27287438ee 100644
@@ -37,7 +37,7 @@ migration = '''===================== WARNING ======================
 This board does not use CONFIG_DM. CONFIG_DM will be
 compulsory starting with the v2020.01 release.
 Failure to update may result in board removal.
-See doc/driver-model/migration.rst for more info.
+See doc/develop/driver-model/migration.rst for more info.
 ====================================================
 '''
 
Signature · 1 line
2.34.1