Skip to content

Commit 95f3013

Browse files
committed
Merge tag 'linux-can-fixes-for-6.19-20251210' of git://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can
Marc Kleine-Budde says: ==================== pull-request: can 2025-12-10 Arnd Bergmann's patch fixes a build dependency with the CAN protocols and drivers introduced in the current development cycle. The last patch is by me and fixes the error handling cleanup in the gs_usb driver. * tag 'linux-can-fixes-for-6.19-20251210' of git://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can: can: gs_usb: gs_can_open(): fix error handling can: fix build dependency ==================== Link: https://patch.msgid.link/20251210083448.2116869-1-mkl@pengutronix.de Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2 parents 898ae76 + 3e54d3b commit 95f3013

File tree

5 files changed

+5
-10
lines changed

5 files changed

+5
-10
lines changed

drivers/net/can/Kconfig

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-License-Identifier: GPL-2.0-only
22

33
menuconfig CAN_DEV
4-
tristate "CAN Device Drivers"
4+
bool "CAN Device Drivers"
55
default y
66
depends on CAN
77
help
@@ -17,9 +17,6 @@ menuconfig CAN_DEV
1717
virtual ones. If you own such devices or plan to use the virtual CAN
1818
interfaces to develop applications, say Y here.
1919

20-
To compile as a module, choose M here: the module will be called
21-
can-dev.
22-
2320
if CAN_DEV
2421

2522
config CAN_VCAN

drivers/net/can/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ obj-$(CONFIG_CAN_VCAN) += vcan.o
77
obj-$(CONFIG_CAN_VXCAN) += vxcan.o
88
obj-$(CONFIG_CAN_SLCAN) += slcan/
99

10-
obj-y += dev/
10+
obj-$(CONFIG_CAN_DEV) += dev/
1111
obj-y += esd/
1212
obj-y += rcar/
1313
obj-y += rockchip/

drivers/net/can/dev/Makefile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
# SPDX-License-Identifier: GPL-2.0
22

3-
obj-$(CONFIG_CAN_DEV) += can-dev.o
4-
5-
can-dev-y += skb.o
3+
obj-$(CONFIG_CAN) += can-dev.o
64

5+
can-dev-$(CONFIG_CAN_DEV) += skb.o
76
can-dev-$(CONFIG_CAN_CALC_BITTIMING) += calc_bittiming.o
87
can-dev-$(CONFIG_CAN_NETLINK) += bittiming.o
98
can-dev-$(CONFIG_CAN_NETLINK) += dev.o

drivers/net/can/usb/gs_usb.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1074,7 +1074,7 @@ static int gs_can_open(struct net_device *netdev)
10741074
usb_free_urb(urb);
10751075
out_usb_kill_anchored_urbs:
10761076
if (!parent->active_channels) {
1077-
usb_kill_anchored_urbs(&dev->tx_submitted);
1077+
usb_kill_anchored_urbs(&parent->rx_submitted);
10781078

10791079
if (dev->feature & GS_CAN_FEATURE_HW_TIMESTAMP)
10801080
gs_usb_timestamp_stop(parent);

net/can/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66
menuconfig CAN
77
tristate "CAN bus subsystem support"
8-
select CAN_DEV
98
help
109
Controller Area Network (CAN) is a slow (up to 1Mbit/s) serial
1110
communications protocol. Development of the CAN bus started in

0 commit comments

Comments
 (0)