Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751852AbdBGCaW (ORCPT ); Mon, 6 Feb 2017 21:30:22 -0500 Received: from imap.thunk.org ([74.207.234.97]:40764 "EHLO imap.thunk.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751414AbdBGCaV (ORCPT ); Mon, 6 Feb 2017 21:30:21 -0500 Date: Mon, 6 Feb 2017 21:30:15 -0500 From: "Theodore Ts'o" To: Fabio Estevam Cc: smueller@chronox.de, arnd@arndb.de, festevam@gmail.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH] random: move random_min_urandom_seed into CONFIG_SYSCTL ifdef block Message-ID: <20170207023015.b6crrhkvnoeulna7@thunk.org> Mail-Followup-To: Theodore Ts'o , Fabio Estevam , smueller@chronox.de, arnd@arndb.de, festevam@gmail.com, linux-kernel@vger.kernel.org References: <1485880567-28949-1-git-send-email-fabio.estevam@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1485880567-28949-1-git-send-email-fabio.estevam@nxp.com> User-Agent: NeoMutt/20170113 (1.7.2) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: tytso@thunk.org X-SA-Exim-Scanned: No (on imap.thunk.org); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Thanks, applied. - Ted