Message ID | 20220413105202.2616106-4-razor@blackwall.org (mailing list archive) |
---|---|
State | Accepted |
Commit | 0569e31f1bc2f50613ba4c219f3ecc0d1174d841 |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | net: bridge: add flush filtering support | expand |
Context | Check | Description |
---|---|---|
netdev/tree_selection | success | Clearly marked for net-next, async |
netdev/apply | success | Patch already applied to net-next |
diff --git a/include/net/rtnetlink.h b/include/net/rtnetlink.h index c51c5ff7f7e2..0bf622409aaa 100644 --- a/include/net/rtnetlink.h +++ b/include/net/rtnetlink.h @@ -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 {
Use BIT to define flag values. Signed-off-by: Nikolay Aleksandrov <razor@blackwall.org> --- v4: new patch include/net/rtnetlink.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)