<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux.git/drivers/net/natsemi.c, branch master</title>
<subtitle>Linux kernel source tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/'/>
<entry>
<title>*sonic/natsemi/ns83829: Move the National Semi-conductor drivers</title>
<updated>2011-08-11T23:29:21+00:00</updated>
<author>
<name>Jeff Kirsher</name>
<email>jeffrey.t.kirsher@intel.com</email>
</author>
<published>2011-05-18T12:14:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=d9fb9f384292d848ad9db386bcf97f1e06e60264'/>
<id>d9fb9f384292d848ad9db386bcf97f1e06e60264</id>
<content type='text'>
Move the National Semi-conductor drivers into drivers/net/ethernet/natsemi/
and make the necessary Kconfig and Makefile changes.  Also moved the 8390
(National Semi-conductor) devices as a sub-menu of National Semi-conductor
devices.

- moved the ibmlana driver as well into this directory since it is a
  "SONIC" driver

CC: Alfred Arnold &lt;alfred.arnold@lancom.de&gt;
CC: Thomas Bogendoerfer &lt;tsbogend@alpha.franken.de&gt;
CC: Harald Welte &lt;laforge@gnumonks.org&gt;
CC: Tim Hockin &lt;thockin@hockin.org&gt;
CC: &lt;linux-ns83820@kvack.org&gt;
CC: Kevin Chea &lt;kchea@yahoo.com&gt;
CC: Marc Gauthier &lt;marc@linux-xtensa.org&gt;
CC: Chris Zankel &lt;chris@zankel.net&gt;
Signed-off-by: Jeff Kirsher &lt;jeffrey.t.kirsher@intel.com&gt;
Acked-by: Marc Gauthier &lt;marc@tensilica.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Move the National Semi-conductor drivers into drivers/net/ethernet/natsemi/
and make the necessary Kconfig and Makefile changes.  Also moved the 8390
(National Semi-conductor) devices as a sub-menu of National Semi-conductor
devices.

- moved the ibmlana driver as well into this directory since it is a
  "SONIC" driver

CC: Alfred Arnold &lt;alfred.arnold@lancom.de&gt;
CC: Thomas Bogendoerfer &lt;tsbogend@alpha.franken.de&gt;
CC: Harald Welte &lt;laforge@gnumonks.org&gt;
CC: Tim Hockin &lt;thockin@hockin.org&gt;
CC: &lt;linux-ns83820@kvack.org&gt;
CC: Kevin Chea &lt;kchea@yahoo.com&gt;
CC: Marc Gauthier &lt;marc@linux-xtensa.org&gt;
CC: Chris Zankel &lt;chris@zankel.net&gt;
Signed-off-by: Jeff Kirsher &lt;jeffrey.t.kirsher@intel.com&gt;
Acked-by: Marc Gauthier &lt;marc@tensilica.com&gt;
</pre>
</div>
</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:39+00:00</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2011-07-25T20:56:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=d3ec4844d449cf7af9e749f73ba2052fb7b72fc2'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* '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)
</pre>
</div>
</content>
</entry>
<entry>
<title>treewide: fix potentially dangerous trailing ';' in #defined values/expressions</title>
<updated>2011-07-21T12:10:00+00:00</updated>
<author>
<name>Phil Carmody</name>
<email>ext-phil.2.carmody@nokia.com</email>
</author>
<published>2011-07-14T12:07:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=497888cf69bf607ac1fe061a6437e0a670b0022f'/>
<id>497888cf69bf607ac1fe061a6437e0a670b0022f</id>
<content type='text'>
All these are instances of
  #define NAME value;
or
  #define NAME(params_opt) value;

These of course fail to build when used in contexts like
  if(foo $OP NAME)
  while(bar $OP NAME)
and may silently generate the wrong code in contexts such as
  foo = NAME + 1;    /* foo = value; + 1; */
  bar = NAME - 1;    /* bar = value; - 1; */
  baz = NAME &amp; quux; /* baz = value; &amp; quux; */

