]> git.baikalelectronics.ru Git - kernel.git/commit
sock: make lockdep_sock_is_held static inline
authorHannes Frederic Sowa <hannes@stressinduktion.org>
Thu, 7 Apr 2016 21:53:35 +0000 (23:53 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 Apr 2016 22:01:21 +0000 (18:01 -0400)
commit6136f31f523014b07635626aff56be51f8807502
tree3a776a972546c83801403d22790a902fcc3034fa
parentd8dd6606f358f0483e054d639588ca75beea77ff
sock: make lockdep_sock_is_held static inline

I forgot to add inline to lockdep_sock_is_held, so it generated all
kinds of build warnings if not build with lockdep support.

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sock.h