]> git.dujemihanovic.xyz Git - u-boot.git/commit
tools: binman: ti_board_cfg: improve error message
authorMichael Walle <mwalle@kernel.org>
Tue, 26 Mar 2024 09:39:34 +0000 (10:39 +0100)
committerTom Rini <trini@konsulko.com>
Thu, 11 Apr 2024 21:51:33 +0000 (15:51 -0600)
commita26bef219bf56363fa00c355029c04c5d6898697
treead9f91388792fcaae90a62fb41bdc614d2fbb736
parentfbfd2baf975f4a0d6345e4d0ed6094c549fe1d03
tools: binman: ti_board_cfg: improve error message

When there is a lint error the user gets the following cryptic message:

  binman: Node '/path/to/some/node': Yamllint error: 18: comments

This isn't very helpful. Improve the message to tell the user that the
number is actually a line number and also tell the user in which file
they have to look.

Signed-off-by: Michael Walle <mwalle@kernel.org>
Reviewed-by: Neha Malcom Francis <n-francis@ti.com>
tools/binman/etype/ti_board_config.py