* pull-request: can 2017-12-01
@ 2017-12-01 14:17 Marc Kleine-Budde
2017-12-01 14:17 ` [PATCH 1/9] can: kvaser_usb: free buf in error paths Marc Kleine-Budde
` (9 more replies)
0 siblings, 10 replies; 11+ messages in thread
From: Marc Kleine-Budde @ 2017-12-01 14:17 UTC (permalink / raw)
To: netdev; +Cc: davem, linux-can, kernel
Hello David,
this is a pull for net consisting of nine patches.
The first three patches are by Jimmy Assarsson for the kvaser_usb driver
and add the missing free()s in some error path, a signed/unsigned
comparison and ratelimit the error messages in case of incomplete
messages. Oliver Stäbler's patch for the ti_hecc driver fix the napi
poll function's return value. The return values of the probe function of
the peak_canfd and peak_pci PCI drivers are fixed by Stephane Grosjean's
patch. Two patches by me for the flexcan driver update the
bugs/features/quirks overview table and fix the error state transition
for the VF610 SoC. The two patches by Martin Kelly for the mcba_usb
driver fix a typo and a device disconnect bug.
regards,
Marc
---
The following changes since commit 6fef90c6b3f6a2b52018e66c0886944ea0c03fcc:
net: dsa: bcm_sf2: Set correct CHAIN_ID and slice number mask (2017-11-30 14:21:35 -0500)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can.git tags/linux-can-fixes-for-4.15-20171201
for you to fetch changes up to 1cb35a33a28394fd711bb26ddf3a564f4e9d9125:
can: mcba_usb: fix device disconnect bug (2017-12-01 11:27:14 +0100)
----------------------------------------------------------------
linux-can-fixes-for-4.15-20171201
----------------------------------------------------------------
Jimmy Assarsson (3):
can: kvaser_usb: free buf in error paths
can: kvaser_usb: Fix comparison bug in kvaser_usb_read_bulk_callback()
can: kvaser_usb: ratelimit errors if incomplete messages are received
Marc Kleine-Budde (2):
can: flexcan: Update IRQ Err Passive information
can: flexcan: fix VF610 state transition issue
Martin Kelly (2):
can: mcba_usb: fix typo
can: mcba_usb: fix device disconnect bug
Oliver Stäbler (1):
can: ti_hecc: Fix napi poll return value for repoll
Stephane Grosjean (1):
can: peak/pci: fix potential bug when probe() fails
drivers/net/can/flexcan.c | 9 +++++----
drivers/net/can/peak_canfd/peak_pciefd_main.c | 5 ++++-
drivers/net/can/sja1000/peak_pci.c | 5 ++++-
drivers/net/can/ti_hecc.c | 3 +++
drivers/net/can/usb/kvaser_usb.c | 11 +++++++----
drivers/net/can/usb/mcba_usb.c | 3 ++-
6 files changed, 25 insertions(+), 11 deletions(-)
^ permalink raw reply [flat|nested] 11+ messages in thread
* [PATCH 1/9] can: kvaser_usb: free buf in error paths
2017-12-01 14:17 pull-request: can 2017-12-01 Marc Kleine-Budde
@ 2017-12-01 14:17 ` Marc Kleine-Budde
2017-12-01 14:17 ` [PATCH 2/9] can: kvaser_usb: Fix comparison bug in kvaser_usb_read_bulk_callback() Marc Kleine-Budde
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: Marc Kleine-Budde @ 2017-12-01 14:17 UTC (permalink / raw)
To: netdev
Cc: davem, linux-can, kernel, Jimmy Assarsson, linux-stable,
Marc Kleine-Budde
From: Jimmy Assarsson <jimmyassarsson@gmail.com>
The allocated buffer was not freed if usb_submit_urb() failed.
Signed-off-by: Jimmy Assarsson <jimmyassarsson@gmail.com>
Cc: linux-stable <stable@vger.kernel.org>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
---
drivers/net/can/usb/kvaser_usb.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/can/usb/kvaser_usb.c b/drivers/net/can/usb/kvaser_usb.c
index 9b18d96ef526..075644591498 100644
--- a/drivers/net/can/usb/kvaser_usb.c
+++ b/drivers/net/can/usb/kvaser_usb.c
@@ -813,6 +813,7 @@ static int kvaser_usb_simple_msg_async(struct kvaser_usb_net_priv *priv,
if (err) {
netdev_err(netdev, "Error transmitting URB\n");
usb_unanchor_urb(urb);
+ kfree(buf);
usb_free_urb(urb);
return err;
}
@@ -1768,6 +1769,7 @@ static netdev_tx_t kvaser_usb_start_xmit(struct sk_buff *skb,
spin_unlock_irqrestore(&priv->tx_contexts_lock, flags);
usb_unanchor_urb(urb);
+ kfree(buf);
stats->tx_dropped++;
--
2.15.0
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 2/9] can: kvaser_usb: Fix comparison bug in kvaser_usb_read_bulk_callback()
2017-12-01 14:17 pull-request: can 2017-12-01 Marc Kleine-Budde
2017-12-01 14:17 ` [PATCH 1/9] can: kvaser_usb: free buf in error paths Marc Kleine-Budde
@ 2017-12-01 14:17 ` Marc Kleine-Budde
2017-12-01 14:17 ` [PATCH 3/9] can: kvaser_usb: ratelimit errors if incomplete messages are received Marc Kleine-Budde
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: Marc Kleine-Budde @ 2017-12-01 14:17 UTC (permalink / raw)
To: netdev
Cc: davem, linux-can, kernel, Jimmy Assarsson, linux-stable,
Marc Kleine-Budde
From: Jimmy Assarsson <jimmyassarsson@gmail.com>
The conditon in the while-loop becomes true when actual_length is less than
2 (MSG_HEADER_LEN). In best case we end up with a former, already
dispatched msg, that got msg->len greater than actual_length. This will
result in a "Format error" error printout.
Problem seen when unplugging a Kvaser USB device connected to a vbox guest.
warning: comparison between signed and unsigned integer expressions
[-Wsign-compare]
Signed-off-by: Jimmy Assarsson <jimmyassarsson@gmail.com>
Cc: linux-stable <stable@vger.kernel.org>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
---
drivers/net/can/usb/kvaser_usb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/can/usb/kvaser_usb.c b/drivers/net/can/usb/kvaser_usb.c
index 075644591498..d87e330a20b3 100644
--- a/drivers/net/can/usb/kvaser_usb.c
+++ b/drivers/net/can/usb/kvaser_usb.c
@@ -1334,7 +1334,7 @@ static void kvaser_usb_read_bulk_callback(struct urb *urb)
goto resubmit_urb;
}
- while (pos <= urb->actual_length - MSG_HEADER_LEN) {
+ while (pos <= (int)(urb->actual_length - MSG_HEADER_LEN)) {
msg = urb->transfer_buffer + pos;
/* The Kvaser firmware can only read and write messages that
--
2.15.0
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 3/9] can: kvaser_usb: ratelimit errors if incomplete messages are received
2017-12-01 14:17 pull-request: can 2017-12-01 Marc Kleine-Budde
2017-12-01 14:17 ` [PATCH 1/9] can: kvaser_usb: free buf in error paths Marc Kleine-Budde
2017-12-01 14:17 ` [PATCH 2/9] can: kvaser_usb: Fix comparison bug in kvaser_usb_read_bulk_callback() Marc Kleine-Budde
@ 2017-12-01 14:17 ` Marc Kleine-Budde
2017-12-01 14:17 ` [PATCH 4/9] can: ti_hecc: Fix napi poll return value for repoll Marc Kleine-Budde
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: Marc Kleine-Budde @ 2017-12-01 14:17 UTC (permalink / raw)
To: netdev
Cc: davem, linux-can, kernel, Jimmy Assarsson, linux-stable,
Marc Kleine-Budde
From: Jimmy Assarsson <jimmyassarsson@gmail.com>
Avoid flooding the kernel log with "Formate error", if incomplete message
are received.
Signed-off-by: Jimmy Assarsson <jimmyassarsson@gmail.com>
Cc: linux-stable <stable@vger.kernel.org>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
---
drivers/net/can/usb/kvaser_usb.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/drivers/net/can/usb/kvaser_usb.c b/drivers/net/can/usb/kvaser_usb.c
index d87e330a20b3..f95945915d20 100644
--- a/drivers/net/can/usb/kvaser_usb.c
+++ b/drivers/net/can/usb/kvaser_usb.c
@@ -609,8 +609,8 @@ static int kvaser_usb_wait_msg(const struct kvaser_usb *dev, u8 id,
}
if (pos + tmp->len > actual_len) {
- dev_err(dev->udev->dev.parent,
- "Format error\n");
+ dev_err_ratelimited(dev->udev->dev.parent,
+ "Format error\n");
break;
}
@@ -1353,7 +1353,8 @@ static void kvaser_usb_read_bulk_callback(struct urb *urb)
}
if (pos + msg->len > urb->actual_length) {
- dev_err(dev->udev->dev.parent, "Format error\n");
+ dev_err_ratelimited(dev->udev->dev.parent,
+ "Format error\n");
break;
}
--
2.15.0
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 4/9] can: ti_hecc: Fix napi poll return value for repoll
2017-12-01 14:17 pull-request: can 2017-12-01 Marc Kleine-Budde
` (2 preceding siblings ...)
2017-12-01 14:17 ` [PATCH 3/9] can: kvaser_usb: ratelimit errors if incomplete messages are received Marc Kleine-Budde
@ 2017-12-01 14:17 ` Marc Kleine-Budde
2017-12-01 14:17 ` [PATCH 5/9] can: peak/pci: fix potential bug when probe() fails Marc Kleine-Budde
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: Marc Kleine-Budde @ 2017-12-01 14:17 UTC (permalink / raw)
To: netdev
Cc: davem, linux-can, kernel, Oliver Stäbler, linux-stable,
Marc Kleine-Budde
From: Oliver Stäbler <oliver.staebler@bytesatwork.ch>
After commit d75b1ade567f ("net: less interrupt masking in NAPI") napi
repoll is done only when work_done == budget.
So we need to return budget if there are still packets to receive.
Signed-off-by: Oliver Stäbler <oliver.staebler@bytesatwork.ch>
Cc: linux-stable <stable@vger.kernel.org>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
---
drivers/net/can/ti_hecc.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/net/can/ti_hecc.c b/drivers/net/can/ti_hecc.c
index 4d4941469cfc..db6ea936dc3f 100644
--- a/drivers/net/can/ti_hecc.c
+++ b/drivers/net/can/ti_hecc.c
@@ -637,6 +637,9 @@ static int ti_hecc_rx_poll(struct napi_struct *napi, int quota)
mbx_mask = hecc_read(priv, HECC_CANMIM);
mbx_mask |= HECC_TX_MBOX_MASK;
hecc_write(priv, HECC_CANMIM, mbx_mask);
+ } else {
+ /* repoll is done only if whole budget is used */
+ num_pkts = quota;
}
return num_pkts;
--
2.15.0
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 5/9] can: peak/pci: fix potential bug when probe() fails
2017-12-01 14:17 pull-request: can 2017-12-01 Marc Kleine-Budde
` (3 preceding siblings ...)
2017-12-01 14:17 ` [PATCH 4/9] can: ti_hecc: Fix napi poll return value for repoll Marc Kleine-Budde
@ 2017-12-01 14:17 ` Marc Kleine-Budde
2017-12-01 14:17 ` [PATCH 6/9] can: flexcan: Update IRQ Err Passive information Marc Kleine-Budde
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: Marc Kleine-Budde @ 2017-12-01 14:17 UTC (permalink / raw)
To: netdev
Cc: davem, linux-can, kernel, Stephane Grosjean, linux-stable,
Marc Kleine-Budde
From: Stephane Grosjean <s.grosjean@peak-system.com>
PCI/PCIe drivers for PEAK-System CAN/CAN-FD interfaces do some access to the
PCI config during probing. In case one of these accesses fails, a POSITIVE
PCIBIOS_xxx error code is returned back. This POSITIVE error code MUST be
converted into a NEGATIVE errno for the probe() function to indicate it
failed. Using the pcibios_err_to_errno() function, we make sure that the
return code will always be negative.
Signed-off-by: Stephane Grosjean <s.grosjean@peak-system.com>
Cc: linux-stable <stable@vger.kernel.org>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
---
drivers/net/can/peak_canfd/peak_pciefd_main.c | 5 ++++-
drivers/net/can/sja1000/peak_pci.c | 5 ++++-
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/drivers/net/can/peak_canfd/peak_pciefd_main.c b/drivers/net/can/peak_canfd/peak_pciefd_main.c
index b4efd711f824..788c3464a3b0 100644
--- a/drivers/net/can/peak_canfd/peak_pciefd_main.c
+++ b/drivers/net/can/peak_canfd/peak_pciefd_main.c
@@ -825,7 +825,10 @@ static int peak_pciefd_probe(struct pci_dev *pdev,
err_disable_pci:
pci_disable_device(pdev);
- return err;
+ /* pci_xxx_config_word() return positive PCIBIOS_xxx error codes while
+ * the probe() function must return a negative errno in case of failure
+ * (err is unchanged if negative) */
+ return pcibios_err_to_errno(err);
}
/* free the board structure object, as well as its resources: */
diff --git a/drivers/net/can/sja1000/peak_pci.c b/drivers/net/can/sja1000/peak_pci.c
index 131026fbc2d7..5adc95c922ee 100644
--- a/drivers/net/can/sja1000/peak_pci.c
+++ b/drivers/net/can/sja1000/peak_pci.c
@@ -717,7 +717,10 @@ static int peak_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
failure_disable_pci:
pci_disable_device(pdev);
- return err;
+ /* pci_xxx_config_word() return positive PCIBIOS_xxx error codes while
+ * the probe() function must return a negative errno in case of failure
+ * (err is unchanged if negative) */
+ return pcibios_err_to_errno(err);
}
static void peak_pci_remove(struct pci_dev *pdev)
--
2.15.0
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 6/9] can: flexcan: Update IRQ Err Passive information
2017-12-01 14:17 pull-request: can 2017-12-01 Marc Kleine-Budde
` (4 preceding siblings ...)
2017-12-01 14:17 ` [PATCH 5/9] can: peak/pci: fix potential bug when probe() fails Marc Kleine-Budde
@ 2017-12-01 14:17 ` Marc Kleine-Budde
2017-12-01 14:17 ` [PATCH 7/9] can: flexcan: fix VF610 state transition issue Marc Kleine-Budde
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: Marc Kleine-Budde @ 2017-12-01 14:17 UTC (permalink / raw)
To: netdev; +Cc: davem, linux-can, kernel, Marc Kleine-Budde
The flexcan IP cores used on MX25 and MX35 do not generate Error Passive
IRQs. Update the IP core overview table in the driver accordingly.
Suggested-by: ZHU Yi (ST-FIR/ENG1-Zhu) <Yi.Zhu5@cn.bosch.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
---
drivers/net/can/flexcan.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/can/flexcan.c b/drivers/net/can/flexcan.c
index a13a4896a8bd..eefddae2e99a 100644
--- a/drivers/net/can/flexcan.c
+++ b/drivers/net/can/flexcan.c
@@ -184,9 +184,9 @@
* Below is some version info we got:
* SOC Version IP-Version Glitch- [TR]WRN_INT IRQ Err Memory err RTR re-
* Filter? connected? Passive detection ception in MB
- * MX25 FlexCAN2 03.00.00.00 no no ? no no
+ * MX25 FlexCAN2 03.00.00.00 no no no no no
* MX28 FlexCAN2 03.00.04.00 yes yes no no no
- * MX35 FlexCAN2 03.00.00.00 no no ? no no
+ * MX35 FlexCAN2 03.00.00.00 no no no no no
* MX53 FlexCAN2 03.00.00.00 yes no no no no
* MX6s FlexCAN3 10.00.12.00 yes yes no no yes
* VF610 FlexCAN3 ? no yes ? yes yes?
--
2.15.0
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 7/9] can: flexcan: fix VF610 state transition issue
2017-12-01 14:17 pull-request: can 2017-12-01 Marc Kleine-Budde
` (5 preceding siblings ...)
2017-12-01 14:17 ` [PATCH 6/9] can: flexcan: Update IRQ Err Passive information Marc Kleine-Budde
@ 2017-12-01 14:17 ` Marc Kleine-Budde
2017-12-01 14:17 ` [PATCH 8/9] can: mcba_usb: fix typo Marc Kleine-Budde
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: Marc Kleine-Budde @ 2017-12-01 14:17 UTC (permalink / raw)
To: netdev; +Cc: davem, linux-can, kernel, Marc Kleine-Budde, linux-stable
Enable FLEXCAN_QUIRK_BROKEN_PERR_STATE for VF610 to report correct state
transitions.
Tested-by: Mirza Krak <mirza.krak@gmail.com>
Cc: linux-stable <stable@vger.kernel.org> # >= v4.11
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
---
drivers/net/can/flexcan.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/net/can/flexcan.c b/drivers/net/can/flexcan.c
index eefddae2e99a..0626dcfd1f3d 100644
--- a/drivers/net/can/flexcan.c
+++ b/drivers/net/can/flexcan.c
@@ -189,7 +189,7 @@
* MX35 FlexCAN2 03.00.00.00 no no no no no
* MX53 FlexCAN2 03.00.00.00 yes no no no no
* MX6s FlexCAN3 10.00.12.00 yes yes no no yes
- * VF610 FlexCAN3 ? no yes ? yes yes?
+ * VF610 FlexCAN3 ? no yes no yes yes?
*
* Some SOCs do not have the RX_WARN & TX_WARN interrupt line connected.
*/
@@ -297,7 +297,8 @@ static const struct flexcan_devtype_data fsl_imx6q_devtype_data = {
static const struct flexcan_devtype_data fsl_vf610_devtype_data = {
.quirks = FLEXCAN_QUIRK_DISABLE_RXFG | FLEXCAN_QUIRK_ENABLE_EACEN_RRS |
- FLEXCAN_QUIRK_DISABLE_MECR | FLEXCAN_QUIRK_USE_OFF_TIMESTAMP,
+ FLEXCAN_QUIRK_DISABLE_MECR | FLEXCAN_QUIRK_USE_OFF_TIMESTAMP |
+ FLEXCAN_QUIRK_BROKEN_PERR_STATE,
};
static const struct can_bittiming_const flexcan_bittiming_const = {
--
2.15.0
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 8/9] can: mcba_usb: fix typo
2017-12-01 14:17 pull-request: can 2017-12-01 Marc Kleine-Budde
` (6 preceding siblings ...)
2017-12-01 14:17 ` [PATCH 7/9] can: flexcan: fix VF610 state transition issue Marc Kleine-Budde
@ 2017-12-01 14:17 ` Marc Kleine-Budde
2017-12-01 14:17 ` [PATCH 9/9] can: mcba_usb: fix device disconnect bug Marc Kleine-Budde
2017-12-03 14:58 ` pull-request: can 2017-12-01 David Miller
9 siblings, 0 replies; 11+ messages in thread
From: Marc Kleine-Budde @ 2017-12-01 14:17 UTC (permalink / raw)
To: netdev; +Cc: davem, linux-can, kernel, Martin Kelly, Marc Kleine-Budde
From: Martin Kelly <mkelly@xevo.com>
Fix typo "analizer" --> "Analyzer".
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
---
drivers/net/can/usb/mcba_usb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/can/usb/mcba_usb.c b/drivers/net/can/usb/mcba_usb.c
index 7f0272558bef..c4355f0a20d5 100644
--- a/drivers/net/can/usb/mcba_usb.c
+++ b/drivers/net/can/usb/mcba_usb.c
@@ -862,7 +862,7 @@ static int mcba_usb_probe(struct usb_interface *intf,
goto cleanup_unregister_candev;
}
- dev_info(&intf->dev, "Microchip CAN BUS analizer connected\n");
+ dev_info(&intf->dev, "Microchip CAN BUS Analyzer connected\n");
return 0;
--
2.15.0
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 9/9] can: mcba_usb: fix device disconnect bug
2017-12-01 14:17 pull-request: can 2017-12-01 Marc Kleine-Budde
` (7 preceding siblings ...)
2017-12-01 14:17 ` [PATCH 8/9] can: mcba_usb: fix typo Marc Kleine-Budde
@ 2017-12-01 14:17 ` Marc Kleine-Budde
2017-12-03 14:58 ` pull-request: can 2017-12-01 David Miller
9 siblings, 0 replies; 11+ messages in thread
From: Marc Kleine-Budde @ 2017-12-01 14:17 UTC (permalink / raw)
To: netdev
Cc: davem, linux-can, kernel, Martin Kelly, linux-stable,
Marc Kleine-Budde
From: Martin Kelly <mkelly@xevo.com>
Currently, when you disconnect the device, the driver infinitely
resubmits all URBs, so you see:
Rx URB aborted (-32)
in an infinite loop.
Fix this by catching -EPIPE (what we get in urb->status when the device
disconnects) and not resubmitting.
With this patch, I can plug and unplug many times and the driver
recovers correctly.
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Cc: linux-stable <stable@vger.kernel.org>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
---
drivers/net/can/usb/mcba_usb.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/can/usb/mcba_usb.c b/drivers/net/can/usb/mcba_usb.c
index c4355f0a20d5..ef417dcddbf7 100644
--- a/drivers/net/can/usb/mcba_usb.c
+++ b/drivers/net/can/usb/mcba_usb.c
@@ -592,6 +592,7 @@ static void mcba_usb_read_bulk_callback(struct urb *urb)
break;
case -ENOENT:
+ case -EPIPE:
case -ESHUTDOWN:
return;
--
2.15.0
^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: pull-request: can 2017-12-01
2017-12-01 14:17 pull-request: can 2017-12-01 Marc Kleine-Budde
` (8 preceding siblings ...)
2017-12-01 14:17 ` [PATCH 9/9] can: mcba_usb: fix device disconnect bug Marc Kleine-Budde
@ 2017-12-03 14:58 ` David Miller
9 siblings, 0 replies; 11+ messages in thread
From: David Miller @ 2017-12-03 14:58 UTC (permalink / raw)
To: mkl; +Cc: netdev, linux-can, kernel
From: Marc Kleine-Budde <mkl@pengutronix.de>
Date: Fri, 1 Dec 2017 15:17:30 +0100
> this is a pull for net consisting of nine patches.
>
> The first three patches are by Jimmy Assarsson for the kvaser_usb driver
> and add the missing free()s in some error path, a signed/unsigned
> comparison and ratelimit the error messages in case of incomplete
> messages. Oliver Stäbler's patch for the ti_hecc driver fix the napi
> poll function's return value. The return values of the probe function of
> the peak_canfd and peak_pci PCI drivers are fixed by Stephane Grosjean's
> patch. Two patches by me for the flexcan driver update the
> bugs/features/quirks overview table and fix the error state transition
> for the VF610 SoC. The two patches by Martin Kelly for the mcba_usb
> driver fix a typo and a device disconnect bug.
Pulled, thanks Marc.
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2017-12-03 14:58 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-01 14:17 pull-request: can 2017-12-01 Marc Kleine-Budde
2017-12-01 14:17 ` [PATCH 1/9] can: kvaser_usb: free buf in error paths Marc Kleine-Budde
2017-12-01 14:17 ` [PATCH 2/9] can: kvaser_usb: Fix comparison bug in kvaser_usb_read_bulk_callback() Marc Kleine-Budde
2017-12-01 14:17 ` [PATCH 3/9] can: kvaser_usb: ratelimit errors if incomplete messages are received Marc Kleine-Budde
2017-12-01 14:17 ` [PATCH 4/9] can: ti_hecc: Fix napi poll return value for repoll Marc Kleine-Budde
2017-12-01 14:17 ` [PATCH 5/9] can: peak/pci: fix potential bug when probe() fails Marc Kleine-Budde
2017-12-01 14:17 ` [PATCH 6/9] can: flexcan: Update IRQ Err Passive information Marc Kleine-Budde
2017-12-01 14:17 ` [PATCH 7/9] can: flexcan: fix VF610 state transition issue Marc Kleine-Budde
2017-12-01 14:17 ` [PATCH 8/9] can: mcba_usb: fix typo Marc Kleine-Budde
2017-12-01 14:17 ` [PATCH 9/9] can: mcba_usb: fix device disconnect bug Marc Kleine-Budde
2017-12-03 14:58 ` pull-request: can 2017-12-01 David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).