aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <[email protected]>2017-12-14 15:10:09 +0200
committerJoonas Lahtinen <[email protected]>2017-12-14 20:10:01 +0200
commit8d8c46fad4a15cd8a9811ab74a14de0ee1d6c66b (patch)
tree6638ec11ffa017b704e55de0c5f307406aeed720 /net/unix/sysctl_net_unix.c
parent84ef3a727e32ac32380e28198c3fdc6dcf941ec6 (diff)
drm/i915: properly init lockdep class
The code has an ifdef and uses two functions to either init the bare spinlock or init it and set a lock-class. It is possible to do the same thing without an ifdef. With this patch (in debug case) we first use the "default" lock class which is later overwritten to the supplied one. Without lockdep the set name/class function vanishes. Reported-by: kbuild test robot <[email protected]> Signed-off-by: Sebastian Andrzej Siewior <[email protected]> Reviewed-by: Joonas Lahtinen <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Signed-off-by: Joonas Lahtinen <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions