From: "tip-bot2 for Ian Rogers" <tip-bot2@linutronix.de>
To: linux-tip-commits@vger.kernel.org
Cc: Ian Rogers <irogers@google.com>,
Thomas Gleixner <tglx@linutronix.de>,
x86@kernel.org, linux-kernel@vger.kernel.org
Subject: [tip: timers/vdso] tools headers: Remove unneeded ignoring of warnings in unaligned.h
Date: Thu, 04 Sep 2025 09:48:42 -0000 [thread overview]
Message-ID: <175697932270.1920.4290142302700366786.tip-bot2@tip-bot2> (raw)
In-Reply-To: <20250722215754.672330-4-irogers@google.com>
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@google.com>
AuthorDate: Tue, 22 Jul 2025 14:57:54 -07:00
Committer: Thomas Gleixner <tglx@linutronix.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@google.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.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 */
next prev parent reply other threads:[~2025-09-04 9:48 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-22 21:57 [PATCH v4 0/3] Switch get/put unaligned to use memcpy Ian Rogers
2025-07-22 21:57 ` [PATCH v4 1/3] vdso: Switch get/put unaligned from packed struct to memcpy Ian Rogers
2025-09-04 9:48 ` [tip: timers/vdso] vdso: Switch get/put_unaligned() from packed struct to memcpy() tip-bot2 for Ian Rogers
2025-07-22 21:57 ` [PATCH v4 2/3] tools headers: Update the linux/unaligned.h copy with the kernel sources Ian Rogers
2025-09-04 9:48 ` [tip: timers/vdso] " tip-bot2 for Ian Rogers
2025-07-22 21:57 ` [PATCH v4 3/3] tools headers: Remove unneeded ignoring of warnings in unaligned.h Ian Rogers
2025-09-04 9:48 ` tip-bot2 for Ian Rogers [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-10-16 20:51 [PATCH v5 4/4] " Ian Rogers
2026-01-13 13:47 ` [tip: timers/vdso] " tip-bot2 for Ian Rogers
2026-01-14 8:01 ` tip-bot2 for Ian Rogers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=175697932270.1920.4290142302700366786.tip-bot2@tip-bot2 \
--to=tip-bot2@linutronix.de \
--cc=irogers@google.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tip-commits@vger.kernel.org \
--cc=tglx@linutronix.de \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox