From: Nikolay Aleksandrov Date: Wed, 13 Apr 2022 10:51:53 +0000 (+0300) Subject: net: rtnetlink: use BIT for flag values X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=0569e31f1bc2f50613ba4c219f3ecc0d1174d841;p=linux.git net: rtnetlink: use BIT for flag values Use BIT to define flag values. Signed-off-by: Nikolay Aleksandrov Signed-off-by: David S. Miller --- diff --git a/include/net/rtnetlink.h b/include/net/rtnetlink.h index c51c5ff7f7e2a..0bf622409aaac 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 {