From: kernel test robot <lkp@intel.com>
To: Stefan Binding <sbinding@opensource.cirrus.com>,
"Rafael J . Wysocki" <rafael@kernel.org>,
Len Brown <lenb@kernel.org>, Mark Brown <broonie@kernel.org>,
Liam Girdwood <lgirdwood@gmail.com>
Cc: alsa-devel@alsa-project.org, kbuild-all@lists.01.org,
patches@opensource.cirrus.com, linux-kernel@vger.kernel.org,
Stefan Binding <sbinding@opensource.cirrus.com>,
linux-acpi@vger.kernel.org
Subject: Re: [PATCH v1 2/2] ASoC: cs35l41: Read System Name from ACPI _SUB to identify firmware
Date: Thu, 23 Jun 2022 12:01:39 +0800 [thread overview]
Message-ID: <202206231108.xPflWTbR-lkp@intel.com> (raw)
In-Reply-To: <20220622130730.1573747-3-sbinding@opensource.cirrus.com>
Hi Stefan,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on rafael-pm/linux-next]
[also build test ERROR on broonie-sound/for-next linus/master v5.19-rc3 next-20220622]
[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]
url: https://github.com/intel-lab-lkp/linux/commits/Stefan-Binding/Read-_SUB-from-ACPI-to-be-able-to-identify-firmware/20220622-211004
base: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git linux-next
config: sparc64-randconfig-r002-20220622 (https://download.01.org/0day-ci/archive/20220623/202206231108.xPflWTbR-lkp@intel.com/config)
compiler: sparc64-linux-gcc (GCC) 11.3.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/338eadc59e88d60759ea445011a6537222b233e3
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Stefan-Binding/Read-_SUB-from-ACPI-to-be-able-to-identify-firmware/20220622-211004
git checkout 338eadc59e88d60759ea445011a6537222b233e3
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=sparc64 SHELL=/bin/bash sound/soc/codecs/
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
sound/soc/codecs/cs35l41.c: In function 'cs35l41_probe_acpi':
>> sound/soc/codecs/cs35l41.c:1157:32: error: invalid use of undefined type 'struct acpi_device'
1157 | ret = acpi_get_sub(adev->handle, sub, sizeof(sub));
| ^~
vim +1157 sound/soc/codecs/cs35l41.c
1145
1146 static int cs35l41_probe_acpi(struct cs35l41_private *cs35l41)
1147 {
1148 struct acpi_device *adev;
1149 int ret;
1150 char sub[ACPI_MAX_SUB_BUF_SIZE];
1151
1152 adev = ACPI_COMPANION(cs35l41->dev);
1153 /* If there is no ACPI_COMPANION, there is no ACPI for this system, return 0 */
1154 if (!adev)
1155 return 0;
1156
> 1157 ret = acpi_get_sub(adev->handle, sub, sizeof(sub));
1158 if (ret < 0)
1159 return ret;
1160
1161 cs35l41->dsp.system_name = devm_kstrdup(cs35l41->dev, sub, GFP_KERNEL);
1162 if (!cs35l41->dsp.system_name)
1163 return -ENOMEM;
1164
1165 return 0;
1166 }
1167
--
0-DAY CI Kernel Test Service
https://01.org/lkp
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Stefan Binding <sbinding@opensource.cirrus.com>,
"Rafael J . Wysocki" <rafael@kernel.org>,
Len Brown <lenb@kernel.org>, Mark Brown <broonie@kernel.org>,
Liam Girdwood <lgirdwood@gmail.com>
Cc: kbuild-all@lists.01.org, linux-acpi@vger.kernel.org,
alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org,
patches@opensource.cirrus.com,
Stefan Binding <sbinding@opensource.cirrus.com>
Subject: Re: [PATCH v1 2/2] ASoC: cs35l41: Read System Name from ACPI _SUB to identify firmware
Date: Thu, 23 Jun 2022 12:01:39 +0800 [thread overview]
Message-ID: <202206231108.xPflWTbR-lkp@intel.com> (raw)
In-Reply-To: <20220622130730.1573747-3-sbinding@opensource.cirrus.com>
Hi Stefan,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on rafael-pm/linux-next]
[also build test ERROR on broonie-sound/for-next linus/master v5.19-rc3 next-20220622]
[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]
url: https://github.com/intel-lab-lkp/linux/commits/Stefan-Binding/Read-_SUB-from-ACPI-to-be-able-to-identify-firmware/20220622-211004
base: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git linux-next
config: sparc64-randconfig-r002-20220622 (https://download.01.org/0day-ci/archive/20220623/202206231108.xPflWTbR-lkp@intel.com/config)
compiler: sparc64-linux-gcc (GCC) 11.3.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/338eadc59e88d60759ea445011a6537222b233e3
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Stefan-Binding/Read-_SUB-from-ACPI-to-be-able-to-identify-firmware/20220622-211004
git checkout 338eadc59e88d60759ea445011a6537222b233e3
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=sparc64 SHELL=/bin/bash sound/soc/codecs/
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
sound/soc/codecs/cs35l41.c: In function 'cs35l41_probe_acpi':
>> sound/soc/codecs/cs35l41.c:1157:32: error: invalid use of undefined type 'struct acpi_device'
1157 | ret = acpi_get_sub(adev->handle, sub, sizeof(sub));
| ^~
vim +1157 sound/soc/codecs/cs35l41.c
1145
1146 static int cs35l41_probe_acpi(struct cs35l41_private *cs35l41)
1147 {
1148 struct acpi_device *adev;
1149 int ret;
1150 char sub[ACPI_MAX_SUB_BUF_SIZE];
1151
1152 adev = ACPI_COMPANION(cs35l41->dev);
1153 /* If there is no ACPI_COMPANION, there is no ACPI for this system, return 0 */
1154 if (!adev)
1155 return 0;
1156
> 1157 ret = acpi_get_sub(adev->handle, sub, sizeof(sub));
1158 if (ret < 0)
1159 return ret;
1160
1161 cs35l41->dsp.system_name = devm_kstrdup(cs35l41->dev, sub, GFP_KERNEL);
1162 if (!cs35l41->dsp.system_name)
1163 return -ENOMEM;
1164
1165 return 0;
1166 }
1167
--
0-DAY CI Kernel Test Service
https://01.org/lkp
next prev parent reply other threads:[~2022-06-23 4:03 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-22 13:07 [PATCH v1 0/2] Read _SUB from ACPI to be able to identify firmware Stefan Binding
2022-06-22 13:07 ` Stefan Binding
2022-06-22 13:07 ` [PATCH v1 1/2] ACPI: utils: Add api to read _SUB from ACPI Stefan Binding
2022-06-22 13:07 ` Stefan Binding
2022-06-22 13:19 ` Rafael J. Wysocki
2022-06-22 13:19 ` Rafael J. Wysocki
2022-06-22 21:00 ` kernel test robot
2022-06-22 21:00 ` kernel test robot
2022-06-22 21:10 ` kernel test robot
2022-06-22 21:10 ` kernel test robot
2022-06-22 13:07 ` [PATCH v1 2/2] ASoC: cs35l41: Read System Name from ACPI _SUB to identify firmware Stefan Binding
2022-06-22 13:07 ` Stefan Binding
2022-06-23 4:01 ` kernel test robot [this message]
2022-06-23 4:01 ` kernel test robot
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=202206231108.xPflWTbR-lkp@intel.com \
--to=lkp@intel.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=kbuild-all@lists.01.org \
--cc=lenb@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=patches@opensource.cirrus.com \
--cc=rafael@kernel.org \
--cc=sbinding@opensource.cirrus.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.