Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751859AbbKJDWd (ORCPT ); Mon, 9 Nov 2015 22:22:33 -0500 Received: from mail-lb0-f181.google.com ([209.85.217.181]:34946 "EHLO mail-lb0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751673AbbKJDWc (ORCPT ); Mon, 9 Nov 2015 22:22:32 -0500 Message-ID: <564162CC.5080609@gmail.com> Date: Mon, 09 Nov 2015 19:21:48 -0800 From: Frank Rowand Reply-To: frowand.list@gmail.com User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: Liam Girdwood , Mark Brown , Sascha Hauer , Linux Kernel list Subject: regulator: build warning in regulator_lock_supply() Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 602 Lines: 16 In the current Linus tree, new build warning. When CONFIG_DEBUG_LOCK_ALLOC is not enabled, drivers/regulator/core.c: In function 'regulator_lock_supply': drivers/regulator/core.c:142:6: warning: unused variable 'i' [-Wunused-variable] Introduced by commit 9f01cd4a915e1 ("regulator: core: introduce function to lock regulators and its supplies") -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/