<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/net/can/usb, branch v3.4.38</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/drivers/net/can/usb?h=v3.4.38</id>
<link rel='self' href='https://git.amat.us/linux/atom/drivers/net/can/usb?h=v3.4.38'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2012-12-03T19:47:09Z</updated>
<entry>
<title>can: peak_usb: fix hwtstamp assignment</title>
<updated>2012-12-03T19:47:09Z</updated>
<author>
<name>Oliver Hartkopp</name>
<email>socketcan@hartkopp.net</email>
</author>
<published>2012-11-21T21:43:59Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=5e937c8ffe7d6ba56a699684a4bc5f6b3edd05a5'/>
<id>urn:sha1:5e937c8ffe7d6ba56a699684a4bc5f6b3edd05a5</id>
<content type='text'>
commit c9faaa09e2a1335678f09c70a0d0eda095564bab upstream.

The skb-&gt;tstamp is set to the hardware timestamp when available in the USB
urb message. This leads to user visible timestamps which contain the 'uptime'
of the USB adapter - and not the usual system generated timestamp.

Fix this wrong assignment by applying the available hardware timestamp to the
skb_shared_hwtstamps data structure - which is intended for this purpose.

Signed-off-by: Oliver Hartkopp &lt;socketcan@hartkopp.net&gt;
Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>can: usb: PCAN-USB Pro: fix mem leaks in pcan_usb_pro_init() on error paths</title>
<updated>2012-04-16T19:34:50Z</updated>
<author>
<name>Jesper Juhl</name>
<email>jj@chaosbits.net</email>
</author>
<published>2012-04-11T21:23:41Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=a49bcabedc18319f673319d5e71b5751e3978179'/>
<id>urn:sha1:a49bcabedc18319f673319d5e71b5751e3978179</id>
<content type='text'>
If either call to pcan_usb_pro_send_req() in
drivers/net/can/usb/peak_usb/pcan_usb_pro.c::pcan_usb_pro_init()
fails, we'll leak the memory we allocated to 'usb_if' with kzalloc()
when the 'usb_if' variable goes out of scope without having been
assigned to anything as we 'return err;'.
Fix this by adding appropriate kfree(usb_if) calls to the error paths.

Signed-off-by: Jesper Juhl &lt;jj@chaosbits.net&gt;
Acked-by: Stephane Grosjean &lt;s.grosjean@peak-system.com&gt;
Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>can: peak_usb: PCAN-USB specific part: fix little endian usage</title>
<updated>2012-03-07T14:51:01Z</updated>
<author>
<name>Stephane Grosjean</name>
<email>s.grosjean@peak-system.com</email>
</author>
<published>2012-03-07T14:31:30Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=1ccba2103a8b3a1041f261301b08b9e16f76df8a'/>
<id>urn:sha1:1ccba2103a8b3a1041f261301b08b9e16f76df8a</id>
<content type='text'>
That patch fixes some bad usage of two little-endian variables, which lead to
some warning/error when building the peak_usb driver.

