<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/net/can/usb, branch linux-2.6.35.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.35.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.35.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2010-05-21T04:26:12Z</updated>
<entry>
<title>Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6</title>
<updated>2010-05-21T04:26:12Z</updated>
<author>
<name>Linus Torvalds</name>
</author>
<published>2010-05-21T04:26:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7a9b149212f3716c598afe973b6261fd58453b7a'/>
<id>urn:sha1:7a9b149212f3716c598afe973b6261fd58453b7a</id>
<content type='text'>
* git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6: (229 commits)
  USB: remove unused usb_buffer_alloc and usb_buffer_free macros
  usb: musb: update gfp/slab.h includes
  USB: ftdi_sio: fix legacy SIO-device header
  USB: kl5usb105: reimplement using generic framework
  USB: kl5usb105: minor clean ups
  USB: kl5usb105: fix memory leak
  USB: io_ti: use kfifo to implement write buffering
  USB: io_ti: remove unsused private counter
  USB: ti_usb: use kfifo to implement write buffering
  USB: ir-usb: fix incorrect write-buffer length
  USB: aircable: fix incorrect write-buffer length
  USB: safe_serial: straighten out read processing
  USB: safe_serial: reimplement read using generic framework
  USB: safe_serial: reimplement write using generic framework
  usb-storage: always print quirks
  USB: usb-storage: trivial debug improvements
  USB: oti6858: use port write fifo
  USB: oti6858: use kfifo to implement write buffering
  USB: cypress_m8: use kfifo to implement write buffering
  USB: cypress_m8: remove unused drain define
  ...

Fix up conflicts (due to usb_buffer_alloc/free renaming) in
	drivers/input/tablet/acecad.c
	drivers/input/tablet/kbtab.c
	drivers/input/tablet/wacom_sys.c
	drivers/media/video/gspca/gspca.c
	sound/usb/usbaudio.c
</content>
</entry>
<entry>
<title>USB: rename usb_buffer_alloc() and usb_buffer_free() users</title>
<updated>2010-05-20T20:21:38Z</updated>
<author>
<name>Daniel Mack</name>
</author>
<published>2010-04-12T11:17:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=997ea58eb92f9970b8af7aae48800d0ef43b9423'/>
<id>urn:sha1:997ea58eb92f9970b8af7aae48800d0ef43b9423</id>
<content type='text'>
For more clearance what the functions actually do,

  usb_buffer_alloc() is renamed to usb_alloc_coherent()
  usb_buffer_free()  is renamed to usb_free_coherent()

They should only be used in code which really needs DMA coherency.

All call sites have been changed accordingly, except for staging
drivers.

Signed-off-by: Daniel Mack &lt;daniel@caiaq.de&gt;
Cc: Alan Stern &lt;stern@rowland.harvard.edu&gt;
Cc: Pedro Ribeiro &lt;pedrib@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>drivers/net: Remove unnecessary returns from void function()s</title>
<updated>2010-05-14T07:19:28Z</updated>
<author>
<name>Joe Perches</name>
</author>
<published>2010-05-14T07:19:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a4b770972b8f819e408d7cc3ae9637e15bff62f6'/>
<id>urn:sha1:a4b770972b8f819e408d7cc3ae9637e15bff62f6</id>
<content type='text'>
This patch removes from drivers/net/ all the unnecessary
return; statements that precede the last closing brace of
void functions.

It does not remove the returns that are immediately
preceded by a label as gcc doesn't like that.

It also does not remove null void functions with return.

Done via:
$ grep -rP --include=*.[ch] -l "return;\n}" net/ | \
  xargs perl -i -e 'local $/ ; while (&lt;&gt;) { s/\n[ \t\n]+return;\n}/\n}/g; print; }'

with some cleanups by hand.

Compile tested x86 allmodconfig only.

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>can: Fix possible NULL pointer dereference in ems_usb.c</title>
<updated>2010-04-21T23:14:51Z</updated>
<author>
<name>Hans J. Koch</name>
</author>
<published>2010-04-21T00:18:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1c0b28b1ee90261a0a27194e6684dd2837785064'/>
<id>urn:sha1:1c0b28b1ee90261a0a27194e6684dd2837785064</id>
<content type='text'>
In ems_usb_probe(), a pointer is dereferenced after making sure it is NULL...

This patch replaces netdev-&gt;dev.parent with &amp;intf-&gt;dev in dev_err() calls to
avoid this.

