From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 43000CA0EF1 for ; Tue, 12 Sep 2023 16:30:50 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 11D61A4D; Tue, 12 Sep 2023 18:29:58 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 11D61A4D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1694536248; bh=+ne2QoXtf7yPAarnt2iHbPmV1YKRfcKbyuDLCVGZRtY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=VOrMVhQ/LOW3d75hXoQLFFzmJ2Okh+GvSswRbgHjwoOAo8dWvv9WHzBN+MqMewmPa 4/HBcGEz9w+DMDUGeX19GH+JLiSoiMAO1Q+yfrdfa005ODryg6Vyv91yJ1agZyfJ8A WiMXAdXtmigZO0m9A8XSYRJYMWj4sbV/zDdXQBjw= Received: by alsa1.perex.cz (Postfix, from userid 50401) id CAD5EF80425; Tue, 12 Sep 2023 18:29:55 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 707FEF80425; Tue, 12 Sep 2023 18:29:55 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id B98AEF80425; Tue, 12 Sep 2023 18:29:51 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 8DA85F80212 for ; Tue, 12 Sep 2023 18:29:44 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 8DA85F80212 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=TsePVlmE DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1694536185; x=1726072185; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=+ne2QoXtf7yPAarnt2iHbPmV1YKRfcKbyuDLCVGZRtY=; b=TsePVlmE8K0hmxUrNr/jgNCEyGyOcaJa1gezQDVEtTHaaHQWQPGr9Um1 XLMZwGd9wB33sTcvQ6TgVW8PR9i3HfXOEANes6HK+O9m3UGBBKg4ZV5sJ BybrnINNUmPPTWTlKdc5m2SyzmkbbYquezS424angYnwcQKymsWqob01f dt+j++BCtLkcKyxPLycBGFrXrA74hToxuhMvWkYHa+T6ZNe+zLdFk5E3H H5CKT+NhvXnOb1plqdspBkkRj0Nfn7nsbJ2VRw3CXsVTl4HL74h0huP+A bk5K1mlCYrjwrgeqp0LnEx6fvYneUhWyKylQ5zLkq83jTznP9hcQ2k4FF w==; X-IronPort-AV: E=McAfee;i="6600,9927,10831"; a="464801241" X-IronPort-AV: E=Sophos;i="6.02,139,1688454000"; d="scan'208";a="464801241" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Sep 2023 09:20:47 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10831"; a="746957326" X-IronPort-AV: E=Sophos;i="6.02,139,1688454000"; d="scan'208";a="746957326" Received: from lkp-server02.sh.intel.com (HELO 0a6943a0b3e1) ([10.239.97.151]) by fmsmga007.fm.intel.com with ESMTP; 12 Sep 2023 09:20:42 -0700 Received: from kbuild by 0a6943a0b3e1 with local (Exim 4.96) (envelope-from ) id 1qg67w-0000E6-0b; Tue, 12 Sep 2023 16:20:37 +0000 Date: Wed, 13 Sep 2023 00:11:20 +0800 From: kernel test robot To: Shenghao Ding , tiwai@suse.de Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, robh+dt@kernel.org, andriy.shevchenko@linux.intel.com, lgirdwood@gmail.com, perex@perex.cz, pierre-louis.bossart@linux.intel.com, kevin-lu@ti.com, 13916275206@139.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, liam.r.girdwood@intel.com, mengdong.lin@intel.com, baojun.xu@ti.com, thomas.gfeller@q-drop.com, peeyush@ti.com, navada@ti.com, broonie@kernel.org, gentuser@gmail.com, Shenghao Ding Subject: Re: [PATCH v1] ALSA: hda/tas2781: Support ACPI_ID both TXNW2781 and TIAS2781 Message-ID: <202309122358.aEcJnIUJ-lkp@intel.com> References: <20230910072704.1359-1-shenghao-ding@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230910072704.1359-1-shenghao-ding@ti.com> Message-ID-Hash: YSKQNMSH6CB3IMAMRGSGEXYX4OR6FF3O X-Message-ID-Hash: YSKQNMSH6CB3IMAMRGSGEXYX4OR6FF3O X-MailFrom: lkp@intel.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Hi Shenghao, kernel test robot noticed the following build warnings: [auto build test WARNING on tiwai-sound/for-next] [also build test WARNING on tiwai-sound/for-linus linus/master v6.6-rc1 next-20230912] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Shenghao-Ding/ALSA-hda-tas2781-Support-ACPI_ID-both-TXNW2781-and-TIAS2781/20230910-153010 base: https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git for-next patch link: https://lore.kernel.org/r/20230910072704.1359-1-shenghao-ding%40ti.com patch subject: [PATCH v1] ALSA: hda/tas2781: Support ACPI_ID both TXNW2781 and TIAS2781 config: i386-buildonly-randconfig-003-20230912 (https://download.01.org/0day-ci/archive/20230912/202309122358.aEcJnIUJ-lkp@intel.com/config) compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230912/202309122358.aEcJnIUJ-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202309122358.aEcJnIUJ-lkp@intel.com/ All warnings (new ones prefixed by >>): >> sound/pci/hda/tas2781_hda_i2c.c:665:24: warning: variable 'tas_priv' is uninitialized when used here [-Wuninitialized] return dev_err_probe(tas_priv->dev, -ENODEV, ^~~~~~~~ sound/pci/hda/tas2781_hda_i2c.c:656:33: note: initialize the variable 'tas_priv' to silence this warning struct tasdevice_priv *tas_priv; ^ = NULL 1 warning generated. vim +/tas_priv +665 sound/pci/hda/tas2781_hda_i2c.c 653 654 static int tas2781_hda_i2c_probe(struct i2c_client *clt) 655 { 656 struct tasdevice_priv *tas_priv; 657 int ret, i; 658 659 /* Check TIAS2781 or TXNW2781 */ 660 for (i = 0; i < ARRAY_SIZE(tas2781_acpi_hda_match); i++) 661 if (strstr(dev_name(&clt->dev), tas2781_acpi_hda_match[i].id)) 662 break; 663 664 if (i == ARRAY_SIZE(tas2781_acpi_hda_match)) > 665 return dev_err_probe(tas_priv->dev, -ENODEV, 666 "Device not available\n"); 667 668 tas_priv = tasdevice_kzalloc(clt); 669 if (!tas_priv) 670 return -ENOMEM; 671 672 tas_priv->irq_info.irq = clt->irq; 673 ret = tas2781_read_acpi(tas_priv, tas2781_acpi_hda_match[i].id); 674 if (ret) 675 return dev_err_probe(tas_priv->dev, ret, 676 "Platform not supported\n"); 677 678 ret = tasdevice_init(tas_priv); 679 if (ret) 680 goto err; 681 682 pm_runtime_set_autosuspend_delay(tas_priv->dev, 3000); 683 pm_runtime_use_autosuspend(tas_priv->dev); 684 pm_runtime_mark_last_busy(tas_priv->dev); 685 pm_runtime_set_active(tas_priv->dev); 686 pm_runtime_get_noresume(tas_priv->dev); 687 pm_runtime_enable(tas_priv->dev); 688 689 pm_runtime_put_autosuspend(tas_priv->dev); 690 691 ret = component_add(tas_priv->dev, &tas2781_hda_comp_ops); 692 if (ret) { 693 dev_err(tas_priv->dev, "Register component failed: %d\n", ret); 694 pm_runtime_disable(tas_priv->dev); 695 goto err; 696 } 697 698 tas2781_reset(tas_priv); 699 err: 700 if (ret) 701 tas2781_hda_remove(&clt->dev); 702 return ret; 703 } 704 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki