Skip to contentSkip to conversation

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

DISCUSSION Sudip Mukherjee (Codethink) 2 participants 3 messages Aug 30, 2022

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

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.

Signature · 2 lines
Regards
Sudip
#1 lore raw
Quoted 5 lines · Sudip Mukherjee (Codethink)

Hi All,

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

Quoted 10 lines

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]/

#2 lore raw
Quoted 12 lines · Gal Pressman
Quoted 10 lines · Sudip Mukherjee (Codethink)

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
Quoted 8 lines
Quoted 5 lines

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.

Signature · 2 lines
Regards
Sudip