[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250409181934.5589-1-jemmywong512@gmail.com>
Date: Thu, 10 Apr 2025 02:19:34 +0800
From: Jemmy Wong <jemmywong512@...il.com>
To: Willy Tarreau <w@....eu>,
linux@...ssschuh.net
Cc: linux-kernel@...r.kernel.org,
Jemmy Wong <Jemmywong512@...il.com>
Subject: [PATCH] fix mismatched parentheses
Corrects an imbalance where opening parentheses exceed closing ones.
Signed-off-by: Jemmy Wong <Jemmywong512@...il.com>
---
tools/include/nolibc/types.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/include/nolibc/types.h b/tools/include/nolibc/types.h
index b26a5d0c417c..b57e054cca82 100644
--- a/tools/include/nolibc/types.h
+++ b/tools/include/nolibc/types.h
@@ -201,7 +201,7 @@ struct stat {
/* WARNING, it only deals with the 4096 first majors and 256 first minors */
#define makedev(major, minor) ((dev_t)((((major) & 0xfff) << 8) | ((minor) & 0xff)))
#define major(dev) ((unsigned int)(((dev) >> 8) & 0xfff))
-#define minor(dev) ((unsigned int)(((dev) & 0xff))
+#define minor(dev) ((unsigned int)(((dev) & 0xff)))
#ifndef offsetof
#define offsetof(TYPE, FIELD) ((size_t) &((TYPE *)0)->FIELD)
--
2.43.0
Powered by blists - more mailing lists