Message ID | 20211003050147.569044-4-mailhol.vincent@wanadoo.fr (mailing list archive) |
---|---|
State | RFC |
Headers | show |
Series | iproute2-next: iplink_can: report the controller capabilities | expand |
Context | Check | Description |
---|---|---|
netdev/tree_selection | success | Not a local patch |
diff --git a/include/uapi/linux/can/netlink.h b/include/uapi/linux/can/netlink.h index 00c763df..fa1cab72 100644 --- a/include/uapi/linux/can/netlink.h +++ b/include/uapi/linux/can/netlink.h @@ -88,7 +88,10 @@ struct can_berr_counter { * CAN controller mode */ struct can_ctrlmode { - __u32 mask; + union { + __u32 mask; /* Userland to kernel */ + __u32 supported; /* Kernel to userland */ + }; __u32 flags; };
This patch is for your convinience. iproute2-next normally directly pulls the uapi changes but I think it will be more convinient for people who want to test to just be able to directly apply this series and have things working. Signed-off-by: Vincent Mailhol <mailhol.vincent@wanadoo.fr> --- Please do not pull! --- include/uapi/linux/can/netlink.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)