Signed-off-by: "Hans J. Koch" &lt;hjk@linutronix.de&gt;
Acked-by: Wolfgang Grandegger &lt;wg@grandegger.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>ems_usb: cleanup: remove uneeded check</title>
<updated>2010-03-07T23:25:50Z</updated>
<author>
<name>Dan Carpenter</name>
</author>
<published>2010-03-06T01:11:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ea3fb371b2a391958670f2a65e1203f7dba61671'/>
<id>urn:sha1:ea3fb371b2a391958670f2a65e1203f7dba61671</id>
<content type='text'>
"skb" is alway non-null here, but even if it were null the check isn't
needed because dev_kfree_skb() can handle it.

This eliminates a smatch warning about dereferencing a variable before
checking that it is non-null.

Signed-off-by: Dan Carpenter &lt;error27@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>can: ems_usb: removed duplicated code setting local echo support</title>
<updated>2010-02-04T17:21:28Z</updated>
<author>
<name>Thadeu Lima de Souza Cascardo</name>
</author>
<published>2010-02-04T17:21:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ae06b8330aefb0338017c427d5694fc8ea9144c8'/>
<id>urn:sha1:ae06b8330aefb0338017c427d5694fc8ea9144c8</id>
<content type='text'>
Signed-off-by: Thadeu Lima de Souza Cascardo &lt;cascardo@holoscopio.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>trivial: remove duplicated "from" in CAN USB EMS Kconfig help</title>
<updated>2010-02-04T04:32:18Z</updated>
<author>
<name>Thadeu Lima de Souza Cascardo</name>
</author>
<published>2010-02-01T07:58:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=59b26c72914920fd12695033c5a099fb0bfae935'/>
<id>urn:sha1:59b26c72914920fd12695033c5a099fb0bfae935</id>
<content type='text'>
Signed-off-by: Thadeu Lima de Souza Cascardo &lt;cascardo@holoscopio.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>can: Proper ctrlmode handling for CAN devices</title>
<updated>2010-01-15T09:39:17Z</updated>
<author>
<name>Christian Pellegrin</name>
</author>
<published>2010-01-14T07:08:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ad72c347e56bf3a0231b9d686e17764157d2961c'/>
<id>urn:sha1:ad72c347e56bf3a0231b9d686e17764157d2961c</id>
<content type='text'>
This patch adds error checking of ctrlmode values for CAN devices. As
an example all availabe bits are implemented in the mcp251x driver.

Signed-off-by: Christian Pellegrin &lt;chripell@fsfe.org&gt;
Acked-by: Wolfgang Grandegger &lt;wg@grandegger.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>can: Unify droping of invalid tx skbs and netdev stats</title>
<updated>2010-01-12T10:00:46Z</updated>
<author>
<name>Oliver Hartkopp</name>
</author>
<published>2010-01-12T10:00:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3ccd4c6167d3b39d52631767ebbf8b5677c5855d'/>
<id>urn:sha1:3ccd4c6167d3b39d52631767ebbf8b5677c5855d</id>
<content type='text'>
To prevent the CAN drivers to operate on invalid socketbuffers the skbs are
now checked and silently dropped at the xmit-function consistently.

Also the netdev stats are consistently using the CAN data length code (dlc)
for [rx|tx]_bytes now.

Signed-off-by: Oliver Hartkopp &lt;oliver@hartkopp.net&gt;
Acked-by: Wolfgang Grandegger &lt;wg@grandegger.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>can: Fix data length code handling in rx path</title>
<updated>2009-12-14T03:47:42Z</updated>
<author>
<name>Oliver Hartkopp</name>
</author>
<published>2009-12-12T04:13:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c7cd606f60e7679c7f9eee7010f02a6f000209c1'/>
<id>urn:sha1:c7cd606f60e7679c7f9eee7010f02a6f000209c1</id>
<content type='text'>
A valid CAN dataframe can have a data length code (DLC) of 0 .. 8 data bytes.

When reading the CAN controllers register the 4-bit value may contain values
from 0 .. 15 which may exceed the reserved space in the socket buffer!

The ISO 11898-1 Chapter 8.4.2.3 (DLC field) says that register values &gt; 8
should be reduced to 8 without any error reporting or frame drop.

This patch introduces a new helper macro to cast a given 4-bit data length
code (dlc) to __u8 and ensure the DLC value to be max. 8 bytes.

The different handlings in the rx path of the CAN netdevice drivers are fixed.

Signed-off-by: Oliver Hartkopp &lt;oliver@hartkopp.net&gt;
Signed-off-by: Wolfgang Grandegger &lt;wg@grandegger.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
