<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/drivers/net/can/usb, branch linux-5.1.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.</subtitle>
<id>https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-5.1.y</id>
<link rel='self' href='https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-5.1.y'/>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/'/>
<updated>2019-03-07T17:39:46Z</updated>
<entry>
<title>peak_usb: fix clang build warning</title>
<updated>2019-03-07T17:39:46Z</updated>
<author>
<name>Arnd Bergmann</name>
<email>arnd@arndb.de</email>
</author>
<published>2019-03-07T10:31:55Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=a2ae6da025ed73e4312d983b5e57300bc77090f3'/>
<id>urn:sha1:a2ae6da025ed73e4312d983b5e57300bc77090f3</id>
<content type='text'>
Clang points out undefined behavior when building the pcan_usb_pro driver:

drivers/net/can/usb/peak_usb/pcan_usb_pro.c:136:15: error: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Werror,-Wvarargs]

Changing the function prototype to avoid argument promotion in the
varargs call avoids the warning, and should make this well-defined.

Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Reviewed-by: Nathan Chancellor &lt;natechancellor@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>can: ucan: fix spelling mistake: "resumbmitting" -&gt; "resubmitting"</title>
<updated>2018-11-28T15:19:52Z</updated>
<author>
<name>Colin Ian King</name>
<email>colin.king@canonical.com</email>
</author>
<published>2018-07-30T13:40:37Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=3b17d4175414baefaaf59948b5e0bc030cc3d943'/>
<id>urn:sha1:3b17d4175414baefaaf59948b5e0bc030cc3d943</id>
<content type='text'>
Trivial fix to spelling mistake in netdev_dbg error message

Signed-off-by: Colin Ian King &lt;colin.king@canonical.com&gt;
Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>can: ucan: remove duplicated include from ucan.c</title>
<updated>2018-11-09T16:20:07Z</updated>
<author>
<name>YueHaibing</name>
<email>yuehaibing@huawei.com</email>
</author>
<published>2018-08-29T01:25:45Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=ff1f19d56c200b35eb07cfa6668aa6dcac198cec'/>
<id>urn:sha1:ff1f19d56c200b35eb07cfa6668aa6dcac198cec</id>
<content type='text'>
Remove duplicated include.

Signed-off-by: YueHaibing &lt;yuehaibing@huawei.com&gt;
Reviewed-by: Martin Elshuber &lt;martin.elshuber@theobroma-systems.com&gt;
Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>can: ucan: remove set but not used variable 'udev'</title>
<updated>2018-11-09T16:20:07Z</updated>
<author>
<name>YueHaibing</name>
<email>yuehaibing@huawei.com</email>
</author>
<published>2018-08-29T01:46:54Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=207681fc5f3d5d398f106d1ae0080fc2373f707a'/>
<id>urn:sha1:207681fc5f3d5d398f106d1ae0080fc2373f707a</id>
<content type='text'>
Fixes gcc '-Wunused-but-set-variable' warning:

drivers/net/can/usb/ucan.c: In function 'ucan_disconnect':
drivers/net/can/usb/ucan.c:1578:21: warning:
 variable 'udev' set but not used [-Wunused-but-set-variable]
  struct usb_device *udev;

Signed-off-by: YueHaibing &lt;yuehaibing@huawei.com&gt;
Reviewed-by: Martin Elshuber &lt;martin.elshuber@theobroma-systems.com&gt;
Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>can: kvaser_usb: Fix accessing freed memory in kvaser_usb_start_xmit()</title>
<updated>2018-11-09T16:20:03Z</updated>
<author>
<name>Jimmy Assarsson</name>
<email>jimmyassarsson@gmail.com</email>
</author>
<published>2018-08-06T13:14:49Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=e13fb9b37cc00616b90df2d620f30345b5ada6ff'/>
<id>urn:sha1:e13fb9b37cc00616b90df2d620f30345b5ada6ff</id>
<content type='text'>
The call to can_put_echo_skb() may result in the skb being freed. The skb
is later used in the call to dev-&gt;ops-&gt;dev_frame_to_cmd().

This is avoided by moving the call to can_put_echo_skb() after
dev-&gt;ops-&gt;dev_frame_to_cmd().

