Linux ARM-MSM sub-architecture
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Jingyi Wang <jingyi.wang@oss.qualcomm.com>,
	Srinivas Kandagatla <srini@kernel.org>,
	Liam Girdwood <lgirdwood@gmail.com>,
	Mark Brown <broonie@kernel.org>, Jaroslav Kysela <perex@perex.cz>,
	Takashi Iwai <tiwai@suse.com>, Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Rao Mandadapu <quic_srivasam@quicinc.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
	aiqun.yu@oss.qualcomm.com, tingwei.zhang@oss.qualcomm.com,
	trilok.soni@oss.qualcomm.com, yijie.yang@oss.qualcomm.com,
	linux-sound@vger.kernel.org, linux-arm-msm@vger.kernel.org,
	linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
	Jingyi Wang <jingyi.wang@oss.qualcomm.com>,
	Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>,
	Prasad Kumpatla <prasad.kumpatla@oss.qualcomm.com>
Subject: Re: [PATCH 1/5] ASoC: codecs: va-macro: Rework version checking
Date: Fri, 26 Sep 2025 13:36:24 +0800	[thread overview]
Message-ID: <202509261315.O9CiiXjb-lkp@intel.com> (raw)
In-Reply-To: <20250924-knp-audio-v1-1-5afa926b567c@oss.qualcomm.com>

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

  reply	other threads:[~2025-09-26  5:37 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-25  0:01 [PATCH 0/5] Add Audio Support for Kaanapali MTP Boards Jingyi Wang
2025-09-25  0:01 ` [PATCH 1/5] ASoC: codecs: va-macro: Rework version checking Jingyi Wang
2025-09-26  5:36   ` kernel test robot [this message]
2025-09-26  8:50     ` Konrad Dybcio
2025-09-29  5:43       ` Jingyi Wang
2025-09-25  0:01 ` [PATCH 2/5] ASoC: dt-bindings: qcom,sm8250: Add kaanapali sound card Jingyi Wang
2025-10-09 10:40   ` Krzysztof Kozlowski
2025-09-25  0:01 ` [PATCH 3/5] ASoC: qcom: sc8280xp: Add support for Kaanapali Jingyi Wang
2025-09-25  2:59   ` Dmitry Baryshkov
2025-09-29 10:09     ` Prasad Kumpatla
2025-10-09 10:41   ` Krzysztof Kozlowski
2025-09-25  0:01 ` [PATCH 4/5] dt-bindings: soundwire: qcom: Add SoundWire v2.2.0 compatible Jingyi Wang
2025-10-09 10:42   ` Krzysztof Kozlowski
2025-09-25  0:01 ` [PATCH 5/5] ASoC: dt-bindings: qcom: Add Kaanapali LPASS macro codecs Jingyi Wang
2025-10-09 10:43   ` Krzysztof Kozlowski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202509261315.O9CiiXjb-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=aiqun.yu@oss.qualcomm.com \
    --cc=broonie@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=jingyi.wang@oss.qualcomm.com \
    --cc=konrad.dybcio@oss.qualcomm.com \
    --cc=krzk@kernel.org \
    --cc=lgirdwood@gmail.com \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sound@vger.kernel.org \
    --cc=llvm@lists.linux.dev \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=perex@perex.cz \
    --cc=prasad.kumpatla@oss.qualcomm.com \
    --cc=quic_srivasam@quicinc.com \
    --cc=robh@kernel.org \
    --cc=srini@kernel.org \
    --cc=tingwei.zhang@oss.qualcomm.com \
    --cc=tiwai@suse.com \
    --cc=trilok.soni@oss.qualcomm.com \
    --cc=yijie.yang@oss.qualcomm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox