Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp480533imn; Thu, 28 Jul 2022 06:41:05 -0700 (PDT) X-Google-Smtp-Source: AGRyM1thHRsbdbP51fUHU4R28pA9ykJG1bOOdA2c0cvRKii7YAUNgBKNyMKxrLhD3HfgjcaFrvAP X-Received: by 2002:a05:6402:50cf:b0:43c:7d1:df75 with SMTP id h15-20020a05640250cf00b0043c07d1df75mr18540446edb.72.1659015664783; Thu, 28 Jul 2022 06:41:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659015664; cv=none; d=google.com; s=arc-20160816; b=YNOxsVU13weK9Ocw0uJ9gGkUGftNWUckYBfy0VKvhVzmFZECj6w9RnJmvd0ygukDwe v8121dK8TjJoB6A2fqpo/nTO4XicMQjCz1oGFbiP3f6nnqPieY39LrE0MPasASu8kme8 NNx+6/vbmdQqYFGxw5vxuK6xxdVuTK/saxpWFT4VXu9bTqHI1w+S0u4CwhpN4jtr6GKp BxRaL3Lv4ZYwq9X9GmkzuaTjHXbZlWtAq6UWKCe7LhGl/aVe2uYIDZlKXIF/xNxR5TmQ jxzuG7W7lGo/aJ9i8TOyxATy043abPM/Zqh3khusQ7w+K0Mt9NbSlUffxingrMcq8hc9 Js+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=u/R3YeZN3gWTsbnHYCg9ey9hJpD3+KU8hpkXu9JEHzE=; b=ZJmHKQoed6MKU5IPkWNnOWwT9HoLZLr9EQ9R7dF5MAesTn2a2T56fZSlKId9jI+D5I 3LEV2onUdLs6pyaTKErmNQKwBwlgssODTLnmqMcsn+nOP1Do0e4ECiGvwGPVm8nRo4I+ pn3uCEalbDTUNAo2ll1S06IXFud1B+ZOuNrbFojj7FrBy5mOgddDRXljXSM4A+ZoGJmd BY81VByjrjc6hgXkwVhbNyMBY3aJSuafSTS74w3P3hFBzWNevILXOSwq1sY3MHjnWBR/ g1hXSCezHqHtPkWvVOif2xz+JYP61qMwYlmeE8DVi7jlQbB9pN7lZi+d+hYRzGH187R7 I6Ew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=WB0n5eT2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f11-20020a0564021e8b00b0043c2ae58872si865727edf.460.2022.07.28.06.40.39; Thu, 28 Jul 2022 06:41:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=WB0n5eT2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237979AbiG1M6T (ORCPT + 99 others); Thu, 28 Jul 2022 08:58:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37610 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237168AbiG1M6Q (ORCPT ); Thu, 28 Jul 2022 08:58:16 -0400 Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B40EC46DAC; Thu, 28 Jul 2022 05:58:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1659013095; x=1690549095; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=VqGMwL7Lma99b1Lz1Z4Qv/qEv0GH5EqC0hCdpYV4L4k=; b=WB0n5eT29jJO2AWPJ08+VGIb4YysdLfB5EUsFz+8uxFmReUvVAbmiQ8N JxJP9KAjclXhxHMJjuHF7xzgX82t5nfWn0VBLreAPolkcfaI0OJ9UycK2 PWEWcvLUkb4tSWpeCVTS7Fnk1+KfiEpsmnrVxe042n17dJCa576oi15+B tIflwSZrsI23HuDDG3Qeb0gxGIx/aeuFiI29d2nWS3J87IIvlruRhkDxb P09csQjaHEJVa5nCp353LBCfnUUlV+VHB7jNMej47xv8E4vkJOLjiYoEK NTlHkJOoiBWbCqd/fd+FPV89WUSrcYFhxPCwONRiKHRWOBRir7oa8bkDa w==; X-IronPort-AV: E=McAfee;i="6400,9594,10421"; a="350208096" X-IronPort-AV: E=Sophos;i="5.93,198,1654585200"; d="scan'208";a="350208096" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Jul 2022 05:58:15 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,198,1654585200"; d="scan'208";a="846692228" Received: from lkp-server01.sh.intel.com (HELO e0eace57cfef) ([10.239.97.150]) by fmsmga006.fm.intel.com with ESMTP; 28 Jul 2022 05:58:11 -0700 Received: from kbuild by e0eace57cfef with local (Exim 4.96) (envelope-from ) id 1oH35e-000A16-1s; Thu, 28 Jul 2022 12:58:10 +0000 Date: Thu, 28 Jul 2022 20:57:51 +0800 From: kernel test robot To: Srinivasa Rao Mandadapu , agross@kernel.org, bjorn.andersson@linaro.org, lgirdwood@gmail.com, broonie@kernel.org, robh+dt@kernel.org, quic_plai@quicinc.com, bgoswami@quicinc.com, perex@perex.cz, tiwai@suse.com, srinivas.kandagatla@linaro.org, quic_rohkumar@quicinc.com, linux-arm-msm@vger.kernel.org, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, swboyd@chromium.org, judyhsiao@chromium.org, devicetree@vger.kernel.org Cc: kbuild-all@lists.01.org, Srinivasa Rao Mandadapu Subject: Re: [PATCH] ASoC: qcom: SC7280: Add support for external DMIC bias supply Message-ID: <202207282036.84w516Y3-lkp@intel.com> References: <1658992233-28372-1-git-send-email-quic_srivasam@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1658992233-28372-1-git-send-email-quic_srivasam@quicinc.com> X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Srinivasa, Thank you for the patch! Yet something to improve: [auto build test ERROR on broonie-sound/for-next] [also build test ERROR on linus/master v5.19-rc8 next-20220728] [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/Srinivasa-Rao-Mandadapu/ASoC-qcom-SC7280-Add-support-for-external-DMIC-bias-supply/20220728-151249 base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next config: powerpc-allmodconfig (https://download.01.org/0day-ci/archive/20220728/202207282036.84w516Y3-lkp@intel.com/config) compiler: powerpc-linux-gcc (GCC) 12.1.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/intel-lab-lkp/linux/commit/d59fc8cd6dd22df37f41309d1d18a7853929e2f8 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Srinivasa-Rao-Mandadapu/ASoC-qcom-SC7280-Add-support-for-external-DMIC-bias-supply/20220728-151249 git checkout d59fc8cd6dd22df37f41309d1d18a7853929e2f8 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=powerpc SHELL=/bin/bash sound/soc/qcom/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All errors (new ones prefixed by >>): sound/soc/qcom/sc7280.c: In function 'sc7280_snd_platform_probe': >> sound/soc/qcom/sc7280.c:413:37: error: expected ')' before 'return' 413 | if (IS_ERR(data->vdd_supply) | ~ ^ | ) 414 | return PTR_ERR(data->vdd_supply); | ~~~~~~ >> sound/soc/qcom/sc7280.c:417:1: error: expected expression before '}' token 417 | } | ^ sound/soc/qcom/sc7280.c:417:1: error: control reaches end of non-void function [-Werror=return-type] 417 | } | ^ cc1: some warnings being treated as errors vim +413 sound/soc/qcom/sc7280.c 380 381 static int sc7280_snd_platform_probe(struct platform_device *pdev) 382 { 383 struct snd_soc_card *card; 384 struct sc7280_snd_data *data; 385 struct device *dev = &pdev->dev; 386 struct snd_soc_dai_link *link; 387 int ret, i; 388 389 data = devm_kzalloc(dev, sizeof(*data), GFP_KERNEL); 390 if (!data) 391 return -ENOMEM; 392 393 card = &data->card; 394 snd_soc_card_set_drvdata(card, data); 395 396 card->owner = THIS_MODULE; 397 card->driver_name = "SC7280"; 398 card->dev = dev; 399 400 card->dapm_widgets = sc7280_snd_widgets; 401 card->num_dapm_widgets = ARRAY_SIZE(sc7280_snd_widgets); 402 403 ret = qcom_snd_parse_of(card); 404 if (ret) 405 return ret; 406 407 for_each_card_prelinks(card, i, link) { 408 link->init = sc7280_init; 409 link->ops = &sc7280_ops; 410 } 411 412 data->vdd_supply = devm_regulator_get(dev, "vdd-dmic-bias"); > 413 if (IS_ERR(data->vdd_supply) 414 return PTR_ERR(data->vdd_supply); 415 416 return devm_snd_soc_register_card(dev, card); > 417 } 418 -- 0-DAY CI Kernel Test Service https://01.org/lkp