diff options
author | David S. Miller <davem@davemloft.net> | 2012-03-06 16:12:15 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-03-06 16:12:15 -0500 |
commit | 95f050bf7f64be5168ae2e2c715bb0b0ded141d1 (patch) | |
tree | c2e7eb3980c89de4b387b8fc2c6806b9c8b10438 /include/linux/netdevice.h | |
parent | 66431a7d4570dbafb5e25c85607779ffa9c4a4bc (diff) |
net: Use bool for return value of dev_valid_name().
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/netdevice.h')
-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 4d279c5287f..a89933bc4f2 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h @@ -2122,7 +2122,7 @@ extern int netdev_rx_handler_register(struct net_device *dev, void *rx_handler_data); extern void netdev_rx_handler_unregister(struct net_device *dev); -extern int dev_valid_name(const char *name); +extern bool dev_valid_name(const char *name); extern int dev_ioctl(struct net *net, unsigned int cmd, void __user *); extern int dev_ethtool(struct net *net, struct ifreq *); extern unsigned dev_get_flags(const struct net_device *); |