]> git.baikalelectronics.ru Git - kernel.git/commit
r8169: initialize rtl8169_stats seqlock
authorKyle McMartin <kyle@redhat.com>
Tue, 25 Feb 2014 01:12:28 +0000 (20:12 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Feb 2014 01:32:23 +0000 (20:32 -0500)
commit07ff2d612c552c236a7db139f1853233717cfe42
tree5cd91122da396137d0ed462b4f1c77fc4f9eaa4e
parenta45860446076cca5c5c269d58833a969477e5668
r8169: initialize rtl8169_stats seqlock

Boris reports he's seeing:
> [    9.195943] INFO: trying to register non-static key.
> [    9.196031] the code is fine but needs lockdep annotation.
> [    9.196031] turning off the locking correctness validator.
> [    9.196031] CPU: 1 PID: 933 Comm: modprobe Not tainted 3.14.0-rc4+ #1
with the r8169 driver.

These are occuring because the seqcount embedded in u64_stats_sync on
32-bit SMP is uninitialized which is making lockdep unhappy.

Signed-off-by: Kyle McMartin <kyle@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/realtek/r8169.c