[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <m25xa8qaqy.fsf@gmail.com>
Date: Mon, 15 Dec 2025 10:51:01 +0000
From: Donald Hunter <donald.hunter@...il.com>
To: Changwoo Min <changwoo@...lia.com>
Cc: Lukasz Luba <lukasz.luba@....com>, linux-pm@...r.kernel.org,
sched-ext@...ts.linux.dev, Jakub Kicinski <kuba@...nel.org>, Network
Development <netdev@...r.kernel.org>, Linux Kernel Mailing List
<linux-kernel@...r.kernel.org>
Subject: Re: Concerns with em.yaml YNL spec
Changwoo Min <changwoo@...lia.com> writes:
> Hi Donald,
>
> Thanks for the feedback. I rearranged a paragraph in the original email
> for easier reply.
>
> On 12/12/25 00:54, Donald Hunter wrote:
>> Hi,
>>
>> I guess the patch series was never cced to netdev or the YNL
>> maintainers so this is my first opportunity to review it.
>>
>
> You are right. I think I ran get_maintainer.pl only before adding
> em.yaml. That's my bad.
>
>> I just spotted the new em.yaml YNL spec that got merged in
>> bd26631ccdfd ("PM: EM: Add em.yaml and autogen files") as part of [1]
>> because it introduced new yamllint reports:
>> make -C tools/net/ynl/ lint
>> make: Entering directory '/home/donaldh/net-next/tools/net/ynl'
>> yamllint ../../../Documentation/netlink/specs
>> ../../../Documentation/netlink/specs/em.yaml
>> 3:1 warning missing document start "---" (document-start)
>> 107:13 error wrong indentation: expected 10 but found 12 (indentation)
>>
>
> I will fix these lint warnings. Besides fixing those warnings, it would
> be useful to mention running lint somewhere. If there is a general
> guideline for adding a new netlink YAML, I will revise it in a separate
> patch.
I have a patch ready for the next merge window that adds a lint target.
For now you can run:
yamllint Documentation/netlink/specs
You're right, we don't have a guide for adding new netlink YAML but
that's something I should add to the series I have pending.
Thanks,
Donald.
Powered by blists - more mailing lists