On 10/25/23 19:22, Jakub Kicinski wrote:
struct nla_policy is usually constant itself, but unless we make the ranges inside constant we won't be able to make range structs const. The ranges are not modified by the core. Signed-off-by: Jakub Kicinski <kuba@xxxxxxxxxx> --- CC: j.vosburgh@xxxxxxxxx CC: andy@xxxxxxxxxxxxx CC: dsahern@xxxxxxxxxx CC: jhs@xxxxxxxxxxxx CC: xiyou.wangcong@xxxxxxxxx CC: jiri@xxxxxxxxxxx CC: vinicius.gomes@xxxxxxxxx CC: johannes@xxxxxxxxxxxxxxxx CC: razor@xxxxxxxxxxxxx CC: idosch@xxxxxxxxxx CC: linux-wireless@xxxxxxxxxxxxxxx --- drivers/net/bonding/bond_netlink.c | 2 +- drivers/net/vxlan/vxlan_mdb.c | 2 +- include/net/netlink.h | 4 ++-- net/ipv6/ioam6_iptunnel.c | 2 +- net/sched/sch_fq.c | 2 +- net/sched/sch_fq_pie.c | 2 +- net/sched/sch_qfq.c | 2 +- net/sched/sch_taprio.c | 2 +- net/wireless/nl80211.c | 2 +- tools/net/ynl/ynl-gen-c.py | 2 +- 10 files changed, 11 insertions(+), 11 deletions(-)
Reviewed-by: Nikolay Aleksandrov <razor@xxxxxxxxxxxxx>