aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorTejun Heo <[email protected]>2011-07-14 15:19:09 +0200
committerIngo Molnar <[email protected]>2011-08-04 10:17:56 +0200
commitf59de8992aa6dc85e81aadc26b0f69e17809721d (patch)
tree4cdb87598edb67a774281bf3cea2800114d2fa0c /net/unix/sysctl_net_unix.c
parent83835b3d9aec8e9f666d8223d8a386814f756266 (diff)
lockdep: Clear whole lockdep_map on initialization
lockdep_init_map() only initializes parts of lockdep_map and triggers kmemcheck warning when it is copied as a whole. There isn't anything to be gained by clearing selectively. memset() the whole structure and remove loop for ->class_cache[] clearing. Addresses https://bugzilla.kernel.org/show_bug.cgi?id=35532 Signed-off-by: Tejun Heo <[email protected]> Reported-and-tested-by: Christian Casteyde <[email protected]> Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=35532 Signed-off-by: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions