<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/net/can/usb/usb_8dev.c, branch linux-3.9.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.9.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.9.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2013-07-03T17:55:37Z</updated>
<entry>
<title>can: usb_8dev: unregister netdev before free()ing</title>
<updated>2013-07-03T17:55:37Z</updated>
<author>
<name>Marc Kleine-Budde</name>
</author>
<published>2013-06-18T12:33:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bc0afb482febab74c665efce54507c9d70d8c6f2'/>
<id>urn:sha1:bc0afb482febab74c665efce54507c9d70d8c6f2</id>
<content type='text'>
commit 4afe2156eb639e563d6ef0c2706b66ea400348b2 upstream.

The usb_8dev hardware has problems on some xhci USB hosts. The driver fails to
read the firmware revision in the probe function. This leads to the following
Oops:

    [ 3356.635912] kernel BUG at net/core/dev.c:5701!

The driver tries to free the netdev, which has already been registered, without
unregistering it.

This patch fixes the problem by unregistering the netdev in the error path.

Reported-by: Michael Olbrich &lt;m.olbrich@pengutronix.de&gt;
Reviewed-by: Bernd Krumboeck &lt;krumboeck@universalnet.at&gt;
Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
Cc: Oliver Hartkopp &lt;socketcan@hartkopp.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>can: Remove unnecessary alloc/OOM messages</title>
<updated>2013-02-04T18:22:33Z</updated>
<author>
<name>Joe Perches</name>
</author>
<published>2013-02-03T17:28:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=09da6c5f60ad2e2018366e47192a9ddbccfb3ac5'/>
<id>urn:sha1:09da6c5f60ad2e2018366e47192a9ddbccfb3ac5</id>
<content type='text'>
alloc failures already get standardized OOM
messages and a dump_stack.

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Acked-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>can: usb_8dev: add LED trigger support</title>
<updated>2013-01-26T15:59:01Z</updated>
<author>
<name>Bernd Krumboeck</name>
</author>
<published>2012-12-18T17:51:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e2d5f2c7d66224c1a401ed1f797e467c02c025b8'/>
<id>urn:sha1:e2d5f2c7d66224c1a401ed1f797e467c02c025b8</id>
<content type='text'>
Add support for canbus activity led indicators on usb_8dev devices by
calling appropriate can_led functions.

These are only enabled when CONFIG_CAN_LEDS is Y, becomes no-op
otherwise.

Signed-off-by: Bernd Krumboeck &lt;krumboeck@universalnet.at&gt;
Signed-off-by: Fabio Baltieri &lt;fabio.baltieri@gmail.com&gt;
Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>can: usb_8dev: Add support for USB2CAN interface from 8 devices</title>
<updated>2013-01-26T15:58:58Z</updated>
<author>
<name>Bernd Krumboeck</name>
</author>
<published>2013-01-19T06:30:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0024d8ad1639e32d717445c69ca813fd19c2a91c'/>
<id>urn:sha1:0024d8ad1639e32d717445c69ca813fd19c2a91c</id>
<content type='text'>
Add device driver for USB2CAN interface from "8 devices" (http://www.8devices.com).

changes since v10:
* small cleanups

changes since v9:
* fixed syslog messages
* fixed crc error number
* increased MAX_RX_URBS and MAX_TX_URBS

changes since v8:
* remove all sysfs files

changes since v7:
* add sysfs documentation
* fix minor styling issue
* fixed can state for passive mode
* changed handling for crc errors

changes since v6:
* changed some variable types to big endian equivalent
* small cleanups

changes since v5:
* unlock mutex on error

changes since v4:
* removed FSF address
* renamed struct usb_8dev
* removed unused variable free_slots
* replaced some _to_cpu functions with pointer equivalent
* fix return value for usb_8dev_set_mode
* handle can errors with separate function
* fix overrun error handling
* rewrite error handling for usb_8dev_start_xmit
* fix urb submit in usb_8dev_start
* various small fixes

Acked-by: Wolfgang Grandegger &lt;wg@grandegger.com&gt;
Tested-by: Oliver Hartkopp &lt;socketcan@hartkopp.net&gt;
Signed-off-by: Bernd Krumboeck &lt;krumboeck@universalnet.at&gt;
Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
</content>
</entry>
</feed>
