<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/net/can, branch v3.1</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/drivers/net/can?h=v3.1</id>
<link rel='self' href='https://git.amat.us/linux/atom/drivers/net/can?h=v3.1'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2011-10-10T18:31:00Z</updated>
<entry>
<title>mscan: too much data copied to CAN frame due to 16 bit accesses</title>
<updated>2011-10-10T18:31:00Z</updated>
<author>
<name>Wolfgang Grandegger</name>
<email>wg@grandegger.com</email>
</author>
<published>2011-10-07T09:28:14Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=a3a4bfde8a271df7ee56fcf31b8d907d50e7f216'/>
<id>urn:sha1:a3a4bfde8a271df7ee56fcf31b8d907d50e7f216</id>
<content type='text'>
Due to the 16 bit access to mscan registers there's too much data copied to
the zero initialized CAN frame when having an odd number of bytes to copy.
This patch ensures that only the requested bytes are copied by using an
8 bit access for the remaining byte.

Reported-by: Andre Naujoks &lt;nautsch@gmail.com&gt;
Signed-off-by: Oliver Hartkopp &lt;socketcan@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>
<entry>
<title>can: ti_hecc: include linux/io.h</title>
<updated>2011-09-16T23:21:27Z</updated>
<author>
<name>Daniel Mack</name>
<email>zonque@gmail.com</email>
</author>
<published>2011-09-16T07:57:43Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=34b8686d278f00fb16234e74be44c253d6d6b676'/>
<id>urn:sha1:34b8686d278f00fb16234e74be44c253d6d6b676</id>
<content type='text'>
This fixes a build breakage for OMAP3 boards.

Signed-off-by: Daniel Mack &lt;zonque@gmail.com&gt;
Cc: Wolfgang Grandegger &lt;wg@grandegger.com&gt;
Cc: netdev@vger.kernel.org
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: ti_hecc: Fix uninitialized spinlock in probe</title>
<updated>2011-08-26T16:48:24Z</updated>
<author>
<name>Abhilash K V</name>
<email>abhilash.kv@ti.com</email>
</author>
<published>2011-08-23T03:05:57Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=86ad47fff97a9e416aadedfe68909b2d9143dc42'/>
<id>urn:sha1:86ad47fff97a9e416aadedfe68909b2d9143dc42</id>
<content type='text'>
In ti_hecc_probe(), the spinlock  priv-&gt;mbx_lock is not
inited, causing a spinlock lockup BUG.

Acked-by: Anant Gole &lt;anantgole@ti.com&gt;
Signed-off-by: Abhilash K V &lt;abhilash.kv@ti.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>can: ti_hecc: Fix unintialized variable</title>
<updated>2011-08-26T16:48:24Z</updated>
<author>
<name>Abhilash K V</name>
<email>abhilash.kv@ti.com</email>
</author>
<published>2011-08-23T03:05:48Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=6f288cc52f478e6f58d96158e7cd857fedb6d111'/>
<id>urn:sha1:6f288cc52f478e6f58d96158e7cd857fedb6d111</id>
<content type='text'>
In ti_hecc_xmit(), local variable "data" is not initialized before
being used.
This initialization got inadvertently removed in the following patch:

	can: Unify droping of invalid tx skbs and netdev stats

Acked-by: Anant Gole &lt;anantgole@ti.com&gt;
Signed-off-by: Abhilash K V &lt;abhilash.kv@ti.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>drivers/net/can/sja1000/plx_pci.c: eliminate double free</title>
<updated>2011-08-14T01:00:32Z</updated>
<author>
<name>Julia Lawall</name>
<email>julia@diku.dk</email>
</author>
<published>2011-08-08T06:28:50Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=951f2f960e5bbce20309de44626cf11d17847712'/>
<id>urn:sha1:951f2f960e5bbce20309de44626cf11d17847712</id>
<content type='text'>
In this code, the failure_cleanup label calls the function
plx_pci_del_card, which frees everything in the card-&gt;net_dev array.  dev
is placed in this array immediately after allocation, so the two subsequent
jumps to failure_cleanup should not also call free_sja1000dev, but the
second one does.

If plx_pci_check_sja1000 fails, then free_sja1000dev is also called on
dev.  Because dev is already in the card-&gt;net_dev array, this implies that
when plx_pci_del_card is later called, it may get freed again.  So that
entry is reset to NULL after the free.

Finally, if there is a problem with one channel, there will be a hole in the
array.  card-&gt;channels counts the number of channels that have succeeded,
and does not keep track of the index of the largest element in the array
that is valid.  So the loop in plx_pci_del_card is changed to go up to
PLX_PCI_MAX_CHAN, which is only 2.

