]> git.ipfire.org Git - thirdparty/linux.git/commit
can: netlink: make can_tdc_fill_info() FD agnostic
authorVincent Mailhol <mailhol@kernel.org>
Tue, 23 Sep 2025 06:58:42 +0000 (15:58 +0900)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Wed, 24 Sep 2025 15:09:46 +0000 (17:09 +0200)
commite72f1ba700e3d502cd0a604fda86e38431467a46
tree38793e90617683aa687f256efe77e1df421909c4
parentd5ee934ee19b563a965da135e04d6d93067ccf2c
can: netlink: make can_tdc_fill_info() FD agnostic

can_tdc_fill_info() depends on some variables which are specific to CAN
FD. Move these to the function parameters list so that, later on, this
function can be reused for the CAN XL TDC.

Signed-off-by: Vincent Mailhol <mailhol@kernel.org>
Link: https://patch.msgid.link/20250923-canxl-netlink-prep-v4-17-e720d28f66fe@kernel.org
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/dev/netlink.c