From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933996AbdACEhO (ORCPT ); Mon, 2 Jan 2017 23:37:14 -0500 Received: from ozlabs.org ([103.22.144.67]:33823 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755686AbdACEhF (ORCPT ); Mon, 2 Jan 2017 23:37:05 -0500 Date: Tue, 3 Jan 2017 15:37:01 +1100 From: Stephen Rothwell To: Linus Walleij Cc: linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Nehal Shah Subject: linux-next: build warning after merge of the pinctrl tree Message-ID: <20170103153701.79e58cab@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Linus, After merging the pinctrl tree, today's linux-next build (x86_64 allmodconfig) produced this warning: drivers/pinctrl/pinctrl-amd.c: In function 'amd_gpio_dbg_show': drivers/pinctrl/pinctrl-amd.c:210:3: warning: 'pin_num' may be used uninitialized in this function [-Wmaybe-uninitialized] for (; i < pin_num; i++) { ^ drivers/pinctrl/pinctrl-amd.c:172:21: warning: 'i' may be used uninitialized in this function [-Wmaybe-uninitialized] unsigned int bank, i, pin_num; ^ Introduced by commit 3bfd44306c65 ("pinctrl: amd: Add support for additional GPIO") -- Cheers, Stephen Rothwell