Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp188490ybz; Tue, 21 Apr 2020 18:22:02 -0700 (PDT) X-Google-Smtp-Source: APiQypLKxyeE+7s8EWSKrsKKQgiB0nd5RIGoZKelmO3POvJ+gFb/G3JB5MDBTnRfJbTVE4ud6KXs X-Received: by 2002:a17:907:20f7:: with SMTP id rh23mr23337101ejb.71.1587518522104; Tue, 21 Apr 2020 18:22:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587518522; cv=none; d=google.com; s=arc-20160816; b=M/u1UfDh7Y9jLUQWPNUJKT47Y9punYlEl6FnbHtDlj0xgwTfa4Gu5i3q0G66W4HV2C LDcje+gm4HpAZIXIWA1iXVlxpkPKtGNrGn5TZo6gdVvWLi04VrQc/5zP94w/lrpb4wNM /iC71FIYrUsGGJvJPdSxRoFNglL8YdY7qQUPmlYzrjDrPPiI+X6Biw0YBN0E9W03929/ G1Ztef6qKh255uckXS1qbxtl91YfYZ9x9aJmXecgw6EnFkM0nCg4s3B5PmXD8hSSsxsb pfTt/wLRdf16Yz4Kq64yria5YPGOpnkQWgkXfUsGJmSvmwUUyr2ludEM62XfljsI0ilR jcKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:ironport-sdr:ironport-sdr; bh=bIWJTck7/h8kk7iAWHrBFAMlzg/r6ZkS5Ervwa/bzN8=; b=JfhnXp31GbgjEPSnDJ8XMaSsiZeb0Chr6eXWWu9SkaLMNAuilaCvMDoMw77kB31rrC t/vI1Px/NV9xMQ3tlJnxVmSTZ0tndCzTCHbEZtTmBzD9Dzroa3JxvCj/LryIyg8mQioA sqVwg/Lt2HmArpH2mYyucIa7RIIqToJJ5beVaXx7DdInOWDTuVuVt9zP7XUHYa51SEYU SRWyi5ykNZNlt1NiklV1g3hTMBFUi9MxSQrZ0m+zq4hIPKjTq04Tt/5RCzzt2dO7zciP iHCoIwotHsY7pXaWHGdZ4x8UilL7wDEkyPFzcx3Gx5GAAsi6rOSOXkCCuSo4AxrIB4Uv 8lqA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cw20si2650096edb.53.2020.04.21.18.21.39; Tue, 21 Apr 2020 18:22:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726321AbgDVBSE (ORCPT + 99 others); Tue, 21 Apr 2020 21:18:04 -0400 Received: from mga14.intel.com ([192.55.52.115]:32180 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726024AbgDVBSD (ORCPT ); Tue, 21 Apr 2020 21:18:03 -0400 IronPort-SDR: mPF/MjPpdp1hShjwy3PUg9c6QNhmFnNaRksMWzfVf2YxavAyMUnkJ6lMAEXD3MXAP69R4iXJHP cSFppLR6e+3Q== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Apr 2020 18:18:03 -0700 IronPort-SDR: 6l6YK4sA5Ns3pKrIUT/p5tb8q0agx3EDFMEWSNFL1xj4zJzkoITPI9nyz+AfyYptrSi3a5rg1V AYAkdLsXWzjA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,412,1580803200"; d="scan'208";a="402370693" Received: from shao2-debian.sh.intel.com (HELO [10.239.13.3]) ([10.239.13.3]) by orsmga004.jf.intel.com with ESMTP; 21 Apr 2020 18:18:01 -0700 Subject: Re: [kbuild-all] Re: sound/soc/soc-compress.c:75:28: warning: 'component' is used uninitialized in this function To: Kuninori Morimoto , kbuild test robot Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, Mark Brown References: <202004201540.vYPhhYMs%lkp@intel.com> <87eeshuzla.wl-kuninori.morimoto.gx@renesas.com> From: Rong Chen Message-ID: <21c9be58-057d-a151-f64d-e8f85f1c585c@intel.com> Date: Wed, 22 Apr 2020 09:17:52 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <87eeshuzla.wl-kuninori.morimoto.gx@renesas.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 4/21/20 2:23 PM, Kuninori Morimoto wrote: > Hi > >> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master >> head: 7a56db0299f9d43b4fe076838150c5cc293df131 >> commit: 613fb50059cf19aa6acbc503a00265d9151c0b09 ASoC: soc-core: remove snd_soc_rtdcom_list >> date: 3 months ago >> config: i386-randconfig-a002-20200420 (attached as .config) >> compiler: gcc-6 (Debian 6.3.0-18+deb9u1) 6.3.0 20170516 >> reproduce: >> git checkout 613fb50059cf19aa6acbc503a00265d9151c0b09 >> # save the attached .config to linux build tree >> make ARCH=i386 >> >> If you fix the issue, kindly add following tag as appropriate >> Reported-by: kbuild test robot >> >> All warnings (new ones prefixed by >>): >> >> sound/soc/soc-compress.c: In function 'soc_compr_open': >>>> sound/soc/soc-compress.c:75:28: warning: 'component' is used uninitialized in this function [-Wuninitialized] >> struct snd_soc_component *component, *save = NULL; >> ^~~~~~~~~ > Hmm... I still can't reproduce this issue. > I don't have gcc-6, thus can't try it. > Is this the issue ?? Hi Kuninori, We can reproduce the warning with gcc-6 (gcc version 6.5.0 20181026 (Debian 6.5.0-2)), and the warning can be closed if changed to "struct snd_soc_component *component = NULL, *save = NULL;" Best Regards, Rong Chen