From: Christophe JAILLET Date: Fri, 2 Dec 2022 21:13:36 +0000 (+0100) Subject: random: include in the right header X-Git-Tag: v6.2-rc1~171^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3e6743e28b9b43d37ced234bdf8e19955d0216f8;p=thirdparty%2Fkernel%2Flinux.git random: include in the right header uses DO_ONCE(), so it should include directly. In contrast, does not use code from , so it should be removed. Move the `#include ` line into the right file. Signed-off-by: Christophe JAILLET Fixes: c0842fbc1b18 ("random32: move the pseudo-random 32-bit definitions to prandom.h") Signed-off-by: Jason A. Donenfeld --- diff --git a/include/linux/prandom.h b/include/linux/prandom.h index 1f4a0de7b019e..c94c02ba065cd 100644 --- a/include/linux/prandom.h +++ b/include/linux/prandom.h @@ -9,6 +9,7 @@ #define _LINUX_PRANDOM_H #include +#include #include #include diff --git a/include/linux/random.h b/include/linux/random.h index b1a34181eed69..4a2a1de423cd9 100644 --- a/include/linux/random.h +++ b/include/linux/random.h @@ -6,7 +6,6 @@ #include #include #include -#include #include