Reported-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: Jimmy Assarsson &lt;jimmyassarsson@gmail.com&gt;
Cc: linux-stable &lt;stable@vger.kernel.org&gt;
Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>can: kvaser_usb: Fix potential uninitialized variable use</title>
<updated>2018-11-09T16:19:57Z</updated>
<author>
<name>Jimmy Assarsson</name>
<email>jimmyassarsson@gmail.com</email>
</author>
<published>2018-08-06T13:14:50Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=95217260649aa504eb5d4a0d50959ca4e67c8f96'/>
<id>urn:sha1:95217260649aa504eb5d4a0d50959ca4e67c8f96</id>
<content type='text'>
If alloc_can_err_skb() fails, cf is never initialized.
Move assignment of cf inside check.

Reported-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: Jimmy Assarsson &lt;jimmyassarsson@gmail.com&gt;
Cc: linux-stable &lt;stable@vger.kernel.org&gt;
Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>Merge ra.kernel.org:/pub/scm/linux/kernel/git/davem/net</title>
<updated>2018-08-02T17:55:32Z</updated>
<author>
<name>David S. Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2018-08-02T17:55:32Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=89b1698c93a9dee043154f33d96bca9964e705f1'/>
<id>urn:sha1:89b1698c93a9dee043154f33d96bca9964e705f1</id>
<content type='text'>
The BTF conflicts were simple overlapping changes.

The virtio_net conflict was an overlap of a fix of statistics counter,
happening alongisde a move over to a bonafide statistics structure
rather than counting value on the stack.

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>can: ems_usb: Fix memory leak on ems_usb_disconnect()</title>
<updated>2018-07-30T09:04:27Z</updated>
<author>
<name>Anton Vasilyev</name>
<email>vasilyev@ispras.ru</email>
</author>
<published>2018-07-27T15:50:42Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=72c05f32f4a5055c9c8fe889bb6903ec959c0aad'/>
<id>urn:sha1:72c05f32f4a5055c9c8fe889bb6903ec959c0aad</id>
<content type='text'>
ems_usb_probe() allocates memory for dev-&gt;tx_msg_buffer, but there
is no its deallocation in ems_usb_disconnect().

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Anton Vasilyev &lt;vasilyev@ispras.ru&gt;
Cc: &lt;stable@vger.kernel.org&gt;
Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>can: kvaser_usb: Simplify struct kvaser_cmd_cardinfo</title>
<updated>2018-07-27T08:40:19Z</updated>
<author>
<name>Jimmy Assarsson</name>
<email>jimmyassarsson@gmail.com</email>
</author>
<published>2018-02-16T13:41:06Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=1f6ed42c742e8d1cfd3811ef7a134eaa75a511d6'/>
<id>urn:sha1:1f6ed42c742e8d1cfd3811ef7a134eaa75a511d6</id>
<content type='text'>
serial_number_high can be removed from the struct since it is never used in
the USBcan II firmware.

Signed-off-by: Jimmy Assarsson &lt;jimmyassarsson@gmail.com&gt;
Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>can: kvaser_usb: Add support for Kvaser USB hydra family</title>
<updated>2018-07-27T08:40:19Z</updated>
<author>
<name>Jimmy Assarsson</name>
<email>extja@kvaser.com</email>
</author>
<published>2018-07-18T21:29:29Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=aec5fb2268b700f3c4e8481ab431eefcd33893f6'/>
<id>urn:sha1:aec5fb2268b700f3c4e8481ab431eefcd33893f6</id>
<content type='text'>
This patch adds support for a new Kvaser USB family, denoted hydra.
The hydra family currently contains USB devices with one CAN channel
up to five. There are devices with and without CAN FD support.

Signed-off-by: Jimmy Assarsson &lt;extja@kvaser.com&gt;
Signed-off-by: Christer Beskow &lt;chbe@kvaser.com&gt;
Signed-off-by: Nicklas Johansson &lt;extnj@kvaser.com&gt;
Signed-off-by: Martin Henriksson &lt;mh@kvaser.com&gt;
Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
</content>
</entry>
</feed>
