Simply to use the proper way to declare bits, and to align with all
other flags declared in this file.

No functional changes intended.

Reviewed-by: Geliang Tang <[email protected]>
Signed-off-by: Matthieu Baerts (NGI0) <[email protected]>
---
 include/uapi/linux/mptcp.h | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/include/uapi/linux/mptcp.h b/include/uapi/linux/mptcp.h
index 
95d621f6d59810126cbc37b1d6baf896a40dd9bc..15eef878690b8556af21be8d959b6a2c9fe617d3
 100644
--- a/include/uapi/linux/mptcp.h
+++ b/include/uapi/linux/mptcp.h
@@ -34,11 +34,11 @@
 #define MPTCP_PM_EV_FLAG_DENY_JOIN_ID0         _BITUL(0)
 #define MPTCP_PM_EV_FLAG_SERVER_SIDE           _BITUL(1)
 
-#define MPTCP_PM_ADDR_FLAG_SIGNAL                      (1 << 0)
-#define MPTCP_PM_ADDR_FLAG_SUBFLOW                     (1 << 1)
-#define MPTCP_PM_ADDR_FLAG_BACKUP                      (1 << 2)
-#define MPTCP_PM_ADDR_FLAG_FULLMESH                    (1 << 3)
-#define MPTCP_PM_ADDR_FLAG_IMPLICIT                    (1 << 4)
+#define MPTCP_PM_ADDR_FLAG_SIGNAL              _BITUL(0)
+#define MPTCP_PM_ADDR_FLAG_SUBFLOW             _BITUL(1)
+#define MPTCP_PM_ADDR_FLAG_BACKUP              _BITUL(2)
+#define MPTCP_PM_ADDR_FLAG_FULLMESH            _BITUL(3)
+#define MPTCP_PM_ADDR_FLAG_IMPLICIT            _BITUL(4)
 
 struct mptcp_info {
        __u8    mptcpi_subflows;

-- 
2.51.0


Reply via email to