Reported on comp.lang.c,
Message-ID: &lt;ab0d55fe-25e5-482b-811e-c475aa6065c3@c29g2000yqd.googlegroups.com&gt;
Initial analysis of the dangers provided by Keith Thompson in that thread.

There are many more instances of more complicated macros having unnecessary
trailing semicolons, but this pile seems to be all of the cases of simple
values suffering from the problem. (Thus things that are likely to be found
in one of the contexts above, more complicated ones aren't.)

Signed-off-by: Phil Carmody &lt;ext-phil.2.carmody@nokia.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
All these are instances of
  #define NAME value;
or
  #define NAME(params_opt) value;

These of course fail to build when used in contexts like
  if(foo $OP NAME)
  while(bar $OP NAME)
and may silently generate the wrong code in contexts such as
  foo = NAME + 1;    /* foo = value; + 1; */
  bar = NAME - 1;    /* bar = value; - 1; */
  baz = NAME &amp; quux; /* baz = value; &amp; quux; */

Reported on comp.lang.c,
Message-ID: &lt;ab0d55fe-25e5-482b-811e-c475aa6065c3@c29g2000yqd.googlegroups.com&gt;
Initial analysis of the dangers provided by Keith Thompson in that thread.

There are many more instances of more complicated macros having unnecessary
trailing semicolons, but this pile seems to be all of the cases of simple
values suffering from the problem. (Thus things that are likely to be found
in one of the contexts above, more complicated ones aren't.)

Signed-off-by: Phil Carmody &lt;ext-phil.2.carmody@nokia.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'master' into for-next</title>
<updated>2011-07-11T12:15:55+00:00</updated>
<author>
<name>Jiri Kosina</name>
<email>jkosina@suse.cz</email>
</author>
<published>2011-07-11T12:15:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=b7e9c223be8ce335e30f2cf6ba588e6a4092275c'/>
<id>b7e9c223be8ce335e30f2cf6ba588e6a4092275c</id>
<content type='text'>
Sync with Linus' tree to be able to apply pending patches that
are based on newer code already present upstream.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Sync with Linus' tree to be able to apply pending patches that
are based on newer code already present upstream.
</pre>
</div>
</content>
</entry>
<entry>
<title>natsemi: fix another dma-debug report</title>
<updated>2011-07-10T14:07:40+00:00</updated>
<author>
<name>Jim Cromie</name>
<email>jim.cromie@gmail.com</email>
</author>
<published>2011-07-10T14:07:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=ff1817749f0405c019420fcb415ad20fedec7884'/>
<id>ff1817749f0405c019420fcb415ad20fedec7884</id>
<content type='text'>
commit 2fb83cd618be34546fb526a9051eceaa95517026
Author: FUJITA Tomonori &lt;fujita.tomonori@lab.ntt.co.jp&gt;
Date:   Sun Jul 3 22:34:29 2011 -0700

Above commit fixed previously reported warning, but I later
noticed another one at shutdown.  This commit fixes it.

------------[ cut here ]------------
WARNING: at /home/jimc/projects/lx/linux-2.6/lib/dma-debug.c:820 check_unmap+0x1fe/0x56c()
natsemi 0000:00:06.0: DMA-API: device driver frees DMA memory with different size [device address=0x0000000007356840] [map size=1538 bytes] [unmap size=1522 bytes]
Modules linked in: bridge stp llc x_tables ipv6 pc87360 hwmon_vid scx200_hrt pc8736x_gpio scx200_gpio nsc_gpio scx200_acb i2c_core arc4 rtl8180 mac80211 eeprom_93cx6 cfg80211 pcspkr scx200 rfkill ide_gd_mod ide_pci_generic ohci_hcd usbcore sc1200 ide_core [last unloaded: ebtables]
Pid: 3996, comm: ifconfig Not tainted 3.0.0-rc6-skc-dyndbg+ #104
Call Trace:
 [&lt;c011ca97&gt;] warn_slowpath_common+0x4a/0x5f
 [&lt;c0261ca5&gt;] ? check_unmap+0x1fe/0x56c
 [&lt;c011cb10&gt;] warn_slowpath_fmt+0x26/0x2a
 [&lt;c0261ca5&gt;] check_unmap+0x1fe/0x56c
 [&lt;c0116505&gt;] ? check_preempt_curr+0x5a/0x6a
 [&lt;c0262186&gt;] debug_dma_unmap_page+0x53/0x5b
 [&lt;c02aaaf9&gt;] pci_unmap_single+0x4d/0x57
 [&lt;c02aab51&gt;] drain_rx+0x4e/0x74
 [&lt;c02acc6e&gt;] netdev_close+0x103/0x1b8
 [&lt;c02f097e&gt;] ? spin_unlock_bh.clone.30+0x12/0x14
 [&lt;c02f10aa&gt;] ? dev_deactivate_many+0xc1/0xef
 [&lt;c02e05e9&gt;] __dev_close_many+0x69/0x86
 [&lt;c02e0625&gt;] __dev_close+0x1f/0x2c
 [&lt;c02e3200&gt;] __dev_change_flags+0x92/0x107
 [&lt;c02e32db&gt;] dev_change_flags+0x13/0x3f
 [&lt;c031e7ea&gt;] devinet_ioctl+0x248/0x4b3
 [&lt;c02e3a9e&gt;] ? dev_ioctl+0x50a/0x54c
 [&lt;c031f509&gt;] inet_ioctl+0x8e/0xa7
 [&lt;c02d506f&gt;] sock_ioctl+0x1b6/0x1da
 [&lt;c02d4eb9&gt;] ? sock_fasync+0x61/0x61
 [&lt;c0183db4&gt;] do_vfs_ioctl+0x44d/0x47f
 [&lt;c0113cdb&gt;] ? do_page_fault+0x268/0x299
 [&lt;c01339d0&gt;] ? __put_cred+0x34/0x36
 [&lt;c0177d83&gt;] ? sys_faccessat+0x13e/0x14b
 [&lt;c0183e14&gt;] sys_ioctl+0x2e/0x4a
 [&lt;c035bc95&gt;] syscall_call+0x7/0xb
---[ end trace 7013a1bdac403e56 ]---

Signed-off-by: Jim Cromie &lt;jim.cromie@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commit 2fb83cd618be34546fb526a9051eceaa95517026
Author: FUJITA Tomonori &lt;fujita.tomonori@lab.ntt.co.jp&gt;
Date:   Sun Jul 3 22:34:29 2011 -0700

Above commit fixed previously reported warning, but I later
noticed another one at shutdown.  This commit fixes it.

------------[ cut here ]------------
WARNING: at /home/jimc/projects/lx/linux-2.6/lib/dma-debug.c:820 check_unmap+0x1fe/0x56c()
natsemi 0000:00:06.0: DMA-API: device driver frees DMA memory with different size [device address=0x0000000007356840] [map size=1538 bytes] [unmap size=1522 bytes]
Modules linked in: bridge stp llc x_tables ipv6 pc87360 hwmon_vid scx200_hrt pc8736x_gpio scx200_gpio nsc_gpio scx200_acb i2c_core arc4 rtl8180 mac80211 eeprom_93cx6 cfg80211 pcspkr scx200 rfkill ide_gd_mod ide_pci_generic ohci_hcd usbcore sc1200 ide_core [last unloaded: ebtables]
Pid: 3996, comm: ifconfig Not tainted 3.0.0-rc6-skc-dyndbg+ #104
Call Trace:
 [&lt;c011ca97&gt;] warn_slowpath_common+0x4a/0x5f
 [&lt;c0261ca5&gt;] ? check_unmap+0x1fe/0x56c
 [&lt;c011cb10&gt;] warn_slowpath_fmt+0x26/0x2a
 [&lt;c0261ca5&gt;] check_unmap+0x1fe/0x56c
 [&lt;c0116505&gt;] ? check_preempt_curr+0x5a/0x6a
 [&lt;c0262186&gt;] debug_dma_unmap_page+0x53/0x5b
 [&lt;c02aaaf9&gt;] pci_unmap_single+0x4d/0x57
 [&lt;c02aab51&gt;] drain_rx+0x4e/0x74
 [&lt;c02acc6e&gt;] netdev_close+0x103/0x1b8
 [&lt;c02f097e&gt;] ? spin_unlock_bh.clone.30+0x12/0x14
 [&lt;c02f10aa&gt;] ? dev_deactivate_many+0xc1/0xef
 [&lt;c02e05e9&gt;] __dev_close_many+0x69/0x86
 [&lt;c02e0625&gt;] __dev_close+0x1f/0x2c
 [&lt;c02e3200&gt;] __dev_change_flags+0x92/0x107
 [&lt;c02e32db&gt;] dev_change_flags+0x13/0x3f
 [&lt;c031e7ea&gt;] devinet_ioctl+0x248/0x4b3
 [&lt;c02e3a9e&gt;] ? dev_ioctl+0x50a/0x54c
 [&lt;c031f509&gt;] inet_ioctl+0x8e/0xa7
 [&lt;c02d506f&gt;] sock_ioctl+0x1b6/0x1da
 [&lt;c02d4eb9&gt;] ? sock_fasync+0x61/0x61
 [&lt;c0183db4&gt;] do_vfs_ioctl+0x44d/0x47f
 [&lt;c0113cdb&gt;] ? do_page_fault+0x268/0x299
 [&lt;c01339d0&gt;] ? __put_cred+0x34/0x36
 [&lt;c0177d83&gt;] ? sys_faccessat+0x13e/0x14b
 [&lt;c0183e14&gt;] sys_ioctl+0x2e/0x4a
 [&lt;c035bc95&gt;] syscall_call+0x7/0xb
---[ end trace 7013a1bdac403e56 ]---

Signed-off-by: Jim Cromie &lt;jim.cromie@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>net/natsemi: Fix module parameter permissions</title>
<updated>2011-07-08T16:05:20+00:00</updated>
<author>
<name>Jean Delvare</name>
<email>jdelvare@suse.de</email>
</author>
<published>2011-07-07T23:01:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=b1f524e36cb691d20bfdaee423977f1decb81cf6'/>
<id>b1f524e36cb691d20bfdaee423977f1decb81cf6</id>
<content type='text'>
The third parameter of module_param is supposed to represent sysfs
file permissions. A value of "1" leads to the following:

$ ls -l /sys/module/natsemi/parameters/
total 0
---------x 1 root root 4096 Jul  8 09:46 dspcfg_workaround

I am changing it to "0" to align with the other module parameters in
this driver.

Signed-off-by: Jean Delvare &lt;jdelvare@suse.de&gt;
Cc: Tim Hockin &lt;thockin@hockin.org&gt;
Cc: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The third parameter of module_param is supposed to represent sysfs
file permissions. A value of "1" leads to the following:

$ ls -l /sys/module/natsemi/parameters/
total 0
---------x 1 root root 4096 Jul  8 09:46 dspcfg_workaround

I am changing it to "0" to align with the other module parameters in
this driver.

Signed-off-by: Jean Delvare &lt;jdelvare@suse.de&gt;
Cc: Tim Hockin &lt;thockin@hockin.org&gt;
Cc: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>natsemi: silence dma-debug warnings</title>
<updated>2011-07-04T05:34:29+00:00</updated>
<author>
<name>FUJITA Tomonori</name>
<email>fujita.tomonori@lab.ntt.co.jp</email>
</author>
<published>2011-07-04T05:34:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=2fb83cd618be34546fb526a9051eceaa95517026'/>
<id>2fb83cd618be34546fb526a9051eceaa95517026</id>
<content type='text'>
This silences dma-debug warnings:

https://lkml.org/lkml/2011/6/30/341

------------[ cut here ]------------
WARNING: at /home/jimc/projects/lx/linux-2.6/lib/dma-debug.c:820
check_unmap+0x1fe/0x56a()
natsemi 0000:00:06.0: DMA-API: device driver frees DMA memory with
different size [device address=0x0000000006ef0040] [map size=1538
bytes] [unmap size=1522 bytes]
Modules linked in: pc8736x_gpio pc87360 hwmon_vid scx200_gpio nsc_gpio
scx200_hrt scx200_acb i2c_core arc4 rtl8180 mac80211 eeprom_93cx6
cfg80211 pcspkr rfkill scx200 ide_gd_mod ide_pci_generic ohci_hcd
usbcore sc1200 ide_core
Pid: 870, comm: collector Not tainted 3.0.0-rc5-sk-00080-gca56a95 #1
Call Trace:
 [&lt;c011a556&gt;] warn_slowpath_common+0x4a/0x5f
 [&lt;c02565cb&gt;] ? check_unmap+0x1fe/0x56a
 [&lt;c011a5cf&gt;] warn_slowpath_fmt+0x26/0x2a
 [&lt;c02565cb&gt;] check_unmap+0x1fe/0x56a
 [&lt;c0256aaa&gt;] debug_dma_unmap_page+0x53/0x5b
 [&lt;c029d6cd&gt;] pci_unmap_single+0x4d/0x57
 [&lt;c029ea0a&gt;] natsemi_poll+0x343/0x5ca
 [&lt;c0116f41&gt;] ? try_to_wake_up+0xea/0xfc
 [&lt;c0122416&gt;] ? spin_unlock_irq.clone.28+0x18/0x23
 [&lt;c02d4667&gt;] net_rx_action+0x3f/0xe5
 [&lt;c011e35e&gt;] __do_softirq+0x5b/0xd1
 [&lt;c011e303&gt;] ? local_bh_enable+0xa/0xa
 &lt;IRQ&gt;  [&lt;c011e54b&gt;] ? irq_exit+0x34/0x75
 [&lt;c01034b9&gt;] ? do_IRQ+0x66/0x79
 [&lt;c034e869&gt;] ? common_interrupt+0x29/0x30
 [&lt;c0115ed0&gt;] ? finish_task_switch.clone.118+0x31/0x72
 [&lt;c034cb92&gt;] ? schedule+0x3b2/0x3f1
 [&lt;c012f4b0&gt;] ? hrtimer_start_range_ns+0x10/0x12
 [&lt;c012f4ce&gt;] ? hrtimer_start_expires+0x1c/0x24
 [&lt;c034d5aa&gt;] ? schedule_hrtimeout_range_clock+0x8e/0xb4
 [&lt;c012ed27&gt;] ? update_rmtp+0x68/0x68
 [&lt;c034d5da&gt;] ? schedule_hrtimeout_range+0xa/0xc
 [&lt;c017a913&gt;] ? poll_schedule_timeout+0x27/0x3e
 [&lt;c017b051&gt;] ? do_select+0x488/0x4cd
 [&lt;c0115ee2&gt;] ? finish_task_switch.clone.118+0x43/0x72
 [&lt;c01157ad&gt;] ? need_resched+0x14/0x1e
 [&lt;c017a99e&gt;] ? poll_freewait+0x74/0x74
 [&lt;c01157ad&gt;] ? need_resched+0x14/0x1e
 [&lt;c034cbc1&gt;] ? schedule+0x3e1/0x3f1
 [&lt;c011e55e&gt;] ? irq_exit+0x47/0x75
 [&lt;c01157ad&gt;] ? need_resched+0x14/0x1e
 [&lt;c034cf8a&gt;] ? preempt_schedule_irq+0x44/0x4a
 [&lt;c034dd1e&gt;] ? need_resched+0x17/0x19
 [&lt;c024bc12&gt;] ? put_dec_full+0x7b/0xaa
 [&lt;c0240060&gt;] ? blkdev_ioctl+0x434/0x618
 [&lt;c024bc70&gt;] ? put_dec+0x2f/0x6d
 [&lt;c024c6a5&gt;] ? number.clone.1+0x10b/0x1d0
 [&lt;c034cf8a&gt;] ? preempt_schedule_irq+0x44/0x4a
 [&lt;c034dd1e&gt;] ? need_resched+0x17/0x19
 [&lt;c024d046&gt;] ? vsnprintf+0x225/0x264
 [&lt;c024cea0&gt;] ? vsnprintf+0x7f/0x264
 [&lt;c018346f&gt;] ? seq_printf+0x22/0x40
 [&lt;c01a2fcc&gt;] ? do_task_stat+0x582/0x5a3
 [&lt;c017a913&gt;] ? poll_schedule_timeout+0x27/0x3e
 [&lt;c017b1b5&gt;] ? core_sys_select+0x11f/0x1a3
 [&lt;c017a913&gt;] ? poll_schedule_timeout+0x27/0x3e
 [&lt;c01a34a1&gt;] ? proc_tgid_stat+0xd/0xf
 [&lt;c012357c&gt;] ? recalc_sigpending+0x32/0x35
 [&lt;c0123b9c&gt;] ? __set_task_blocked+0x64/0x6a
 [&lt;c011dfb0&gt;] ? timespec_add_safe+0x24/0x48
 [&lt;c0123449&gt;] ? spin_unlock_irq.clone.16+0x18/0x23
 [&lt;c017b3a1&gt;] ? sys_pselect6+0xe5/0x13e
 [&lt;c034dd65&gt;] ? syscall_call+0x7/0xb
 [&lt;c0340000&gt;] ? rpc_clntdir_depopulate+0x26/0x30
---[ end trace 180dcac41a50938b ]---

Reported-by: Jim Cromie &lt;jim.cromie@gmail.com&gt;
Signed-off-by: FUJITA Tomonori &lt;fujita.tomonori@lab.ntt.co.jp&gt;
Tested-by: Jim Cromie &lt;jim.cromie@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This silences dma-debug warnings:

https://lkml.org/lkml/2011/6/30/341

------------[ cut here ]------------
WARNING: at /home/jimc/projects/lx/linux-2.6/lib/dma-debug.c:820
check_unmap+0x1fe/0x56a()
natsemi 0000:00:06.0: DMA-API: device driver frees DMA memory with
different size [device address=0x0000000006ef0040] [map size=1538
bytes] [unmap size=1522 bytes]
Modules linked in: pc8736x_gpio pc87360 hwmon_vid scx200_gpio nsc_gpio
scx200_hrt scx200_acb i2c_core arc4 rtl8180 mac80211 eeprom_93cx6
cfg80211 pcspkr rfkill scx200 ide_gd_mod ide_pci_generic ohci_hcd
usbcore sc1200 ide_core
Pid: 870, comm: collector Not tainted 3.0.0-rc5-sk-00080-gca56a95 #1
Call Trace:
 [&lt;c011a556&gt;] warn_slowpath_common+0x4a/0x5f
 [&lt;c02565cb&gt;] ? check_unmap+0x1fe/0x56a
 [&lt;c011a5cf&gt;] warn_slowpath_fmt+0x26/0x2a
 [&lt;c02565cb&gt;] check_unmap+0x1fe/0x56a
 [&lt;c0256aaa&gt;] debug_dma_unmap_page+0x53/0x5b
 [&lt;c029d6cd&gt;] pci_unmap_single+0x4d/0x57
 [&lt;c029ea0a&gt;] natsemi_poll+0x343/0x5ca
 [&lt;c0116f41&gt;] ? try_to_wake_up+0xea/0xfc
 [&lt;c0122416&gt;] ? spin_unlock_irq.clone.28+0x18/0x23
 [&lt;c02d4667&gt;] net_rx_action+0x3f/0xe5
 [&lt;c011e35e&gt;] __do_softirq+0x5b/0xd1
 [&lt;c011e303&gt;] ? local_bh_enable+0xa/0xa
 &lt;IRQ&gt;  [&lt;c011e54b&gt;] ? irq_exit+0x34/0x75
 [&lt;c01034b9&gt;] ? do_IRQ+0x66/0x79
 [&lt;c034e869&gt;] ? common_interrupt+0x29/0x30
 [&lt;c0115ed0&gt;] ? finish_task_switch.clone.118+0x31/0x72
 [&lt;c034cb92&gt;] ? schedule+0x3b2/0x3f1
 [&lt;c012f4b0&gt;] ? hrtimer_start_range_ns+0x10/0x12
 [&lt;c012f4ce&gt;] ? hrtimer_start_expires+0x1c/0x24
 [&lt;c034d5aa&gt;] ? schedule_hrtimeout_range_clock+0x8e/0xb4
 [&lt;c012ed27&gt;] ? update_rmtp+0x68/0x68
 [&lt;c034d5da&gt;] ? schedule_hrtimeout_range+0xa/0xc
 [&lt;c017a913&gt;] ? poll_schedule_timeout+0x27/0x3e
 [&lt;c017b051&gt;] ? do_select+0x488/0x4cd
 [&lt;c0115ee2&gt;] ? finish_task_switch.clone.118+0x43/0x72
 [&lt;c01157ad&gt;] ? need_resched+0x14/0x1e
 [&lt;c017a99e&gt;] ? poll_freewait+0x74/0x74
 [&lt;c01157ad&gt;] ? need_resched+0x14/0x1e
 [&lt;c034cbc1&gt;] ? schedule+0x3e1/0x3f1
 [&lt;c011e55e&gt;] ? irq_exit+0x47/0x75
 [&lt;c01157ad&gt;] ? need_resched+0x14/0x1e
 [&lt;c034cf8a&gt;] ? preempt_schedule_irq+0x44/0x4a
 [&lt;c034dd1e&gt;] ? need_resched+0x17/0x19
 [&lt;c024bc12&gt;] ? put_dec_full+0x7b/0xaa
 [&lt;c0240060&gt;] ? blkdev_ioctl+0x434/0x618
 [&lt;c024bc70&gt;] ? put_dec+0x2f/0x6d
 [&lt;c024c6a5&gt;] ? number.clone.1+0x10b/0x1d0
 [&lt;c034cf8a&gt;] ? preempt_schedule_irq+0x44/0x4a
 [&lt;c034dd1e&gt;] ? need_resched+0x17/0x19
 [&lt;c024d046&gt;] ? vsnprintf+0x225/0x264
 [&lt;c024cea0&gt;] ? vsnprintf+0x7f/0x264
 [&lt;c018346f&gt;] ? seq_printf+0x22/0x40
 [&lt;c01a2fcc&gt;] ? do_task_stat+0x582/0x5a3
 [&lt;c017a913&gt;] ? poll_schedule_timeout+0x27/0x3e
 [&lt;c017b1b5&gt;] ? core_sys_select+0x11f/0x1a3
 [&lt;c017a913&gt;] ? poll_schedule_timeout+0x27/0x3e
 [&lt;c01a34a1&gt;] ? proc_tgid_stat+0xd/0xf
 [&lt;c012357c&gt;] ? recalc_sigpending+0x32/0x35
 [&lt;c0123b9c&gt;] ? __set_task_blocked+0x64/0x6a
 [&lt;c011dfb0&gt;] ? timespec_add_safe+0x24/0x48
 [&lt;c0123449&gt;] ? spin_unlock_irq.clone.16+0x18/0x23
 [&lt;c017b3a1&gt;] ? sys_pselect6+0xe5/0x13e
 [&lt;c034dd65&gt;] ? syscall_call+0x7/0xb
 [&lt;c0340000&gt;] ? rpc_clntdir_depopulate+0x26/0x30
---[ end trace 180dcac41a50938b ]---

Reported-by: Jim Cromie &lt;jim.cromie@gmail.com&gt;
Signed-off-by: FUJITA Tomonori &lt;fujita.tomonori@lab.ntt.co.jp&gt;
Tested-by: Jim Cromie &lt;jim.cromie@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>treewide: transciever/transceiver spelling fixes</title>
<updated>2011-06-24T09:20:14+00:00</updated>
<author>
<name>Joe Perches</name>
<email>joe@perches.com</email>
</author>
<published>2011-06-23T18:39:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=7c9d440e90c09c6c7b5c477217e491484d044353'/>
<id>7c9d440e90c09c6c7b5c477217e491484d044353</id>
<content type='text'>
Just tyops.

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Just tyops.

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ethtool: cosmetic: Use ethtool ethtool_cmd_speed API</title>
<updated>2011-04-29T21:03:01+00:00</updated>
<author>
<name>David Decotigny</name>
<email>decot@google.com</email>
</author>
<published>2011-04-27T18:32:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=707394972093e2056e1e8cc39be19cf9bcb3e7b3'/>
<id>707394972093e2056e1e8cc39be19cf9bcb3e7b3</id>
<content type='text'>
This updates the network drivers so that they don't access the
ethtool_cmd::speed field directly, but use ethtool_cmd_speed()
instead.

For most of the drivers, these changes are purely cosmetic and don't
fix any problem, such as for those 1GbE/10GbE drivers that indirectly
call their own ethtool get_settings()/mii_ethtool_gset(). The changes
are meant to enforce code consistency and provide robustness with
future larger throughputs, at the expense of a few CPU cycles for each
ethtool operation.

All drivers compiled with make allyesconfig ion x86_64 have been
updated.

Tested: make allyesconfig on x86_64 + e1000e/bnx2x work
Signed-off-by: David Decotigny &lt;decot@google.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This updates the network drivers so that they don't access the
ethtool_cmd::speed field directly, but use ethtool_cmd_speed()
instead.

For most of the drivers, these changes are purely cosmetic and don't
fix any problem, such as for those 1GbE/10GbE drivers that indirectly
call their own ethtool get_settings()/mii_ethtool_gset(). The changes
are meant to enforce code consistency and provide robustness with
future larger throughputs, at the expense of a few CPU cycles for each
ethtool operation.

All drivers compiled with make allyesconfig ion x86_64 have been
updated.

Tested: make allyesconfig on x86_64 + e1000e/bnx2x work
Signed-off-by: David Decotigny &lt;decot@google.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ethtool: Use full 32 bit speed range in ethtool's set_settings</title>
<updated>2011-04-29T21:03:00+00:00</updated>
<author>
<name>David Decotigny</name>
<email>decot@google.com</email>
</author>
<published>2011-04-27T18:32:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=25db0338813a8915457636b1f6abe6a28fa73f8d'/>
<id>25db0338813a8915457636b1f6abe6a28fa73f8d</id>
<content type='text'>
This makes sure the ethtool's set_settings() callback of network
drivers don't ignore the 16 most significant bits when ethtool calls
their set_settings().

All drivers compiled with make allyesconfig on x86_64 have been
updated.

Signed-off-by: David Decotigny &lt;decot@google.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This makes sure the ethtool's set_settings() callback of network
drivers don't ignore the 16 most significant bits when ethtool calls
their set_settings().

All drivers compiled with make allyesconfig on x86_64 have been
updated.

Signed-off-by: David Decotigny &lt;decot@google.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
</feed>
