[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220525085126.29977-1-tklauser@distanz.ch>
Date: Wed, 25 May 2022 10:51:26 +0200
From: Tobias Klauser <tklauser@...tanz.ch>
To: "David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>
Cc: Akhmat Karakotov <hmukos@...dex-team.ru>, netdev@...r.kernel.org
Subject: [PATCH] socket: Use __u8 instead of u8 in uapi socket.h
Use the uapi variant of the u8 type.
Fixes: 26859240e4ee ("txhash: Add socket option to control TX hash rethink behavior")
Signed-off-by: Tobias Klauser <tklauser@...tanz.ch>
---
include/uapi/linux/socket.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/uapi/linux/socket.h b/include/uapi/linux/socket.h
index 51d6bb2f6765..c272bfcfc479 100644
--- a/include/uapi/linux/socket.h
+++ b/include/uapi/linux/socket.h
@@ -31,7 +31,7 @@ struct __kernel_sockaddr_storage {
#define SOCK_BUF_LOCK_MASK (SOCK_SNDBUF_LOCK | SOCK_RCVBUF_LOCK)
-#define SOCK_TXREHASH_DEFAULT ((u8)-1)
+#define SOCK_TXREHASH_DEFAULT ((__u8)-1)
#define SOCK_TXREHASH_DISABLED 0
#define SOCK_TXREHASH_ENABLED 1
--
2.36.1
Powered by blists - more mailing lists