Signed-off-by: Julia Lawall &lt;julia@diku.dk&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>slcan: ldisc generated skbs are received in softirq context</title>
<updated>2011-08-11T12:52:57Z</updated>
<author>
<name>Oliver Hartkopp</name>
<email>socketcan@hartkopp.net</email>
</author>
<published>2011-08-10T05:18:59Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=174c95d2526afbf974d9134f7f91fca8c4c8b538'/>
<id>urn:sha1:174c95d2526afbf974d9134f7f91fca8c4c8b538</id>
<content type='text'>
As this discussion pointed out

http://marc.info/?l=linux-netdev&amp;m=131257225602375

netdevices that are based on serial line disciplines should use netif_rx_ni()
when pushing received socketbuffers into the netdev rx queue.

Following commit 614851601c121b1320a35757ab88292d6272f906 ("slip: fix NOHZ
local_softirq_pending 08 warning") this patch updates the slcan driver
accordingly.

Signed-off-by: Oliver Hartkopp &lt;socketcan@hartkopp.net&gt;
CC: Matvejchikov Ilya &lt;matvejchikov@gmail.com&gt;
CC: Alan Cox &lt;alan@lxorguk.ukuu.org.uk&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial</title>
<updated>2011-07-25T20:56:39Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2011-07-25T20:56:39Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=d3ec4844d449cf7af9e749f73ba2052fb7b72fc2'/>
<id>urn:sha1:d3ec4844d449cf7af9e749f73ba2052fb7b72fc2</id>
<content type='text'>
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (43 commits)
  fs: Merge split strings
  treewide: fix potentially dangerous trailing ';' in #defined values/expressions
  uwb: Fix misspelling of neighbourhood in comment
  net, netfilter: Remove redundant goto in ebt_ulog_packet
  trivial: don't touch files that are removed in the staging tree
  lib/vsprintf: replace link to Draft by final RFC number
  doc: Kconfig: `to be' -&gt; `be'
  doc: Kconfig: Typo: square -&gt; squared
  doc: Konfig: Documentation/power/{pm =&gt; apm-acpi}.txt
  drivers/net: static should be at beginning of declaration
  drivers/media: static should be at beginning of declaration
  drivers/i2c: static should be at beginning of declaration
  XTENSA: static should be at beginning of declaration
  SH: static should be at beginning of declaration
  MIPS: static should be at beginning of declaration
  ARM: static should be at beginning of declaration
  rcu: treewide: Do not use rcu_read_lock_held when calling rcu_dereference_check
  Update my e-mail address
  PCIe ASPM: forcedly -&gt; forcibly
  gma500: push through device driver tree
  ...

Fix up trivial conflicts:
 - arch/arm/mach-ep93xx/dma-m2p.c (deleted)
 - drivers/gpio/gpio-ep93xx.c (renamed and context nearby)
 - drivers/net/r8169.c (just context changes)
</content>
</entry>
<entry>
<title>can: c_can: remove duplicated #include</title>
<updated>2011-07-24T03:01:15Z</updated>
<author>
<name>Huang Weiyi</name>
<email>weiyi.huang@gmail.com</email>
</author>
<published>2011-07-22T22:19:40Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=4570a5248bafd9d06d31ab6f6ef337c90a2a4bc0'/>
<id>urn:sha1:4570a5248bafd9d06d31ab6f6ef337c90a2a4bc0</id>
<content type='text'>
Remove duplicated #include('s) in
  drivers/net/can/c_can/c_can.c
  drivers/net/can/c_can/c_can_platform.c

Signed-off-by: Huang Weiyi &lt;weiyi.huang@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>can: make function can_get_bittiming static</title>
<updated>2011-07-22T03:39:47Z</updated>
<author>
<name>Thadeu Lima de Souza Cascardo</name>
<email>cascardo@holoscopio.com</email>
</author>
<published>2011-07-21T16:22:31Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=61463a30f65225e19e68f59dbd7b888bb308ec99'/>
<id>urn:sha1:61463a30f65225e19e68f59dbd7b888bb308ec99</id>
<content type='text'>
The function can_get_bittiming is not used anywhere else, so it should be
static.

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>slcan: remove unused 'leased', 'line' and 'pid' fields from the 'slcan' structure</title>
<updated>2011-07-19T23:55:42Z</updated>
<author>
<name>Matvejchikov Ilya</name>
<email>matvejchikov@gmail.com</email>
</author>
<published>2011-07-18T21:58:48Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=7ad711b49e661a0979ed1a84bed16bc9fa7f872b'/>
<id>urn:sha1:7ad711b49e661a0979ed1a84bed16bc9fa7f872b</id>
<content type='text'>
Signed-off-by: Matvejchikov Ilya &lt;matvejchikov@gmail.com&gt;
Acked-by: Oliver Hartkopp &lt;socketcan@hartkopp.net&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
