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 9840BC54E55 for ; Thu, 7 Mar 2024 07:37:59 +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 2044F3E7; Thu, 7 Mar 2024 08:37:47 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 2044F3E7 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1709797077; bh=O6r2yIkqMTx2clPrK+gabO6lpARf5VJGxJDcdwImDKY=; 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=t4xJC1pbKh4F4ZS3GjKHtxh43rYHAwO40UWfLnsDgODi9BdGGshkDagglmTUXA+KG 8S8BMrKDBkNXuGKe4BGK1+cxF2LrS0rr+hMNR4DxllU9KlUXAeGR/jbMz56EXT2iHe VIArd1i7wQ24YVPekV1XsPLsUqLJ/2XLg31b3Zjw= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 4C5BEF805A8; Thu, 7 Mar 2024 08:37:24 +0100 (CET) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 280E4F805A8; Thu, 7 Mar 2024 08:37:23 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id BC066F8024E; Thu, 7 Mar 2024 08:36:17 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.20]) (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 3EEFCF8014B for ; Thu, 7 Mar 2024 08:35:56 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 3EEFCF8014B 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=BBkC9jfG DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1709796959; x=1741332959; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=O6r2yIkqMTx2clPrK+gabO6lpARf5VJGxJDcdwImDKY=; b=BBkC9jfGjY9aUzyDX2xpjO7Z8EiXiJvC+cKCQ42DMtoxdbqbE4QDgZ+M /zJ7izvlWAH1fOHr3xrMQDDT43oxAXYZLwxCBGnuO4az5YQtla8XgyN5E xXOW+mvY1FoZJyQg+gD0JhEYHFSW4+NaxMiQ27QSyiPX2JilgaHLwMnId 2Xo1cEwsIAi7XOM2kocuTF9HWnL71gux1BkmQIdJlylMQwvkXYc9Kr9a5 XHZkg5FrvJKDdazkbxJOG4+zLPDEnKXn3f4rm0NsWi2CxiepXDMjpxD43 S4W/5/wYRl1ozQAgB464QwF/TEdK9n26Qxu1AdKqQjdSxZb/i3Iq9/xoZ g==; X-IronPort-AV: E=McAfee;i="6600,9927,11005"; a="4334679" X-IronPort-AV: E=Sophos;i="6.06,210,1705392000"; d="scan'208";a="4334679" Received: from fmviesa006.fm.intel.com ([10.60.135.146]) by orvoesa112.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Mar 2024 23:35:53 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.06,210,1705392000"; d="scan'208";a="10189893" Received: from lkp-server01.sh.intel.com (HELO b21307750695) ([10.239.97.150]) by fmviesa006.fm.intel.com with ESMTP; 06 Mar 2024 23:35:48 -0800 Received: from kbuild by b21307750695 with local (Exim 4.96) (envelope-from ) id 1ri8I6-0004x5-0u; Thu, 07 Mar 2024 07:35:46 +0000 Date: Thu, 7 Mar 2024 15:35:14 +0800 From: kernel test robot To: Chancel Liu , shengjiu.wang@gmail.com, Xiubo.Lee@gmail.com, festevam@gmail.com, nicoleotsuka@gmail.com, lgirdwood@gmail.com, broonie@kernel.org, perex@perex.cz, tiwai@suse.com, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, linux-imx@nxp.com, alsa-devel@alsa-project.org, linuxppc-dev@lists.ozlabs.org, linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: oe-kbuild-all@lists.linux.dev, Chancel Liu Subject: Re: [PATCH 3/4] ASoC: fsl: Let imx-audio-rpmsg register platform device for card Message-ID: <202403071501.Bo3vcFpu-lkp@intel.com> References: <20240306075510.535963-4-chancel.liu@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240306075510.535963-4-chancel.liu@nxp.com> Message-ID-Hash: YWB5VJUODEY2WYX373D5S6H3JJZECD4V X-Message-ID-Hash: YWB5VJUODEY2WYX373D5S6H3JJZECD4V 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.9 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 Chancel, kernel test robot noticed the following build errors: [auto build test ERROR on shawnguo/for-next] [also build test ERROR on broonie-sound/for-next linus/master v6.8-rc7 next-20240306] [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/Chancel-Liu/ASoC-fsl-imx_pcm_rpmsg-Register-component-with-rpmsg-channel-name/20240306-155945 base: https://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux.git for-next patch link: https://lore.kernel.org/r/20240306075510.535963-4-chancel.liu%40nxp.com patch subject: [PATCH 3/4] ASoC: fsl: Let imx-audio-rpmsg register platform device for card config: m68k-allmodconfig (https://download.01.org/0day-ci/archive/20240307/202403071501.Bo3vcFpu-lkp@intel.com/config) compiler: m68k-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240307/202403071501.Bo3vcFpu-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/202403071501.Bo3vcFpu-lkp@intel.com/ All errors (new ones prefixed by >>): sound/soc/fsl/imx-audio-rpmsg.c: In function 'imx_audio_rpmsg_probe': >> sound/soc/fsl/imx-audio-rpmsg.c:107:17: error: label 'fail' used but not defined 107 | goto fail; | ^~~~ vim +/fail +107 sound/soc/fsl/imx-audio-rpmsg.c 74 75 static int imx_audio_rpmsg_probe(struct rpmsg_device *rpdev) 76 { 77 struct imx_audio_rpmsg *data; 78 int ret = 0; 79 80 dev_info(&rpdev->dev, "new channel: 0x%x -> 0x%x!\n", 81 rpdev->src, rpdev->dst); 82 83 data = devm_kzalloc(&rpdev->dev, sizeof(*data), GFP_KERNEL); 84 if (!data) 85 return -ENOMEM; 86 87 dev_set_drvdata(&rpdev->dev, data); 88 89 /* Register platform driver for rpmsg routine */ 90 data->rpmsg_pdev = platform_device_register_data(&rpdev->dev, 91 rpdev->id.name, 92 PLATFORM_DEVID_NONE, 93 NULL, 0); 94 if (IS_ERR(data->rpmsg_pdev)) { 95 dev_err(&rpdev->dev, "failed to register rpmsg platform.\n"); 96 ret = PTR_ERR(data->rpmsg_pdev); 97 } 98 99 data->card_pdev = platform_device_register_data(&rpdev->dev, 100 "imx-audio-rpmsg", 101 PLATFORM_DEVID_AUTO, 102 rpdev->id.name, 103 strlen(rpdev->id.name)); 104 if (IS_ERR(data->card_pdev)) { 105 dev_err(&rpdev->dev, "failed to register rpmsg card.\n"); 106 ret = PTR_ERR(data->card_pdev); > 107 goto fail; 108 } 109 110 return ret; 111 } 112 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki 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 lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (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 D5103C54E49 for ; Thu, 7 Mar 2024 07:36:38 +0000 (UTC) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=AprtwSAQ; dkim-atps=neutral Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4Tr1MT3SJCz3dWF for ; Thu, 7 Mar 2024 18:36:37 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=AprtwSAQ; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=intel.com (client-ip=198.175.65.20; helo=mgamail.intel.com; envelope-from=lkp@intel.com; receiver=lists.ozlabs.org) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4Tr1Lh32BTz3bpt for ; Thu, 7 Mar 2024 18:35:55 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1709796957; x=1741332957; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=O6r2yIkqMTx2clPrK+gabO6lpARf5VJGxJDcdwImDKY=; b=AprtwSAQuDqZGhKE3jp+PZV21n68LsTPwNN5HwovlqK7DEpRUm48MoX/ HguXkNUw8JhPnBULAcBJJOI7DuYcAtCKy/CelYvWoy6h/XR1qmVXsQRM2 e5WDUg9pZIwzbtOdf1dJphNPs/f6WVXOb86qBXn/qpliFDv/TR22Sf9HY s+cIgkPFyXbsIeazWYvVJtCNTochJ89KVjZpbP+dtiPPac2/SdNWDX0tr 7BYP/F2lhyYLF+ZxFo/ScwYRHAhoKBDc+0gKbWtHW414crrfD2mvmR9BU uzdm88L5/zWcVmHI2rsgzTQ66bQe2sNIXGrtbnObs/THqLpXsA5+s7XA1 g==; X-IronPort-AV: E=McAfee;i="6600,9927,11005"; a="4334681" X-IronPort-AV: E=Sophos;i="6.06,210,1705392000"; d="scan'208";a="4334681" Received: from fmviesa006.fm.intel.com ([10.60.135.146]) by orvoesa112.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Mar 2024 23:35:53 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.06,210,1705392000"; d="scan'208";a="10189893" Received: from lkp-server01.sh.intel.com (HELO b21307750695) ([10.239.97.150]) by fmviesa006.fm.intel.com with ESMTP; 06 Mar 2024 23:35:48 -0800 Received: from kbuild by b21307750695 with local (Exim 4.96) (envelope-from ) id 1ri8I6-0004x5-0u; Thu, 07 Mar 2024 07:35:46 +0000 Date: Thu, 7 Mar 2024 15:35:14 +0800 From: kernel test robot To: Chancel Liu , shengjiu.wang@gmail.com, Xiubo.Lee@gmail.com, festevam@gmail.com, nicoleotsuka@gmail.com, lgirdwood@gmail.com, broonie@kernel.org, perex@perex.cz, tiwai@suse.com, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, linux-imx@nxp.com, alsa-devel@alsa-project.org, linuxppc-dev@lists.ozlabs.org, linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 3/4] ASoC: fsl: Let imx-audio-rpmsg register platform device for card Message-ID: <202403071501.Bo3vcFpu-lkp@intel.com> References: <20240306075510.535963-4-chancel.liu@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240306075510.535963-4-chancel.liu@nxp.com> X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Chancel Liu , oe-kbuild-all@lists.linux.dev Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" Hi Chancel, kernel test robot noticed the following build errors: [auto build test ERROR on shawnguo/for-next] [also build test ERROR on broonie-sound/for-next linus/master v6.8-rc7 next-20240306] [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/Chancel-Liu/ASoC-fsl-imx_pcm_rpmsg-Register-component-with-rpmsg-channel-name/20240306-155945 base: https://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux.git for-next patch link: https://lore.kernel.org/r/20240306075510.535963-4-chancel.liu%40nxp.com patch subject: [PATCH 3/4] ASoC: fsl: Let imx-audio-rpmsg register platform device for card config: m68k-allmodconfig (https://download.01.org/0day-ci/archive/20240307/202403071501.Bo3vcFpu-lkp@intel.com/config) compiler: m68k-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240307/202403071501.Bo3vcFpu-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/202403071501.Bo3vcFpu-lkp@intel.com/ All errors (new ones prefixed by >>): sound/soc/fsl/imx-audio-rpmsg.c: In function 'imx_audio_rpmsg_probe': >> sound/soc/fsl/imx-audio-rpmsg.c:107:17: error: label 'fail' used but not defined 107 | goto fail; | ^~~~ vim +/fail +107 sound/soc/fsl/imx-audio-rpmsg.c 74 75 static int imx_audio_rpmsg_probe(struct rpmsg_device *rpdev) 76 { 77 struct imx_audio_rpmsg *data; 78 int ret = 0; 79 80 dev_info(&rpdev->dev, "new channel: 0x%x -> 0x%x!\n", 81 rpdev->src, rpdev->dst); 82 83 data = devm_kzalloc(&rpdev->dev, sizeof(*data), GFP_KERNEL); 84 if (!data) 85 return -ENOMEM; 86 87 dev_set_drvdata(&rpdev->dev, data); 88 89 /* Register platform driver for rpmsg routine */ 90 data->rpmsg_pdev = platform_device_register_data(&rpdev->dev, 91 rpdev->id.name, 92 PLATFORM_DEVID_NONE, 93 NULL, 0); 94 if (IS_ERR(data->rpmsg_pdev)) { 95 dev_err(&rpdev->dev, "failed to register rpmsg platform.\n"); 96 ret = PTR_ERR(data->rpmsg_pdev); 97 } 98 99 data->card_pdev = platform_device_register_data(&rpdev->dev, 100 "imx-audio-rpmsg", 101 PLATFORM_DEVID_AUTO, 102 rpdev->id.name, 103 strlen(rpdev->id.name)); 104 if (IS_ERR(data->card_pdev)) { 105 dev_err(&rpdev->dev, "failed to register rpmsg card.\n"); 106 ret = PTR_ERR(data->card_pdev); > 107 goto fail; 108 } 109 110 return ret; 111 } 112 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 00C43C48BF6 for ; Thu, 7 Mar 2024 07:36:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=a8tFdm4mTOK1amSo5QTNUWaZWtOwfVLkEUoMImW9vwk=; b=Guqolh1aaO6fxL +3LVwiVtYuwREbUKYRNmdvBbhtPTdAFOOHEwVMgiMWnnbgVv5oQnQpeFQg3IdEUpVo9Fz8YgIPdM6 kxCG1fKUqT/iWg3CWaeP9ZHZh4RH0blGyKoBwZLeuWCOwf9RukPa05WtL0TDThU5jmMZ4q4XrBbhu fnf09f0COvqZ80S0+62dGukPDIP0s4qg9tx3oHRjv1CGizs/2ANlETmVfQKY+5GJon/MULuuKbvNC qjIvAOv9Ug0Zfy800ODHKflyCg/aTeJskssvuT6nUHajveDwvr924kn/byd0PdQ/nqmy9FKz/9TIU oIOPRJ0FRAGRVs0AgOMA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1ri8II-00000003RsF-3MwE; Thu, 07 Mar 2024 07:35:58 +0000 Received: from mgamail.intel.com ([198.175.65.20]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1ri8IF-00000003RqK-0ryu for linux-arm-kernel@lists.infradead.org; Thu, 07 Mar 2024 07:35:57 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1709796956; x=1741332956; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=O6r2yIkqMTx2clPrK+gabO6lpARf5VJGxJDcdwImDKY=; b=RWBJimhyt2xk39p7Yzynuf/b+4hD3kjmPVcDDv6aSiiRuKNXynQ/x3KZ V7buR/oIcOT+jEdcc0HZRxXNDCWaXHWCr5ROivIRNRtGQvE4hfCSiQS+q oH2x2Gf63LP7aREkErNm72WIEcKlhoxLlpsPc0UzPdwOpMxo6rtF4HQ7G eb/Fs5SBI6Y8YUJcYatH0NqrqvdLyxtV1S074bUpjAqNcyYneH089BV54 0GDFYXBJPvYSfHQ/B632OBa28TdibKOC+x8raxIGXXBjjbofyfYsPyT1H oFiVdeLlYAPJ1Y7TaykhkSwx2OmXkIIfLOZxwgYAEKnjJYmDFpxnOC4CF Q==; X-IronPort-AV: E=McAfee;i="6600,9927,11005"; a="4334683" X-IronPort-AV: E=Sophos;i="6.06,210,1705392000"; d="scan'208";a="4334683" Received: from fmviesa006.fm.intel.com ([10.60.135.146]) by orvoesa112.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Mar 2024 23:35:54 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.06,210,1705392000"; d="scan'208";a="10189893" Received: from lkp-server01.sh.intel.com (HELO b21307750695) ([10.239.97.150]) by fmviesa006.fm.intel.com with ESMTP; 06 Mar 2024 23:35:48 -0800 Received: from kbuild by b21307750695 with local (Exim 4.96) (envelope-from ) id 1ri8I6-0004x5-0u; Thu, 07 Mar 2024 07:35:46 +0000 Date: Thu, 7 Mar 2024 15:35:14 +0800 From: kernel test robot To: Chancel Liu , shengjiu.wang@gmail.com, Xiubo.Lee@gmail.com, festevam@gmail.com, nicoleotsuka@gmail.com, lgirdwood@gmail.com, broonie@kernel.org, perex@perex.cz, tiwai@suse.com, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, linux-imx@nxp.com, alsa-devel@alsa-project.org, linuxppc-dev@lists.ozlabs.org, linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: oe-kbuild-all@lists.linux.dev, Chancel Liu Subject: Re: [PATCH 3/4] ASoC: fsl: Let imx-audio-rpmsg register platform device for card Message-ID: <202403071501.Bo3vcFpu-lkp@intel.com> References: <20240306075510.535963-4-chancel.liu@nxp.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20240306075510.535963-4-chancel.liu@nxp.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240306_233555_322236_91F4B7C3 X-CRM114-Status: GOOD ( 12.45 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Chancel, kernel test robot noticed the following build errors: [auto build test ERROR on shawnguo/for-next] [also build test ERROR on broonie-sound/for-next linus/master v6.8-rc7 next-20240306] [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/Chancel-Liu/ASoC-fsl-imx_pcm_rpmsg-Register-component-with-rpmsg-channel-name/20240306-155945 base: https://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux.git for-next patch link: https://lore.kernel.org/r/20240306075510.535963-4-chancel.liu%40nxp.com patch subject: [PATCH 3/4] ASoC: fsl: Let imx-audio-rpmsg register platform device for card config: m68k-allmodconfig (https://download.01.org/0day-ci/archive/20240307/202403071501.Bo3vcFpu-lkp@intel.com/config) compiler: m68k-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240307/202403071501.Bo3vcFpu-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/202403071501.Bo3vcFpu-lkp@intel.com/ All errors (new ones prefixed by >>): sound/soc/fsl/imx-audio-rpmsg.c: In function 'imx_audio_rpmsg_probe': >> sound/soc/fsl/imx-audio-rpmsg.c:107:17: error: label 'fail' used but not defined 107 | goto fail; | ^~~~ vim +/fail +107 sound/soc/fsl/imx-audio-rpmsg.c 74 75 static int imx_audio_rpmsg_probe(struct rpmsg_device *rpdev) 76 { 77 struct imx_audio_rpmsg *data; 78 int ret = 0; 79 80 dev_info(&rpdev->dev, "new channel: 0x%x -> 0x%x!\n", 81 rpdev->src, rpdev->dst); 82 83 data = devm_kzalloc(&rpdev->dev, sizeof(*data), GFP_KERNEL); 84 if (!data) 85 return -ENOMEM; 86 87 dev_set_drvdata(&rpdev->dev, data); 88 89 /* Register platform driver for rpmsg routine */ 90 data->rpmsg_pdev = platform_device_register_data(&rpdev->dev, 91 rpdev->id.name, 92 PLATFORM_DEVID_NONE, 93 NULL, 0); 94 if (IS_ERR(data->rpmsg_pdev)) { 95 dev_err(&rpdev->dev, "failed to register rpmsg platform.\n"); 96 ret = PTR_ERR(data->rpmsg_pdev); 97 } 98 99 data->card_pdev = platform_device_register_data(&rpdev->dev, 100 "imx-audio-rpmsg", 101 PLATFORM_DEVID_AUTO, 102 rpdev->id.name, 103 strlen(rpdev->id.name)); 104 if (IS_ERR(data->card_pdev)) { 105 dev_err(&rpdev->dev, "failed to register rpmsg card.\n"); 106 ret = PTR_ERR(data->card_pdev); > 107 goto fail; 108 } 109 110 return ret; 111 } 112 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel