tools/include/tools/dis-asm-compat.h | 1 + 1 file changed, 1 insertion(+)
Header file makes use of varargs but doesn't directly include stdarg.h.
Reported-by: sashiko-bot@kernel.org
Closes: https://lore.kernel.org/linux-perf-users/20260916062233.192271F000FF@smtp.kernel.org/
Signed-off-by: Ian Rogers <irogers@google.com>
---
tools/include/tools/dis-asm-compat.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/include/tools/dis-asm-compat.h b/tools/include/tools/dis-asm-compat.h
index 70f331e23ed3..1e0586d8451b 100644
--- a/tools/include/tools/dis-asm-compat.h
+++ b/tools/include/tools/dis-asm-compat.h
@@ -2,6 +2,7 @@
#ifndef _TOOLS_DIS_ASM_COMPAT_H
#define _TOOLS_DIS_ASM_COMPAT_H
+#include <stdarg.h>
#include <stdio.h>
#include <dis-asm.h>
--
2.55.0.1082.g2b9226bbc0-goog
On Wed, Sep 16, 2026 at 09:04:54PM -0700, Ian Rogers wrote: > Header file makes use of varargs but doesn't directly include stdarg.h. > > Reported-by: sashiko-bot@kernel.org > Closes: https://lore.kernel.org/linux-perf-users/20260916062233.192271F000FF@smtp.kernel.org/ > Signed-off-by: Ian Rogers <irogers@google.com> Acked-by: Namhyung Kim <namhyung@kernel.org> Thanks, Namhyung > --- > tools/include/tools/dis-asm-compat.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/tools/include/tools/dis-asm-compat.h b/tools/include/tools/dis-asm-compat.h > index 70f331e23ed3..1e0586d8451b 100644 > --- a/tools/include/tools/dis-asm-compat.h > +++ b/tools/include/tools/dis-asm-compat.h > @@ -2,6 +2,7 @@ > #ifndef _TOOLS_DIS_ASM_COMPAT_H > #define _TOOLS_DIS_ASM_COMPAT_H > > +#include <stdarg.h> > #include <stdio.h> > #include <dis-asm.h> > > -- > 2.55.0.1082.g2b9226bbc0-goog >
© 2016 - 2026 Red Hat, Inc.