From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755313AbcKOBBN (ORCPT ); Mon, 14 Nov 2016 20:01:13 -0500 Received: from ozlabs.org ([103.22.144.67]:53631 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755161AbcKOBBL (ORCPT ); Mon, 14 Nov 2016 20:01:11 -0500 Date: Tue, 15 Nov 2016 12:01:07 +1100 From: Stephen Rothwell To: Jarkko Sakkinen Cc: linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Nayna Jain Subject: linux-next: build warning after merge of the tpmdd tree Message-ID: <20161115120107.35e7db48@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 Jarkko, After merging the tpmdd tree, today's linux-next build (x86_64 allmodconfig) produced this warning: drivers/char/tpm/tpm_of.c: In function 'read_log_of': drivers/char/tpm/tpm_of.c:37:8: warning: 'np' may be used uninitialized in this function [-Wmaybe-uninitialized] sizep = of_get_property(np, "linux,sml-size", NULL); ^ Introduced by commit 4a45d9669ac1 ("tpm: replace of_find_node_by_name() with dev of_node property") This commit is just wrong :-( -- Cheers, Stephen Rothwell