socket: SOCK_DEBUG type checking
authorStephen Hemminger <shemminger@vyatta.com>
Fri, 21 Mar 2008 22:54:53 +0000 (15:54 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 21 Mar 2008 22:54:53 +0000 (15:54 -0700)
commit4cd9029d25f6612302f82634620f107c65f790b1
treef98b5afba51838a8fbf47b2eecf5adceef6eb2fc
parent28518fc1701a757a3df8aa2d2ac2e5d1efd1c3e5
socket: SOCK_DEBUG type checking

Use the inline trick (same as pr_debug) to get checking of debug
statements even if no code is generated.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sock.h