* [GIT PULL] objtool change for v6.8
@ 2024-01-08 9:22 Ingo Molnar
2024-01-09 4:04 ` pr-tracker-bot
0 siblings, 1 reply; 2+ messages in thread
From: Ingo Molnar @ 2024-01-08 9:22 UTC (permalink / raw)
To: Linus Torvalds
Cc: linux-kernel, Josh Poimboeuf, Peter Zijlstra, Thomas Gleixner,
Borislav Petkov, Andrew Morton
Linus,
Please pull the latest objtool/core git tree from:
git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git objtool-core-2024-01-08
# HEAD: e2e13630f93d942d02f3b3f98660228a3545c60e objtool: Fix calloc call for new -Walloc-size
Address a GCC-14 warning: there's no real bug, but indeed the calloc order doesn't match
the prototype.
(Side note: we should really add zalloc() for such cases.)
Thanks,
Ingo
------------------>
Sam James (1):
objtool: Fix calloc call for new -Walloc-size
tools/objtool/check.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/objtool/check.c b/tools/objtool/check.c
index e94756e09ca9..548ec3cd7c00 100644
--- a/tools/objtool/check.c
+++ b/tools/objtool/check.c
@@ -291,7 +291,7 @@ static void init_insn_state(struct objtool_file *file, struct insn_state *state,
static struct cfi_state *cfi_alloc(void)
{
- struct cfi_state *cfi = calloc(sizeof(struct cfi_state), 1);
+ struct cfi_state *cfi = calloc(1, sizeof(struct cfi_state));
if (!cfi) {
WARN("calloc failed");
exit(1);
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [GIT PULL] objtool change for v6.8
2024-01-08 9:22 [GIT PULL] objtool change for v6.8 Ingo Molnar
@ 2024-01-09 4:04 ` pr-tracker-bot
0 siblings, 0 replies; 2+ messages in thread
From: pr-tracker-bot @ 2024-01-09 4:04 UTC (permalink / raw)
To: Ingo Molnar
Cc: Linus Torvalds, linux-kernel, Josh Poimboeuf, Peter Zijlstra,
Thomas Gleixner, Borislav Petkov, Andrew Morton
The pull request you sent on Mon, 8 Jan 2024 10:22:05 +0100:
> git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git objtool-core-2024-01-08
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/669d089a7fe1eacf4e86160297f32c678ee71ec5
Thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-01-09 4:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-08 9:22 [GIT PULL] objtool change for v6.8 Ingo Molnar
2024-01-09 4:04 ` pr-tracker-bot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox