summaryrefslogtreecommitdiffstats
path: root/include/linux/netdevice.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r--include/linux/netdevice.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index c10b60297d28..26f69cf763f4 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -3887,7 +3887,7 @@ static inline u32 netif_msg_init(int debug_value, int default_msg_enable_bits)
3887 if (debug_value == 0) /* no output */ 3887 if (debug_value == 0) /* no output */
3888 return 0; 3888 return 0;
3889 /* set low N bits */ 3889 /* set low N bits */
3890 return (1 << debug_value) - 1; 3890 return (1U << debug_value) - 1;
3891} 3891}
3892 3892
3893static inline void __netif_tx_lock(struct netdev_queue *txq, int cpu) 3893static inline void __netif_tx_lock(struct netdev_queue *txq, int cpu)