diff options
| author | Ben Hutchings <bhutchings@solarflare.com> | 2013-10-14 16:49:21 -0400 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2013-10-18 00:13:21 -0400 |
| commit | 7cc7c5e54b7128195a1403747a63971c3c3f8e25 (patch) | |
| tree | 59d2d33955806c0bdca4d7752c24fa8548c8d8f4 | |
| parent | 400dfd3ae899849b27d398ca7894e1b44430887f (diff) | |
net: Delete trailing semi-colon from definition of netdev_WARN()
Macro definitions should not normally end with a semi-colon, as this
makes it dangerous to use them an if...else statement. Happily this
has not happened yet.
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
| -rw-r--r-- | include/linux/netdevice.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 2e53b44454ad..27f62f746621 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h | |||
| @@ -3049,7 +3049,7 @@ do { \ | |||
| 3049 | * file/line information and a backtrace. | 3049 | * file/line information and a backtrace. |
| 3050 | */ | 3050 | */ |
| 3051 | #define netdev_WARN(dev, format, args...) \ | 3051 | #define netdev_WARN(dev, format, args...) \ |
| 3052 | WARN(1, "netdevice: %s\n" format, netdev_name(dev), ##args); | 3052 | WARN(1, "netdevice: %s\n" format, netdev_name(dev), ##args) |
| 3053 | 3053 | ||
| 3054 | /* netif printk helpers, similar to netdev_printk */ | 3054 | /* netif printk helpers, similar to netdev_printk */ |
| 3055 | 3055 | ||
