From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 30E6F1D86C7 for ; Tue, 18 Feb 2025 23:16:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.13 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739920589; cv=none; b=r/OmkYYD/kBHOalRhs9sr0aVhbh+Qsxlu9kl61FtY5dRzBKaUgQGkMbqLV5efkxL53q9kEh8DGwA+PHg4lV7Yji0JrFp11jZFDytp/d1Ef7+cSxZkmfwZjwSWkoio54q3q+7yE/bzlzWSYpHISH2v3uuhG0XHz1Q7f7mdX2ZE/I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739920589; c=relaxed/simple; bh=71NOAhlA1zRx6LOJehloexvb8Dr2yZK3ZKDG/fCQnK8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=bLNsHjqO0vcdQjPne7BN0BRwGaLDUH0MapZ4D2SEb/4R+DgKfgyq7L1ayajQ8dgii0pVeBQN1pZrJtBoiUBahHJOyFc+NbFJ2UYn8KA98XBdBZn+xqnPXoHH0Vg+gWDbUsgrHlib5tDa9TlooUAYr7pef8ahTCMD80s3xGzT43g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=YCwqqIQv; arc=none smtp.client-ip=198.175.65.13 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="YCwqqIQv" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1739920588; x=1771456588; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=71NOAhlA1zRx6LOJehloexvb8Dr2yZK3ZKDG/fCQnK8=; b=YCwqqIQvqWYf0hURb136Jh/jQhkPjhN2R0ZaBYXmaPNe1abNE9FFKZyQ W6wVTmp3qGouHC5MflzHkoTkGZZfErSRMdRgw8pTWsquybenxYz8cJGhp f/mybbXJAWmtAbfrJDFieG4J7a4RL5826d9i0CIP5xnSjDuiWMRLBsUwc 4ugPV45eh2k3rFxSG82CzJp5rz5gXI8uDWif0gI5u3FJXy542WC4qoN0M ExF3FUvh5+g/UheBP/eMLEHm44jqRNJp+VARpu/qw+I/ivGNCvv2UqO+x 2ekPQlmq321cGvejme2VBflt1I530Se7OI1+sVlX8LKN+U0sI5037Q2gJ Q==; X-CSE-ConnectionGUID: 0EO6P4MHS8a3TROaykBI3Q== X-CSE-MsgGUID: a1dMBgk5QpKXZI8cfLhynQ== X-IronPort-AV: E=McAfee;i="6700,10204,11348"; a="51624058" X-IronPort-AV: E=Sophos;i="6.13,296,1732608000"; d="scan'208";a="51624058" Received: from fmviesa005.fm.intel.com ([10.60.135.145]) by orvoesa105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Feb 2025 15:16:28 -0800 X-CSE-ConnectionGUID: J2RfxhNgTjGOZ+AaJZpasA== X-CSE-MsgGUID: KvOPBGGWT0q5JaJFQ+I7sg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,224,1728975600"; d="scan'208";a="119193650" Received: from lkp-server02.sh.intel.com (HELO 76cde6cc1f07) ([10.239.97.151]) by fmviesa005.fm.intel.com with ESMTP; 18 Feb 2025 15:16:21 -0800 Received: from kbuild by 76cde6cc1f07 with local (Exim 4.96) (envelope-from ) id 1tkWp8-0000xP-1Z; Tue, 18 Feb 2025 23:16:18 +0000 Date: Wed, 19 Feb 2025 07:15:42 +0800 From: kernel test robot To: Fred Treven , Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Simon Trimmer , Charles Keepax , Richard Fitzgerald , Dmitry Torokhov , James Ogletree , Ben Bright , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , David Rhodes , Jeff LaBundy , Heiko Stuebner , Karel Balej , Igor Prusov , Jack Yu , Weidong Wang , Binbin Zhou , Prasad Kumpatla , Paul Handrigan , Masahiro Yamada , Nuno Sa Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, alsa-devel@alsa-project.org, patches@opensource.cirrus.com, devicetree@vger.kernel.org Subject: Re: [PATCH RESEND 5/7] mfd: cs40l26: Add support for CS40L26 core driver Message-ID: <202502190628.g4aG7l2q-lkp@intel.com> References: <20250204231835.2000457-6-ftreven@opensource.cirrus.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20250204231835.2000457-6-ftreven@opensource.cirrus.com> Hi Fred, kernel test robot noticed the following build errors: [auto build test ERROR on lee-mfd/for-mfd-next] [also build test ERROR on broonie-sound/for-next dtor-input/next dtor-input/for-linus linus/master v6.14-rc3 next-20250218] [cannot apply to lee-mfd/for-mfd-fixes] [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/Fred-Treven/firmware-cs_dsp-Fix-error-checking-in-wseq_write/20250217-181206 base: https://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git for-mfd-next patch link: https://lore.kernel.org/r/20250204231835.2000457-6-ftreven%40opensource.cirrus.com patch subject: [PATCH RESEND 5/7] mfd: cs40l26: Add support for CS40L26 core driver config: s390-allmodconfig (https://download.01.org/0day-ci/archive/20250219/202502190628.g4aG7l2q-lkp@intel.com/config) compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250219/202502190628.g4aG7l2q-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/202502190628.g4aG7l2q-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from drivers/mfd/cs40l26-core.c:12: In file included from include/linux/mfd/core.h:13: In file included from include/linux/platform_device.h:13: In file included from include/linux/device.h:32: In file included from include/linux/device/driver.h:21: In file included from include/linux/module.h:19: In file included from include/linux/elf.h:6: In file included from arch/s390/include/asm/elf.h:181: In file included from arch/s390/include/asm/mmu_context.h:11: In file included from arch/s390/include/asm/pgalloc.h:18: In file included from include/linux/mm.h:2224: include/linux/vmstat.h:504:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] 504 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 505 | item]; | ~~~~ include/linux/vmstat.h:511:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] 511 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 512 | NR_VM_NUMA_EVENT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~~ include/linux/vmstat.h:524:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] 524 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 525 | NR_VM_NUMA_EVENT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~~ >> drivers/mfd/cs40l26-core.c:1173:3: error: cannot jump from this goto statement to its label 1173 | goto err_fw_rls; | ^ drivers/mfd/cs40l26-core.c:1176:2: note: jump bypasses initialization of variable with __attribute__((cleanup)) 1176 | guard(mutex)(&cs40l26->lock); | ^ include/linux/cleanup.h:309:15: note: expanded from macro 'guard' 309 | CLASS(_name, __UNIQUE_ID(guard)) | ^ include/linux/compiler.h:166:29: note: expanded from macro '__UNIQUE_ID' 166 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) | ^ include/linux/compiler_types.h:84:22: note: expanded from macro '__PASTE' 84 | #define __PASTE(a,b) ___PASTE(a,b) | ^ include/linux/compiler_types.h:83:23: note: expanded from macro '___PASTE' 83 | #define ___PASTE(a,b) a##b | ^ :42:1: note: expanded from here 42 | __UNIQUE_ID_guard697 | ^ 3 warnings and 1 error generated. vim +1173 drivers/mfd/cs40l26-core.c 1165 1166 static void cs40l26_dsp_start(struct cs40l26 *cs40l26) 1167 { 1168 int i, ret; 1169 1170 ret = cs40l26_dsp_pre_config(cs40l26); 1171 if (ret) { 1172 dev_err(cs40l26->dev, "DSP Pre Config. Failed: %d\n", ret); > 1173 goto err_fw_rls; 1174 } 1175 1176 guard(mutex)(&cs40l26->lock); 1177 1178 ret = cs_dsp_power_up_multiple(&cs40l26->dsp, cs40l26->wmfw, "cs40l26.wmfw", cs40l26_coeffs, 1179 CS40L26_NUM_COEFF_FILES, "cs40l26"); 1180 if (ret) { 1181 dev_err(cs40l26->dev, "Failed to Power Up DSP\n"); 1182 goto err_fw_rls; 1183 } 1184 1185 if (cs40l26->dsp.fw_id != CS40L26_FW_ID) { 1186 dev_err(cs40l26->dev, "Invalid firmware ID: 0x%X\n", cs40l26->dsp.fw_id); 1187 goto err_fw_rls; 1188 } 1189 1190 if (cs40l26->dsp.fw_id_version < cs40l26->variant->info->fw_min_rev) { 1191 dev_err(cs40l26->dev, "Invalid firmware revision: 0x%X\n", 1192 cs40l26->dsp.fw_id_version); 1193 goto err_fw_rls; 1194 } 1195 1196 ret = cs_dsp_run(&cs40l26->dsp); 1197 if (ret) 1198 dev_err(cs40l26->dev, "DSP Failed to run: %d\n", ret); 1199 1200 err_fw_rls: 1201 for (i = 0; i < CS40L26_NUM_COEFF_FILES; i++) 1202 release_firmware(cs40l26_coeffs[i].coeff_firmware); 1203 1204 release_firmware(cs40l26->wmfw); 1205 } 1206 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki