netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] socket: Use __u8 instead of u8 in uapi socket.h
@ 2022-05-25  8:51 Tobias Klauser
  2022-05-25 13:21 ` kernel test robot
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Tobias Klauser @ 2022-05-25  8:51 UTC (permalink / raw)
  To: David S. Miller, Eric Dumazet; +Cc: Akhmat Karakotov, netdev

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@distanz.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


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-06-02  0:40 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-25  8:51 [PATCH] socket: Use __u8 instead of u8 in uapi socket.h Tobias Klauser
2022-05-25 13:21 ` kernel test robot
2022-05-30  8:14 ` [PATCH v2] " Tobias Klauser
2022-05-30  8:20   ` David Laight
2022-05-31  9:24     ` Paolo Abeni
2022-05-31  9:44       ` Tobias Klauser
2022-05-31  9:43 ` [PATCH v3] socket: Don't use u8 type " Tobias Klauser
2022-06-02  0:40   ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).