@@ -4,15 +4,15 @@
#include <linux/types.h>
-#define MPTCP_SUBFLOW_FLAG_MCAP_REM BIT(0)
-#define MPTCP_SUBFLOW_FLAG_MCAP_LOC BIT(1)
-#define MPTCP_SUBFLOW_FLAG_JOIN_REM BIT(2)
-#define MPTCP_SUBFLOW_FLAG_JOIN_LOC BIT(3)
-#define MPTCP_SUBFLOW_FLAG_BKUP_REM BIT(4)
-#define MPTCP_SUBFLOW_FLAG_BKUP_LOC BIT(5)
-#define MPTCP_SUBFLOW_FLAG_FULLY_ESTABLISHED BIT(6)
-#define MPTCP_SUBFLOW_FLAG_CONNECTED BIT(7)
-#define MPTCP_SUBFLOW_FLAG_MAPVALID BIT(8)
+#define MPTCP_SUBFLOW_FLAG_MCAP_REM _BITUL(0)
+#define MPTCP_SUBFLOW_FLAG_MCAP_LOC _BITUL(1)
+#define MPTCP_SUBFLOW_FLAG_JOIN_REM _BITUL(2)
+#define MPTCP_SUBFLOW_FLAG_JOIN_LOC _BITUL(3)
+#define MPTCP_SUBFLOW_FLAG_BKUP_REM _BITUL(4)
+#define MPTCP_SUBFLOW_FLAG_BKUP_LOC _BITUL(5)
+#define MPTCP_SUBFLOW_FLAG_FULLY_ESTABLISHED _BITUL(6)
+#define MPTCP_SUBFLOW_FLAG_CONNECTED _BITUL(7)
+#define MPTCP_SUBFLOW_FLAG_MAPVALID _BITUL(8)
enum {
MPTCP_SUBFLOW_ATTR_UNSPEC,
Use bit macros appropriate for userspace. Suggested-by: Davide Caratti <dcaratti@redhat.com> Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com> --- include/uapi/linux/mptcp.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-)