[PATCH v5 16/34] random: vDSO: trim vDSO includes

Thomas Weißschuh posted 34 patches 1 month, 1 week ago
[PATCH v5 16/34] random: vDSO: trim vDSO includes
Posted by Thomas Weißschuh 1 month, 1 week ago
These includes are not used, remove them.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Tested-by: Andreas Larsson <andreas@gaisler.com>
Reviewed-by: Andreas Larsson <andreas@gaisler.com>
---
 drivers/char/random.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/char/random.c b/drivers/char/random.c
index b8b24b6ed3fe436c8102968392278d5cb5544f06..3860ddd9527930780d5c13cd4742fbc3c27acc42 100644
--- a/drivers/char/random.c
+++ b/drivers/char/random.c
@@ -57,9 +57,7 @@
 #include <crypto/chacha.h>
 #include <crypto/blake2s.h>
 #ifdef CONFIG_VDSO_GETRANDOM
-#include <vdso/getrandom.h>
 #include <vdso/datapage.h>
-#include <vdso/vsyscall.h>
 #endif
 #include <asm/archrandom.h>
 #include <asm/processor.h>

-- 
2.51.0

Re: [PATCH v5 16/34] random: vDSO: trim vDSO includes
Posted by Jason A. Donenfeld 1 month, 1 week ago
On Thu, Nov 06, 2025 at 11:02:09AM +0100, Thomas Weißschuh wrote:
> These includes are not used, remove them.
> 
> Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
> Tested-by: Andreas Larsson <andreas@gaisler.com>
> Reviewed-by: Andreas Larsson <andreas@gaisler.com>
> ---
>  drivers/char/random.c | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/drivers/char/random.c b/drivers/char/random.c
> index b8b24b6ed3fe436c8102968392278d5cb5544f06..3860ddd9527930780d5c13cd4742fbc3c27acc42 100644
> --- a/drivers/char/random.c
> +++ b/drivers/char/random.c
> @@ -57,9 +57,7 @@
>  #include <crypto/chacha.h>
>  #include <crypto/blake2s.h>
>  #ifdef CONFIG_VDSO_GETRANDOM
> -#include <vdso/getrandom.h>
>  #include <vdso/datapage.h>
> -#include <vdso/vsyscall.h>
>  #endif
>  #include <asm/archrandom.h>
>  #include <asm/processor.h>

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Re: [PATCH v5 16/34] random: vDSO: trim vDSO includes
Posted by Jason A. Donenfeld 1 month, 1 week ago
On Sat, Nov 08, 2025 at 12:49:05AM +0100, Jason A. Donenfeld wrote:
> On Thu, Nov 06, 2025 at 11:02:09AM +0100, Thomas Weißschuh wrote:
> > These includes are not used, remove them.
> > 
> > Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
> > Tested-by: Andreas Larsson <andreas@gaisler.com>
> > Reviewed-by: Andreas Larsson <andreas@gaisler.com>
> > ---
> >  drivers/char/random.c | 2 --
> >  1 file changed, 2 deletions(-)
> > 
> > diff --git a/drivers/char/random.c b/drivers/char/random.c
> > index b8b24b6ed3fe436c8102968392278d5cb5544f06..3860ddd9527930780d5c13cd4742fbc3c27acc42 100644
> > --- a/drivers/char/random.c
> > +++ b/drivers/char/random.c
> > @@ -57,9 +57,7 @@
> >  #include <crypto/chacha.h>
> >  #include <crypto/blake2s.h>
> >  #ifdef CONFIG_VDSO_GETRANDOM
> > -#include <vdso/getrandom.h>
> >  #include <vdso/datapage.h>
> > -#include <vdso/vsyscall.h>
> >  #endif
> >  #include <asm/archrandom.h>
> >  #include <asm/processor.h>
> 
> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>

Sorry, it's been a long day. I meant:

Reviewed-by: Jason A. Donenfeld <Jason@zx2c4.com>