summaryrefslogtreecommitdiffstats
path: root/init/main.c
diff options
context:
space:
mode:
authorFabio Estevam2017-01-31 17:36:07 +0100
committerTheodore Ts'o2017-02-07 02:46:49 +0100
commitdb61ffe3a71c697aaa91c42c862a5f7557a0e562 (patch)
tree5cff81fc4d5d9f22b724390f5cf20fa93ee9eb09 /init/main.c
parentrandom: convert get_random_int/long into get_random_u32/u64 (diff)
downloadkernel-qcow2-linux-db61ffe3a71c697aaa91c42c862a5f7557a0e562.tar.gz
kernel-qcow2-linux-db61ffe3a71c697aaa91c42c862a5f7557a0e562.tar.xz
kernel-qcow2-linux-db61ffe3a71c697aaa91c42c862a5f7557a0e562.zip
random: move random_min_urandom_seed into CONFIG_SYSCTL ifdef block
Building arm allnodefconfig causes the following build warning: drivers/char/random.c:318:12: warning: 'random_min_urandom_seed' defined but not used [-Wunused-variable] Fix the warning by moving 'random_min_urandom_seed' declaration inside the CONFIG_SYSCTL ifdef block, where it is actually used. While at it, remove the comment prior to the variable declaration. Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'init/main.c')
0 files changed, 0 insertions, 0 deletions