Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 90197
b: refs/heads/master
c: 4cd9029
h: refs/heads/master
i:
  90195: 0f87473
v: v3
  • Loading branch information
Stephen Hemminger authored and David S. Miller committed Mar 21, 2008
1 parent 234f82c commit a97c4be
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 28518fc1701a757a3df8aa2d2ac2e5d1efd1c3e5
refs/heads/master: 4cd9029d25f6612302f82634620f107c65f790b1
6 changes: 5 additions & 1 deletion trunk/include/net/sock.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,11 @@
#define SOCK_DEBUG(sk, msg...) do { if ((sk) && sock_flag((sk), SOCK_DBG)) \
printk(KERN_DEBUG msg); } while (0)
#else
#define SOCK_DEBUG(sk, msg...) do { } while (0)
/* Validate arguments and do nothing */
static void inline int __attribute__ ((format (printf, 2, 3)))
SOCK_DEBUG(struct sock *sk, const char *msg, ...)
{
}
#endif

/* This is the per-socket lock. The spinlock provides a synchronization
Expand Down

0 comments on commit a97c4be

Please sign in to comment.