commit | 0cbb0a781a42f131e9c6836554f402cb85f8f38b | [log] [tgz] |
---|---|---|
author | Deepak Saxena <dsaxena@mvista.com> | Mon Jul 27 10:49:44 2009 -0700 |
committer | David S. Miller <davem@davemloft.net> | Mon Jul 27 10:49:44 2009 -0700 |
tree | 026518c552a42bafb33c8657de28753b666a9175 | |
parent | 8bae1b2b13beb4cf4c0f119f97640503c2b74b0f [diff] |
net: irda: init spinlock after memcpy irttp_dup() copies a tsap_cb struct, but does not initialize the spinlock in the new structure, which confuses lockdep. Signed-off-by: Deepak Saxena <dsaxena@mvista.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: David S. Miller <davem@davemloft.net>