[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <175697932270.1920.4290142302700366786.tip-bot2@tip-bot2>
Date: Thu, 04 Sep 2025 09:48:42 -0000
From: "tip-bot2 for Ian Rogers" <tip-bot2@...utronix.de>
To: linux-tip-commits@...r.kernel.org
Cc: Ian Rogers <irogers@...gle.com>, Thomas Gleixner <tglx@...utronix.de>,
x86@...nel.org, linux-kernel@...r.kernel.org
Subject: [tip: timers/vdso] tools headers: Remove unneeded ignoring of
warnings in unaligned.h
The following commit has been merged into the timers/vdso branch of tip:
Commit-ID: 00b04d1a95f3d33d7269eb2a0d07b2850c473fb5
Gitweb: https://git.kernel.org/tip/00b04d1a95f3d33d7269eb2a0d07b2850c473fb5
Author: Ian Rogers <irogers@...gle.com>
AuthorDate: Tue, 22 Jul 2025 14:57:54 -07:00
Committer: Thomas Gleixner <tglx@...utronix.de>
CommitterDate: Thu, 04 Sep 2025 11:43:03 +02:00
tools headers: Remove unneeded ignoring of warnings in unaligned.h
Now that get/put_unaligned() use memcpy() the -Wpacked and -Wattributes
warnings don't need disabling anymore.
Signed-off-by: Ian Rogers <irogers@...gle.com>
Signed-off-by: Thomas Gleixner <tglx@...utronix.de>
Link: https://lore.kernel.org/all/20250722215754.672330-4-irogers@google.com
---
tools/include/linux/unaligned.h | 4 ----
1 file changed, 4 deletions(-)
diff --git a/tools/include/linux/unaligned.h b/tools/include/linux/unaligned.h
index 395a446..d51ddaf 100644
--- a/tools/include/linux/unaligned.h
+++ b/tools/include/linux/unaligned.h
@@ -6,9 +6,6 @@
* This is the most generic implementation of unaligned accesses
* and should work almost anywhere.
*/
-#pragma GCC diagnostic push
-#pragma GCC diagnostic ignored "-Wpacked"
-#pragma GCC diagnostic ignored "-Wattributes"
#include <vdso/unaligned.h>
#define get_unaligned(ptr) __get_unaligned_t(typeof(*(ptr)), (ptr))
@@ -143,6 +140,5 @@ static inline u64 get_unaligned_be48(const void *p)
{
return __get_unaligned_be48(p);
}
-#pragma GCC diagnostic pop
#endif /* __LINUX_UNALIGNED_H */
Powered by blists - more mailing lists