[tip: timers/vdso] random: vDSO: Add explicit includes
From: tip-bot2 for Thomas Weißschuh
Date: Wed Mar 11 2026 - 05:42:06 EST
The following commit has been merged into the timers/vdso branch of tip:
Commit-ID: 6acf4446e2c3c6024143ee17071554cde6617f03
Gitweb: https://git.kernel.org/tip/6acf4446e2c3c6024143ee17071554cde6617f03
Author: Thomas Weißschuh <thomas.weissschuh@xxxxxxxxxxxxx>
AuthorDate: Fri, 27 Feb 2026 07:44:35 +01:00
Committer: Thomas Gleixner <tglx@xxxxxxxxxx>
CommitterDate: Wed, 11 Mar 2026 10:27:38 +01:00
random: vDSO: Add explicit includes
Various used symbols are only visible through transitive includes.
These transitive includes are about to go away.
Explicitly include the necessary headers.
Signed-off-by: Thomas Weißschuh <thomas.weissschuh@xxxxxxxxxxxxx>
Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxx>
Acked-by: Jason A. Donenfeld <Jason@xxxxxxxxx>
Link: https://patch.msgid.link/20260227-vdso-header-cleanups-v2-9-35d60acf7410@xxxxxxxxxxxxx
---
lib/vdso/getrandom.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/lib/vdso/getrandom.c b/lib/vdso/getrandom.c
index 440f8a6..7e29005 100644
--- a/lib/vdso/getrandom.c
+++ b/lib/vdso/getrandom.c
@@ -7,8 +7,11 @@
#include <linux/minmax.h>
#include <vdso/datapage.h>
#include <vdso/getrandom.h>
+#include <vdso/limits.h>
#include <vdso/unaligned.h>
+#include <asm/barrier.h>
#include <asm/vdso/getrandom.h>
+#include <uapi/linux/errno.h>
#include <uapi/linux/mman.h>
#include <uapi/linux/random.h>