diff options
author | Benedikt Spranger <b.spranger@linutronix.de> | 2014-03-16 16:36:29 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-03-18 03:17:32 +0100 |
commit | b085f311e85b1d6f75d610097c2f20583b776fda (patch) | |
tree | d4b9f15ca6428915e481abb6aaf9db7ae1c1cb82 /security/integrity | |
parent | ATHEROS-ALX: Use dma_set_mask_and_coherent and fix a bug (diff) | |
download | linux-b085f311e85b1d6f75d610097c2f20583b776fda.tar.xz linux-b085f311e85b1d6f75d610097c2f20583b776fda.zip |
net: cpsw: do not register cpts twice
commit f280e89a (drivers: net: cpsw: fix for cpsw crash when build as modules)
moved cpts_register()/cpts_unregister() to ndo_open()/ndo_stop(), but failed
to remove cpts_register in cpsw_probe() which leads to a double registration
and the following debug object splat.
[ 18.991902] ODEBUG: init active (active state 0) object type: timer_list hint: delayed_work_timer_fn+0x0/0x2c
[ 19.082249] [<c0059e80>] (init_timer_key) from [<c04965d4>] (cpts_register+0x1f0/0x2c4)
[ 19.090642] [<c04965d4>] (cpts_register) from [<c04931dc>] (cpsw_ndo_open+0x780/0x81c)
[ 19.098948] [<c04931dc>] (cpsw_ndo_open) from [<c0599c2c>] (__dev_open+0xb4/0x118)
Signed-off-by: Benedikt Spranger <b.spranger@linutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'security/integrity')
0 files changed, 0 insertions, 0 deletions