]> git.ipfire.org Git - thirdparty/linux.git/commit
tools: ynl: add a lint makefile target
authorDonald Hunter <donald.hunter@gmail.com>
Thu, 27 Nov 2025 12:35:00 +0000 (12:35 +0000)
committerJakub Kicinski <kuba@kernel.org>
Sat, 29 Nov 2025 03:53:19 +0000 (19:53 -0800)
commit129dc6075a150f82926ed10942f02f941985d51f
treec1074b53639ae27c0541bb759a3985d59fd1ddab
parent362d051c90b6e27b01dceed8c47ddfc86e60db2c
tools: ynl: add a lint makefile target

Add a lint target to run yamllint on the YNL specs.

make -C tools/net/ynl lint
make: Entering directory '/home/donaldh/net-next/tools/net/ynl'
yamllint ../../../Documentation/netlink/specs/*.yaml
../../../Documentation/netlink/specs/ethtool.yaml
  1272:21   warning  truthy value should be one of [false, true]  (truthy)

make: Leaving directory '/home/donaldh/net-next/tools/net/ynl'

Signed-off-by: Donald Hunter <donald.hunter@gmail.com>
Link: https://patch.msgid.link/20251127123502.89142-3-donald.hunter@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/net/ynl/Makefile