The IFLA_CAN_TDC* entries within the can_policy structure appear in a different order than their declaration in include/uapi/linux/can/netlink.h Reorder them to follow the same order. Signed-off-by: Vincent Mailhol <mailhol.vincent@xxxxxxxxxx> --- Hi Marc, Please squash this patch into: 5aed4df12f1b ("can: add netlink interface for CAN-FD Transmitter Delay Compensation (TDC)") --- drivers/net/can/dev/netlink.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/can/dev/netlink.c b/drivers/net/can/dev/netlink.c index a3b71465849c..58e458dc8be2 100644 --- a/drivers/net/can/dev/netlink.c +++ b/drivers/net/can/dev/netlink.c @@ -20,10 +20,10 @@ static const struct nla_policy can_policy[IFLA_CAN_MAX + 1] = { [IFLA_CAN_DATA_BITTIMING_CONST] = { .len = sizeof(struct can_bittiming_const) }, [IFLA_CAN_TERMINATION] = { .type = NLA_U16 }, [IFLA_CAN_TDCV] = { .type = NLA_U32 }, - [IFLA_CAN_TDCV_MAX_CONST] = { .type = NLA_U32 }, [IFLA_CAN_TDCO] = { .type = NLA_U32 }, - [IFLA_CAN_TDCO_MAX_CONST] = { .type = NLA_U32 }, [IFLA_CAN_TDCF] = { .type = NLA_U32 }, + [IFLA_CAN_TDCV_MAX_CONST] = { .type = NLA_U32 }, + [IFLA_CAN_TDCO_MAX_CONST] = { .type = NLA_U32 }, [IFLA_CAN_TDCF_MAX_CONST] = { .type = NLA_U32 }, }; -- 2.26.2