lkml.org 
[lkml]   [2017]   [Feb]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] random: move random_min_urandom_seed into CONFIG_SYSCTL ifdef block
On Tue, Jan 31, 2017 at 02:36:07PM -0200, Fabio Estevam wrote:
> 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>

Thanks, applied.

- Ted

\
 
 \ /
  Last update: 2017-02-07 03:30    [W:0.049 / U:0.480 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site