2022-08-30 09:47:12

by Sudip Mukherjee

[permalink] [raw]
Subject: build failure of next-20220830 due to 9c5d03d36251 ("genetlink: start to validate reserved header bytes")

Hi All,

The builds of arm pxa_defconfig have failed to build next-20220830 with
the error:

net/ieee802154/nl802154.c:2503:26: error: 'NL802154_CMD_DEL_SEC_LEVEL' undeclared here (not in a function); did you mean 'NL802154_CMD_SET_CCA_ED_LEVEL'?
2503 | .resv_start_op = NL802154_CMD_DEL_SEC_LEVEL + 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| NL802154_CMD_SET_CCA_ED_LEVEL

git bisect pointed to 9c5d03d36251 ("genetlink: start to validate reserved header bytes")

I will be happy to test any patch or provide any extra log if needed.


--
Regards
Sudip


2022-08-30 10:24:28

by Gal Pressman

[permalink] [raw]
Subject: Re: build failure of next-20220830 due to 9c5d03d36251 ("genetlink: start to validate reserved header bytes")

On 30/08/2022 12:26, Sudip Mukherjee (Codethink) wrote:
> Hi All,
>
> The builds of arm pxa_defconfig have failed to build next-20220830 with
> the error:
>
> net/ieee802154/nl802154.c:2503:26: error: 'NL802154_CMD_DEL_SEC_LEVEL' undeclared here (not in a function); did you mean 'NL802154_CMD_SET_CCA_ED_LEVEL'?
> 2503 | .resv_start_op = NL802154_CMD_DEL_SEC_LEVEL + 1,
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~
> | NL802154_CMD_SET_CCA_ED_LEVEL
>
> git bisect pointed to 9c5d03d36251 ("genetlink: start to validate reserved header bytes")
>
> I will be happy to test any patch or provide any extra log if needed.
>
>

I posted a fix:
https://lore.kernel.org/netdev/[email protected]/

2022-08-30 12:23:35

by Sudip Mukherjee

[permalink] [raw]
Subject: Re: build failure of next-20220830 due to 9c5d03d36251 ("genetlink: start to validate reserved header bytes")

On Tue, Aug 30, 2022 at 11:19 AM Gal Pressman <[email protected]> wrote:
>
> On 30/08/2022 12:26, Sudip Mukherjee (Codethink) wrote:
> > Hi All,
> >
> > The builds of arm pxa_defconfig have failed to build next-20220830 with
> > the error:
> >
> > net/ieee802154/nl802154.c:2503:26: error: 'NL802154_CMD_DEL_SEC_LEVEL' undeclared here (not in a function); did you mean 'NL802154_CMD_SET_CCA_ED_LEVEL'?
> > 2503 | .resv_start_op = NL802154_CMD_DEL_SEC_LEVEL + 1,
> > | ^~~~~~~~~~~~~~~~~~~~~~~~~~
> > | NL802154_CMD_SET_CCA_ED_LEVEL
> >
> > git bisect pointed to 9c5d03d36251 ("genetlink: start to validate reserved header bytes")
> >
> > I will be happy to test any patch or provide any extra log if needed.
> >
> >
>
> I posted a fix:
> https://lore.kernel.org/netdev/[email protected]/

Thanks. Fixed the failure for me.


--
Regards
Sudip