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

From: Gal Pressman
Date: Tue Aug 30 2022 - 06:21:09 EST


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/20220830101237.22782-1-gal@xxxxxxxxxx/