mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-30 22:26:55 +00:00
net: rtnetlink: use BIT for flag values
Use BIT to define flag values. Signed-off-by: Nikolay Aleksandrov <razor@blackwall.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
2e9ea3e30f
commit
0569e31f1b
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ typedef int (*rtnl_doit_func)(struct sk_buff *, struct nlmsghdr *,
|
|||
typedef int (*rtnl_dumpit_func)(struct sk_buff *, struct netlink_callback *);
|
||||
|
||||
enum rtnl_link_flags {
|
||||
RTNL_FLAG_DOIT_UNLOCKED = 1,
|
||||
RTNL_FLAG_DOIT_UNLOCKED = BIT(0),
|
||||
};
|
||||
|
||||
enum rtnl_kinds {
|
||||
|
|
Loading…
Reference in a new issue