Reported-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Acked-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
Signed-off-by: Stephane Grosjean &lt;s.grosjean@peak-system.com&gt;
Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>can: usb: PEAK-System Technik PCAN-USB Pro specific part</title>
<updated>2012-03-03T16:40:58Z</updated>
<author>
<name>Stephane Grosjean</name>
<email>s.grosjean@peak-system.com</email>
</author>
<published>2012-03-02T15:13:06Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=d8a199355f8f8a0797c00d98788d7282c9ea38bd'/>
<id>urn:sha1:d8a199355f8f8a0797c00d98788d7282c9ea38bd</id>
<content type='text'>
This patch adds the specific part which handles the PCAN-USB Pro adapter
from PEAK-System Technik (http://www.peak-system.com). The PCAN-USB Pro
adapter is a dual-channel USB 2.0 adapter compliant with CAN specifications

Tested-by: Oliver Hartkopp &lt;socketcan@hartkopp.net&gt;
Acked-by: Wolfgang Grandegger &lt;wg@grandegger.com&gt;
Signed-off-by: Stephane Grosjean &lt;s.grosjean@peak-system.com&gt;
Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>can: usb: PEAK-System Technik PCAN-USB specific part</title>
<updated>2012-03-03T16:40:55Z</updated>
<author>
<name>Stephane Grosjean</name>
<email>s.grosjean@peak-system.com</email>
</author>
<published>2012-03-02T15:13:05Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=46be265d3388339d8168c863791f0c7bbf3f2fed'/>
<id>urn:sha1:46be265d3388339d8168c863791f0c7bbf3f2fed</id>
<content type='text'>
This patch adds the specific part which handles the PCAN-USB adapter from
PEAK-System Technik (http://www.peak-system.com). The PCAN-USB adapter is
a sja1000 based, mono-channel USB 1.1 adapter compliant with CAN
specifications 2.0A (11-bit ID) and 2.0B (29-bit ID).

Tested-by: Oliver Hartkopp &lt;socketcan@hartkopp.net&gt;
Acked-by: Wolfgang Grandegger &lt;wg@grandegger.com&gt;
Signed-off-by: Stephane Grosjean &lt;s.grosjean@peak-system.com&gt;
Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>can: usb: PEAK-System Technik USB adapters driver core</title>
<updated>2012-03-03T16:40:51Z</updated>
<author>
<name>Stephane Grosjean</name>
<email>s.grosjean@peak-system.com</email>
</author>
<published>2012-03-02T15:13:04Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=bb4785551f64e18b2c8bb15a3bd2b22f5ebf624d'/>
<id>urn:sha1:bb4785551f64e18b2c8bb15a3bd2b22f5ebf624d</id>
<content type='text'>
This patch adds the core of the peak_usb driver which handles PEAK-System
Technik PCAN USB adapters. It defines the parts which are common to the
PCAN-USB adapters: can network interfaces management, network-to/from-usb
data path interface, timestamps management...

Tested-by: Oliver Hartkopp &lt;socketcan@hartkopp.net&gt;
Acked-by: Wolfgang Grandegger &lt;wg@grandegger.com&gt;
Signed-off-by: Stephane Grosjean &lt;s.grosjean@peak-system.com&gt;
Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>can: replace the dev_dbg/info/err/... with the new netdev_xxx macros</title>
<updated>2012-02-03T00:21:26Z</updated>
<author>
<name>Wolfgang Grandegger</name>
<email>wg@grandegger.com</email>
</author>
<published>2012-02-01T10:02:05Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=aabdfd6adb804d0aaba0188ade0f1afe42a52e31'/>
<id>urn:sha1:aabdfd6adb804d0aaba0188ade0f1afe42a52e31</id>
<content type='text'>
Cc: uclinux-dist-devel@blackfin.uclinux.org
Cc: Anant Gole &lt;anantgole@ti.com&gt;
Cc: Chris Elston &lt;celston@katalix.com&gt;
Cc: Sebastian Haas &lt;haas@ems-wuensche.com&gt;
Cc: Matthias Fuchs &lt;matthias.fuchs@esd.eu&gt;
Signed-off-by: Wolfgang Grandegger &lt;wg@grandegger.com&gt;
Acked-by: Sebastian Haas &lt;dev@sebastianhaas.info&gt;
Acked-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>can: ems_usb: Improved memory handling on ems_usb_start</title>
<updated>2012-02-03T00:21:25Z</updated>
<author>
<name>Sebastian Haas</name>
<email>dev@sebastianhaas.info</email>
</author>
<published>2011-12-22T22:58:34Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=2ee6850ca0cac95101d2a36c8b186b40d4fc7311'/>
<id>urn:sha1:2ee6850ca0cac95101d2a36c8b186b40d4fc7311</id>
<content type='text'>
Do not return from ems_usb_start if allocation fails. If not all URBs
could be allocated use the one already submitted.

Signed-off-by: Sebastian Haas &lt;dev@sebastianhaas.info&gt;
Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>can: ems_usb: Removed double netif_device_detach</title>
<updated>2012-02-03T00:20:51Z</updated>
<author>
<name>Sebastian Haas</name>
<email>dev@sebastianhaas.info</email>
</author>
<published>2011-12-22T22:57:49Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=f84cbda06f79f05b748707b33b925b50c2fedc84'/>
<id>urn:sha1:f84cbda06f79f05b748707b33b925b50c2fedc84</id>
<content type='text'>
netif_device_attched is called twice when ems_usb_start fails with -ENODEV

Signed-off-by: Sebastian Haas &lt;dev@sebastianhaas.info&gt;
Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>USB: convert drivers/net/* to use module_usb_driver()</title>
<updated>2011-11-18T17:44:20Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@suse.de</email>
</author>
<published>2011-11-18T17:44:20Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=d632eb1bf22e11def74e4e53cc47d790fbdba105'/>
<id>urn:sha1:d632eb1bf22e11def74e4e53cc47d790fbdba105</id>
<content type='text'>
This converts the drivers in drivers/net/* to use the
module_usb_driver() macro which makes the code smaller and a bit
simpler.

Added bonus is that it removes some unneeded kernel log messages about
drivers loading and/or unloading.

Cc: Wolfgang Grandegger &lt;wg@grandegger.com&gt;
Cc: Samuel Ortiz &lt;samuel@sortiz.org&gt;
Cc: Oliver Neukum &lt;oliver@neukum.name&gt;
Cc: Peter Korsgaard &lt;jacmet@sunsite.dk&gt;
Cc: Petko Manolov &lt;petkan@users.sourceforge.net&gt;
Cc: Steve Glendinning &lt;steve.glendinning@smsc.com&gt;
Cc: Christian Lamparter &lt;chunkeey@googlemail.com&gt;
Cc: "John W. Linville" &lt;linville@tuxdriver.com&gt;
Cc: Dan Williams &lt;dcbw@redhat.com&gt;
Cc: Jussi Kivilinna &lt;jussi.kivilinna@mbnet.fi&gt;
Cc: Ivo van Doorn &lt;IvDoorn@gmail.com&gt;
Cc: Gertjan van Wingerde &lt;gwingerde@gmail.com&gt;
Cc: Helmut Schaa &lt;helmut.schaa@googlemail.com&gt;
Cc: Herton Ronaldo Krzesinski &lt;herton@canonical.com&gt;
Cc: Hin-Tak Leung &lt;htl10@users.sourceforge.net&gt;
Cc: Larry Finger &lt;Larry.Finger@lwfinger.net&gt;
Cc: Chaoming Li &lt;chaoming_li@realsil.com.cn&gt;
Cc: Lucas De Marchi &lt;lucas.demarchi@profusion.mobi&gt;
Cc: "David S. Miller" &lt;davem@davemloft.net&gt;
Cc: Roel Kluin &lt;roel.kluin@gmail.com&gt;
Cc: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;
Cc: Jiri Pirko &lt;jpirko@redhat.com&gt;
Cc: Pavel Roskin &lt;proski@gnu.org&gt;
Cc: Yoann DI-RUZZA &lt;y.diruzza@lim.eu&gt;
Cc: George &lt;george0505@realtek.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
</feed>
