Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp6247896ybl; Wed, 15 Jan 2020 01:11:31 -0800 (PST) X-Google-Smtp-Source: APXvYqzDP9Kz0gZxVfU3lcYkImMSvSSU6aMIDQJB4ImUltmPj+eapFp7S+KqxRgsYNULJQXvWwvG X-Received: by 2002:a9d:6e14:: with SMTP id e20mr2123499otr.283.1579079491589; Wed, 15 Jan 2020 01:11:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579079491; cv=none; d=google.com; s=arc-20160816; b=NIKQwK3won+ksFwiqZ9kV2lD501HiDpodLkXRlapsYWm5ei+nzR49DMyc3fpxPi8/l rHKY/avFyYOAkLObNcfaNnaQJXUzlhTr0F+w31uSQLEEx3WzUe3mWzhFWAaPnfVVCP0P IXjgVUlAvJqH/3m3OM3xuF8oIL7KBpnVVujGd/8Ldq6Hn1RbpTSDoYldSeDwPUByobIO 91DmtivpQ+mQiO4ChD4b/a5ikxLmqBUgqQyO2BwvB7OgNqjFnoF5YCcZmB1UfTdBWbOa yH6dUEH3ZepXPO5w4yOeH7Usjjhn/vhbT5FNYxNYgNX//33JIERD8LjxLdl8j1PehAPz nnqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=ZUooeDiuykCrSEixoglrFzv/NkRqBFJjLlMXld2oNvc=; b=L6JvYPDU//C5/6MJrfAnGLdxhejRG7wysZTah+a5rOKcvZKdW/70q6miAqbbVpt3y0 T1XJVE2zb7XVDMCTj8s1UNpT+6VpimWyhs3bmTIwk/KPaPOzBlBtTSpwL8FnK27NDD2a DB60mqQGAsVnRXnziF8pVmZaK3+kKYNCiwrvAaCfuTlVFqoGIEgamB1lt5s+AspgVv0A 6BO8xvSwQC0s0O1iet/sK8PrjRhs37MEYB0ucMwqJ5EkgmPh74Kx1dEdB5KallHlevz4 1yYAXYE26XcjUkhUqbrwDxBldrN9nbax4zd8qFl7LoB0GTO2H+0T+5PHcYmNhHb/p1dF irKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@newoldbits-com.20150623.gappssmtp.com header.s=20150623 header.b=dkPCnJaj; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b4si9123640oib.70.2020.01.15.01.11.19; Wed, 15 Jan 2020 01:11:31 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@newoldbits-com.20150623.gappssmtp.com header.s=20150623 header.b=dkPCnJaj; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729197AbgAOJKY (ORCPT + 99 others); Wed, 15 Jan 2020 04:10:24 -0500 Received: from mail-lj1-f196.google.com ([209.85.208.196]:34617 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726472AbgAOJKY (ORCPT ); Wed, 15 Jan 2020 04:10:24 -0500 Received: by mail-lj1-f196.google.com with SMTP id z22so17702594ljg.1 for ; Wed, 15 Jan 2020 01:10:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=newoldbits-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ZUooeDiuykCrSEixoglrFzv/NkRqBFJjLlMXld2oNvc=; b=dkPCnJajgdZv82TJTfRwIjQT4BzJ0XAJ6EjHOTKTAfRmqA7t7Nm82NV6ZvLY/LtOJo MzdbM9Wou0bHJP5bPaCJNwqQ2ZSanKZJG9Q2bQKYSTVYNvVNEcS9jXYRIBiJ959OcNqR kc7vIokUwj1LKKCJ30x2X3DqpwnR/FYoj+/2W/YsR85Va2ptlTxsBI6a31zsYDOG0DTb Ma+umCg1nqQQ3FkG5pi9XEkI3TLwFfb5/6VDIOJcXQq+KXh4vsPL8AazgKx7wf2+7Vuy 6Rw9QghTREYiaSILdXpXmfnbzkf1etqMbAJNSS3DKNHvXuc8w2i4OiyJg20HyP8ZtVs0 4D7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ZUooeDiuykCrSEixoglrFzv/NkRqBFJjLlMXld2oNvc=; b=IWUwbCpNLwueNvhaasm8oLiXMDCUbmxP4thEMqJARccKPZ7+6iL0Q2y61C0UnHmC5b aG1VpIEf3p+oX+AbnnSoTO/Hkz/1Vf1h3u+VVH973KvHgfPJcZN+6ZrchB2n9X68Ela8 LhFB8HHX57axsFwc4R48vp5GAkfvHT00UBVGUMbg4DOL1F3DT8WQkMh2d5i2nDybhWWv VDxfFDZtV92XcMIDxVkbQs8UosSQpf06kpNw1QnfE3CM7xsogr6tHuwuv2nj6h0eWoy8 z/DbXJqu2qTV0K2An8lnEsiOQ9Ioh6xGrVZFDEDH+LqsnRWx+dHr7Ba9l7eB+gpQ4en8 5nvg== X-Gm-Message-State: APjAAAXMKjPp1so1S4Ui3fzxakYAEIcZaKHS0b7iG21W7L/MAU2tIgzR 7PJveUGofz3SiRkQnXxIZsidoMy3IUOVLYcfr/u6wg== X-Received: by 2002:a2e:9d89:: with SMTP id c9mr1140551ljj.129.1579079421879; Wed, 15 Jan 2020 01:10:21 -0800 (PST) MIME-Version: 1.0 References: <20200115132325.3ac3ca0f@canb.auug.org.au> In-Reply-To: <20200115132325.3ac3ca0f@canb.auug.org.au> From: Jean Pihet Date: Wed, 15 Jan 2020 10:10:09 +0100 Message-ID: Subject: Re: linux-next: build warning after merge of the spi tree To: Stephen Rothwell Cc: Mark Brown , Linux Next Mailing List , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Stephen, I did not have this warning, it may be a combination of compiler version and build flags. Do you need a fixup patch for it? Thanks, Jean On Wed, Jan 15, 2020 at 3:23 AM Stephen Rothwell wrote: > > Hi all, > > After merging the spi tree, today's linux-next build (x86_64 allmodconfig) > produced this warning: > > drivers/spi/spi-ti-qspi.c: In function 'ti_qspi_start_transfer_one': > drivers/spi/spi-ti-qspi.c:392:8: warning: 'rx_wlen' may be used uninitialized in this function [-Wmaybe-uninitialized] > 392 | if (rx_wlen >= 32) > | ^ > drivers/spi/spi-ti-qspi.c:318:12: note: 'rx_wlen' was declared here > 318 | u8 rxlen, rx_wlen; > | ^~~~~~~ > > Introduced by commit > > e7cc5cfbea4c ("spi: spi-ti-qspi: optimize byte-transfers") > > Looks like it may be a false positive. > > -- > Cheers, > Stephen Rothwell