* Re: [PATCH 1/5] ASoC: codecs: va-macro: Rework version checking [not found] <20250924-knp-audio-v1-1-5afa926b567c@oss.qualcomm.com> @ 2025-09-26 5:36 ` kernel test robot 2025-09-26 8:50 ` Konrad Dybcio 0 siblings, 1 reply; 3+ messages in thread From: kernel test robot @ 2025-09-26 5:36 UTC (permalink / raw) To: Jingyi Wang, Srinivas Kandagatla, Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Rao Mandadapu Cc: llvm, oe-kbuild-all, aiqun.yu, tingwei.zhang, trilok.soni, yijie.yang, linux-sound, linux-arm-msm, linux-kernel, devicetree, Jingyi Wang, Konrad Dybcio, Prasad Kumpatla Hi Jingyi, kernel test robot noticed the following build errors: [auto build test ERROR on ae2d20002576d2893ecaff25db3d7ef9190ac0b6] url: https://github.com/intel-lab-lkp/linux/commits/Jingyi-Wang/ASoC-codecs-va-macro-Rework-version-checking/20250925-080338 base: ae2d20002576d2893ecaff25db3d7ef9190ac0b6 patch link: https://lore.kernel.org/r/20250924-knp-audio-v1-1-5afa926b567c%40oss.qualcomm.com patch subject: [PATCH 1/5] ASoC: codecs: va-macro: Rework version checking config: i386-buildonly-randconfig-001-20250926 (https://download.01.org/0day-ci/archive/20250926/202509261315.O9CiiXjb-lkp@intel.com/config) compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250926/202509261315.O9CiiXjb-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 <lkp@intel.com> | Closes: https://lore.kernel.org/oe-kbuild-all/202509261315.O9CiiXjb-lkp@intel.com/ All errors (new ones prefixed by >>): >> sound/soc/codecs/lpass-va-macro.c:1479:8: error: call to undeclared function 'FIELD_GET'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1479 | maj = FIELD_GET(CORE_ID_0_REV_MAJ, val); | ^ 1 error generated. vim +/FIELD_GET +1479 sound/soc/codecs/lpass-va-macro.c 1471 1472 static int va_macro_set_lpass_codec_version(struct va_macro *va) 1473 { 1474 int version = LPASS_CODEC_VERSION_UNKNOWN; 1475 u32 maj, min, step; 1476 u32 val; 1477 1478 regmap_read(va->regmap, CDC_VA_TOP_CSR_CORE_ID_0, &val); > 1479 maj = FIELD_GET(CORE_ID_0_REV_MAJ, val); 1480 1481 regmap_read(va->regmap, CDC_VA_TOP_CSR_CORE_ID_1, &val); 1482 if (!FIELD_GET(CORE_ID_1_HAS_VAMACRO, val)) { 1483 dev_err(va->dev, "This is not a VA macro instance\n"); 1484 return -ENODEV; 1485 } 1486 1487 regmap_read(va->regmap, CDC_VA_TOP_CSR_CORE_ID_2, &val); 1488 min = FIELD_GET(CORE_ID_2_REV_MIN, val); 1489 step = FIELD_GET(CORE_ID_2_REV_STEP, val); 1490 1491 if (maj == 1) { 1492 version = LPASS_CODEC_VERSION_2_0; 1493 } else if (maj == 2) { 1494 switch (min) { 1495 case 0: 1496 version = LPASS_CODEC_VERSION_2_0; 1497 break; 1498 case 5: 1499 version = LPASS_CODEC_VERSION_2_5; 1500 break; 1501 case 6: 1502 version = LPASS_CODEC_VERSION_2_6; 1503 break; 1504 case 7: 1505 version = LPASS_CODEC_VERSION_2_7; 1506 break; 1507 case 8: 1508 version = LPASS_CODEC_VERSION_2_8; 1509 break; 1510 case 9: 1511 version = LPASS_CODEC_VERSION_2_9; 1512 break; 1513 default: 1514 break; 1515 } 1516 } 1517 1518 if (version == LPASS_CODEC_VERSION_UNKNOWN) { 1519 dev_err(va->dev, "VA Macro v%u.%u.%u is not supported\n", 1520 maj, min, step); 1521 return -EOPNOTSUPP; 1522 } 1523 1524 lpass_macro_set_codec_version(version); 1525 1526 dev_dbg(va->dev, "LPASS Codec Version %s\n", lpass_macro_get_codec_version_string(version)); 1527 1528 return 0; 1529 } 1530 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 1/5] ASoC: codecs: va-macro: Rework version checking 2025-09-26 5:36 ` [PATCH 1/5] ASoC: codecs: va-macro: Rework version checking kernel test robot @ 2025-09-26 8:50 ` Konrad Dybcio 2025-09-29 5:43 ` Jingyi Wang 0 siblings, 1 reply; 3+ messages in thread From: Konrad Dybcio @ 2025-09-26 8:50 UTC (permalink / raw) To: kernel test robot, Jingyi Wang, Srinivas Kandagatla, Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Rao Mandadapu Cc: llvm, oe-kbuild-all, aiqun.yu, tingwei.zhang, trilok.soni, yijie.yang, linux-sound, linux-arm-msm, linux-kernel, devicetree, Prasad Kumpatla On 9/26/25 7:36 AM, kernel test robot wrote: > Hi Jingyi, > > kernel test robot noticed the following build errors: > > [auto build test ERROR on ae2d20002576d2893ecaff25db3d7ef9190ac0b6] > > url: https://github.com/intel-lab-lkp/linux/commits/Jingyi-Wang/ASoC-codecs-va-macro-Rework-version-checking/20250925-080338 > base: ae2d20002576d2893ecaff25db3d7ef9190ac0b6 > patch link: https://lore.kernel.org/r/20250924-knp-audio-v1-1-5afa926b567c%40oss.qualcomm.com > patch subject: [PATCH 1/5] ASoC: codecs: va-macro: Rework version checking > config: i386-buildonly-randconfig-001-20250926 (https://download.01.org/0day-ci/archive/20250926/202509261315.O9CiiXjb-lkp@intel.com/config) > compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261) > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250926/202509261315.O9CiiXjb-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 <lkp@intel.com> > | Closes: https://lore.kernel.org/oe-kbuild-all/202509261315.O9CiiXjb-lkp@intel.com/ > > All errors (new ones prefixed by >>): > >>> sound/soc/codecs/lpass-va-macro.c:1479:8: error: call to undeclared function 'FIELD_GET'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] > 1479 | maj = FIELD_GET(CORE_ID_0_REV_MAJ, val); Jingyi, could you please add: #include <linux/bitfield.h> when resending? Konrad ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 1/5] ASoC: codecs: va-macro: Rework version checking 2025-09-26 8:50 ` Konrad Dybcio @ 2025-09-29 5:43 ` Jingyi Wang 0 siblings, 0 replies; 3+ messages in thread From: Jingyi Wang @ 2025-09-29 5:43 UTC (permalink / raw) To: Konrad Dybcio, kernel test robot, Srinivas Kandagatla, Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Rao Mandadapu Cc: llvm, oe-kbuild-all, aiqun.yu, tingwei.zhang, trilok.soni, yijie.yang, linux-sound, linux-arm-msm, linux-kernel, devicetree, Prasad Kumpatla On 9/26/2025 4:50 PM, Konrad Dybcio wrote: > On 9/26/25 7:36 AM, kernel test robot wrote: >> Hi Jingyi, >> >> kernel test robot noticed the following build errors: >> >> [auto build test ERROR on ae2d20002576d2893ecaff25db3d7ef9190ac0b6] >> >> url: https://github.com/intel-lab-lkp/linux/commits/Jingyi-Wang/ASoC-codecs-va-macro-Rework-version-checking/20250925-080338 >> base: ae2d20002576d2893ecaff25db3d7ef9190ac0b6 >> patch link: https://lore.kernel.org/r/20250924-knp-audio-v1-1-5afa926b567c%40oss.qualcomm.com >> patch subject: [PATCH 1/5] ASoC: codecs: va-macro: Rework version checking >> config: i386-buildonly-randconfig-001-20250926 (https://download.01.org/0day-ci/archive/20250926/202509261315.O9CiiXjb-lkp@intel.com/config) >> compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261) >> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250926/202509261315.O9CiiXjb-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 <lkp@intel.com> >> | Closes: https://lore.kernel.org/oe-kbuild-all/202509261315.O9CiiXjb-lkp@intel.com/ >> >> All errors (new ones prefixed by >>): >> >>>> sound/soc/codecs/lpass-va-macro.c:1479:8: error: call to undeclared function 'FIELD_GET'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] >> 1479 | maj = FIELD_GET(CORE_ID_0_REV_MAJ, val); > > Jingyi, could you please add: > > #include <linux/bitfield.h> > > when resending? > > Konrad Will add in next version. Thanks, Jingyi ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-09-29 5:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20250924-knp-audio-v1-1-5afa926b567c@oss.qualcomm.com>
2025-09-26 5:36 ` [PATCH 1/5] ASoC: codecs: va-macro: Rework version checking kernel test robot
2025-09-26 8:50 ` Konrad Dybcio
2025-09-29 5:43 ` Jingyi Wang
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox