From: kernel test robot <lkp@intel.com>
To: Zhu Ning <zhuning0077@gmail.com>, alsa-devel@alsa-project.org
Cc: robh@kernel.org, kbuild-all@lists.01.org,
Zhu Ning <zhuning0077@gmail.com>,
devicetree@vger.kernel.org, pierre-louis.bossart@linux.intel.com,
tiwai@suse.com, broonie@kernel.org,
David Yang <yangxiaohua@everest-semi.com>
Subject: Re: [PATCH v4 1/2] ASoC: codecs: add support for ES8326
Date: Sat, 30 Jul 2022 13:06:25 +0800 [thread overview]
Message-ID: <202207301213.IB52frif-lkp@intel.com> (raw)
In-Reply-To: <20220729090857.579785-1-zhuning0077@gmail.com>
Hi Zhu,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on broonie-sound/for-next]
[also build test ERROR on tiwai-sound/for-next linus/master v5.19-rc8 next-20220728]
[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/Zhu-Ning/ASoC-codecs-add-support-for-ES8326/20220729-171050
base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
config: ia64-randconfig-r031-20220729 (https://download.01.org/0day-ci/archive/20220730/202207301213.IB52frif-lkp@intel.com/config)
compiler: ia64-linux-gcc (GCC) 12.1.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/fa066f18e36d4d134a5e94a872c911335b148576
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Zhu-Ning/ASoC-codecs-add-support-for-ES8326/20220729-171050
git checkout fa066f18e36d4d134a5e94a872c911335b148576
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=ia64 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 >>):
In file included from arch/ia64/include/asm/pgtable.h:153,
from include/linux/pgtable.h:6,
from arch/ia64/include/asm/uaccess.h:40,
from include/linux/uaccess.h:11,
from include/linux/sched/task.h:11,
from include/linux/sched/signal.h:9,
from include/linux/rcuwait.h:6,
from include/linux/percpu-rwsem.h:7,
from include/linux/fs.h:33,
from include/linux/cgroup.h:17,
from include/linux/memcontrol.h:13,
from include/linux/swap.h:9,
from include/linux/suspend.h:5,
from include/linux/regulator/consumer.h:35,
from include/linux/i2c.h:19,
from sound/soc/codecs/es8326.c:10:
arch/ia64/include/asm/mmu_context.h: In function 'reload_context':
arch/ia64/include/asm/mmu_context.h:127:48: warning: variable 'old_rr4' set but not used [-Wunused-but-set-variable]
127 | unsigned long rr0, rr1, rr2, rr3, rr4, old_rr4;
| ^~~~~~~
In file included from include/linux/container_of.h:5,
from include/linux/kernel.h:21,
from include/linux/clk.h:13,
from sound/soc/codecs/es8326.c:9:
sound/soc/codecs/es8326.c: In function 'es8326_jack_button_handler':
include/linux/container_of.h:19:54: error: 'struct es8326_priv' has no member named 'button_press_work'
19 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \
| ^~
include/linux/build_bug.h:78:56: note: in definition of macro '__static_assert'
78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg)
| ^~~~
include/linux/container_of.h:19:9: note: in expansion of macro 'static_assert'
19 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \
| ^~~~~~~~~~~~~
include/linux/container_of.h:19:23: note: in expansion of macro '__same_type'
19 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \
| ^~~~~~~~~~~
sound/soc/codecs/es8326.c:533:17: note: in expansion of macro 'container_of'
533 | container_of(work, struct es8326_priv, button_press_work.work);
| ^~~~~~~~~~~~
>> include/linux/compiler_types.h:293:27: error: expression in static assertion is not an integer
293 | #define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:78:56: note: in definition of macro '__static_assert'
78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg)
| ^~~~
include/linux/container_of.h:19:9: note: in expansion of macro 'static_assert'
19 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \
| ^~~~~~~~~~~~~
include/linux/container_of.h:19:23: note: in expansion of macro '__same_type'
19 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \
| ^~~~~~~~~~~
sound/soc/codecs/es8326.c:533:17: note: in expansion of macro 'container_of'
533 | container_of(work, struct es8326_priv, button_press_work.work);
| ^~~~~~~~~~~~
In file included from include/uapi/linux/posix_types.h:5,
from include/uapi/linux/types.h:14,
from include/linux/types.h:6,
from include/linux/kasan-checks.h:5,
from include/asm-generic/rwonce.h:26,
from ./arch/ia64/include/generated/asm/rwonce.h:1,
from include/linux/compiler.h:248,
from include/linux/err.h:5,
from include/linux/clk.h:12:
include/linux/stddef.h:16:33: error: 'struct es8326_priv' has no member named 'button_press_work'
16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER)
| ^~~~~~~~~~~~~~~~~~
include/linux/container_of.h:22:28: note: in expansion of macro 'offsetof'
22 | ((type *)(__mptr - offsetof(type, member))); })
| ^~~~~~~~
sound/soc/codecs/es8326.c:533:17: note: in expansion of macro 'container_of'
533 | container_of(work, struct es8326_priv, button_press_work.work);
| ^~~~~~~~~~~~
sound/soc/codecs/es8326.c:543:46: error: 'ES8326_HP_DECTECT_FB' undeclared (first use in this function); did you mean 'ES8326_HP_DETECT_FB'?
543 | iface = snd_soc_component_read(comp, ES8326_HP_DECTECT_FB);
| ^~~~~~~~~~~~~~~~~~~~
| ES8326_HP_DETECT_FB
sound/soc/codecs/es8326.c:543:46: note: each undeclared identifier is reported only once for each function it appears in
sound/soc/codecs/es8326.c:574:54: error: 'struct es8326_priv' has no member named 'button_press_work'
574 | queue_delayed_work(system_wq, &es8326->button_press_work,
| ^~
sound/soc/codecs/es8326.c:579:54: error: 'struct es8326_priv' has no member named 'button_press_work'
579 | queue_delayed_work(system_wq, &es8326->button_press_work,
| ^~
sound/soc/codecs/es8326.c: In function 'es8326_jack_detect_handler':
sound/soc/codecs/es8326.c:602:46: error: 'ES8326_HP_DECTECT_FB' undeclared (first use in this function); did you mean 'ES8326_HP_DETECT_FB'?
602 | iface = snd_soc_component_read(comp, ES8326_HP_DECTECT_FB);
| ^~~~~~~~~~~~~~~~~~~~
| ES8326_HP_DETECT_FB
sound/soc/codecs/es8326.c:615:62: error: 'struct es8326_priv' has no member named 'button_press_work'
615 | queue_delayed_work(system_wq, &es8326->button_press_work, 10);
| ^~
sound/soc/codecs/es8326.c: In function 'es8326_resume':
sound/soc/codecs/es8326.c:681:14: error: 'reg' undeclared (first use in this function)
681 | if ((reg & ES8326_VERSION_B) == 1) {
| ^~~
sound/soc/codecs/es8326.c: In function 'es8326_probe':
sound/soc/codecs/es8326.c:740:41: error: 'ES8326_INT_SRC_PIN9' undeclared (first use in this function); did you mean 'ES8326_HP_DET_SRC_PIN9'?
740 | es8326->interrupt_src = ES8326_INT_SRC_PIN9;
| ^~~~~~~~~~~~~~~~~~~
| ES8326_HP_DET_SRC_PIN9
sound/soc/codecs/es8326.c: At top level:
sound/soc/codecs/es8326.c:530:13: warning: 'es8326_jack_button_handler' defined but not used [-Wunused-function]
530 | static void es8326_jack_button_handler(struct work_struct *work)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
sound/soc/codecs/es8326.c:315:42: warning: 'es8326_constraints' defined but not used [-Wunused-variable]
315 | static struct snd_pcm_hw_constraint_list es8326_constraints = {
| ^~~~~~~~~~~~~~~~~~
vim +293 include/linux/compiler_types.h
eb111869301e15b Rasmus Villemoes 2019-09-13 291
d15155824c50148 Will Deacon 2017-10-24 292 /* Are two types/vars the same type (ignoring qualifiers)? */
d15155824c50148 Will Deacon 2017-10-24 @293 #define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b))
d15155824c50148 Will Deacon 2017-10-24 294
--
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: Zhu Ning <zhuning0077@gmail.com>, alsa-devel@alsa-project.org
Cc: kbuild-all@lists.01.org, pierre-louis.bossart@linux.intel.com,
tiwai@suse.com, broonie@kernel.org, devicetree@vger.kernel.org,
robh@kernel.org, Zhu Ning <zhuning0077@gmail.com>,
David Yang <yangxiaohua@everest-semi.com>
Subject: Re: [PATCH v4 1/2] ASoC: codecs: add support for ES8326
Date: Sat, 30 Jul 2022 13:06:25 +0800 [thread overview]
Message-ID: <202207301213.IB52frif-lkp@intel.com> (raw)
In-Reply-To: <20220729090857.579785-1-zhuning0077@gmail.com>
Hi Zhu,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on broonie-sound/for-next]
[also build test ERROR on tiwai-sound/for-next linus/master v5.19-rc8 next-20220728]
[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/Zhu-Ning/ASoC-codecs-add-support-for-ES8326/20220729-171050
base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
config: ia64-randconfig-r031-20220729 (https://download.01.org/0day-ci/archive/20220730/202207301213.IB52frif-lkp@intel.com/config)
compiler: ia64-linux-gcc (GCC) 12.1.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/fa066f18e36d4d134a5e94a872c911335b148576
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Zhu-Ning/ASoC-codecs-add-support-for-ES8326/20220729-171050
git checkout fa066f18e36d4d134a5e94a872c911335b148576
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=ia64 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 >>):
In file included from arch/ia64/include/asm/pgtable.h:153,
from include/linux/pgtable.h:6,
from arch/ia64/include/asm/uaccess.h:40,
from include/linux/uaccess.h:11,
from include/linux/sched/task.h:11,
from include/linux/sched/signal.h:9,
from include/linux/rcuwait.h:6,
from include/linux/percpu-rwsem.h:7,
from include/linux/fs.h:33,
from include/linux/cgroup.h:17,
from include/linux/memcontrol.h:13,
from include/linux/swap.h:9,
from include/linux/suspend.h:5,
from include/linux/regulator/consumer.h:35,
from include/linux/i2c.h:19,
from sound/soc/codecs/es8326.c:10:
arch/ia64/include/asm/mmu_context.h: In function 'reload_context':
arch/ia64/include/asm/mmu_context.h:127:48: warning: variable 'old_rr4' set but not used [-Wunused-but-set-variable]
127 | unsigned long rr0, rr1, rr2, rr3, rr4, old_rr4;
| ^~~~~~~
In file included from include/linux/container_of.h:5,
from include/linux/kernel.h:21,
from include/linux/clk.h:13,
from sound/soc/codecs/es8326.c:9:
sound/soc/codecs/es8326.c: In function 'es8326_jack_button_handler':
include/linux/container_of.h:19:54: error: 'struct es8326_priv' has no member named 'button_press_work'
19 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \
| ^~
include/linux/build_bug.h:78:56: note: in definition of macro '__static_assert'
78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg)
| ^~~~
include/linux/container_of.h:19:9: note: in expansion of macro 'static_assert'
19 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \
| ^~~~~~~~~~~~~
include/linux/container_of.h:19:23: note: in expansion of macro '__same_type'
19 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \
| ^~~~~~~~~~~
sound/soc/codecs/es8326.c:533:17: note: in expansion of macro 'container_of'
533 | container_of(work, struct es8326_priv, button_press_work.work);
| ^~~~~~~~~~~~
>> include/linux/compiler_types.h:293:27: error: expression in static assertion is not an integer
293 | #define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:78:56: note: in definition of macro '__static_assert'
78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg)
| ^~~~
include/linux/container_of.h:19:9: note: in expansion of macro 'static_assert'
19 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \
| ^~~~~~~~~~~~~
include/linux/container_of.h:19:23: note: in expansion of macro '__same_type'
19 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \
| ^~~~~~~~~~~
sound/soc/codecs/es8326.c:533:17: note: in expansion of macro 'container_of'
533 | container_of(work, struct es8326_priv, button_press_work.work);
| ^~~~~~~~~~~~
In file included from include/uapi/linux/posix_types.h:5,
from include/uapi/linux/types.h:14,
from include/linux/types.h:6,
from include/linux/kasan-checks.h:5,
from include/asm-generic/rwonce.h:26,
from ./arch/ia64/include/generated/asm/rwonce.h:1,
from include/linux/compiler.h:248,
from include/linux/err.h:5,
from include/linux/clk.h:12:
include/linux/stddef.h:16:33: error: 'struct es8326_priv' has no member named 'button_press_work'
16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER)
| ^~~~~~~~~~~~~~~~~~
include/linux/container_of.h:22:28: note: in expansion of macro 'offsetof'
22 | ((type *)(__mptr - offsetof(type, member))); })
| ^~~~~~~~
sound/soc/codecs/es8326.c:533:17: note: in expansion of macro 'container_of'
533 | container_of(work, struct es8326_priv, button_press_work.work);
| ^~~~~~~~~~~~
sound/soc/codecs/es8326.c:543:46: error: 'ES8326_HP_DECTECT_FB' undeclared (first use in this function); did you mean 'ES8326_HP_DETECT_FB'?
543 | iface = snd_soc_component_read(comp, ES8326_HP_DECTECT_FB);
| ^~~~~~~~~~~~~~~~~~~~
| ES8326_HP_DETECT_FB
sound/soc/codecs/es8326.c:543:46: note: each undeclared identifier is reported only once for each function it appears in
sound/soc/codecs/es8326.c:574:54: error: 'struct es8326_priv' has no member named 'button_press_work'
574 | queue_delayed_work(system_wq, &es8326->button_press_work,
| ^~
sound/soc/codecs/es8326.c:579:54: error: 'struct es8326_priv' has no member named 'button_press_work'
579 | queue_delayed_work(system_wq, &es8326->button_press_work,
| ^~
sound/soc/codecs/es8326.c: In function 'es8326_jack_detect_handler':
sound/soc/codecs/es8326.c:602:46: error: 'ES8326_HP_DECTECT_FB' undeclared (first use in this function); did you mean 'ES8326_HP_DETECT_FB'?
602 | iface = snd_soc_component_read(comp, ES8326_HP_DECTECT_FB);
| ^~~~~~~~~~~~~~~~~~~~
| ES8326_HP_DETECT_FB
sound/soc/codecs/es8326.c:615:62: error: 'struct es8326_priv' has no member named 'button_press_work'
615 | queue_delayed_work(system_wq, &es8326->button_press_work, 10);
| ^~
sound/soc/codecs/es8326.c: In function 'es8326_resume':
sound/soc/codecs/es8326.c:681:14: error: 'reg' undeclared (first use in this function)
681 | if ((reg & ES8326_VERSION_B) == 1) {
| ^~~
sound/soc/codecs/es8326.c: In function 'es8326_probe':
sound/soc/codecs/es8326.c:740:41: error: 'ES8326_INT_SRC_PIN9' undeclared (first use in this function); did you mean 'ES8326_HP_DET_SRC_PIN9'?
740 | es8326->interrupt_src = ES8326_INT_SRC_PIN9;
| ^~~~~~~~~~~~~~~~~~~
| ES8326_HP_DET_SRC_PIN9
sound/soc/codecs/es8326.c: At top level:
sound/soc/codecs/es8326.c:530:13: warning: 'es8326_jack_button_handler' defined but not used [-Wunused-function]
530 | static void es8326_jack_button_handler(struct work_struct *work)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
sound/soc/codecs/es8326.c:315:42: warning: 'es8326_constraints' defined but not used [-Wunused-variable]
315 | static struct snd_pcm_hw_constraint_list es8326_constraints = {
| ^~~~~~~~~~~~~~~~~~
vim +293 include/linux/compiler_types.h
eb111869301e15b Rasmus Villemoes 2019-09-13 291
d15155824c50148 Will Deacon 2017-10-24 292 /* Are two types/vars the same type (ignoring qualifiers)? */
d15155824c50148 Will Deacon 2017-10-24 @293 #define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b))
d15155824c50148 Will Deacon 2017-10-24 294
--
0-DAY CI Kernel Test Service
https://01.org/lkp
next prev parent reply other threads:[~2022-07-30 5:07 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-29 9:08 [PATCH v4 1/2] ASoC: codecs: add support for ES8326 Zhu Ning
2022-07-29 9:08 ` Zhu Ning
2022-07-29 9:08 ` [PATCH v4 2/2] ASoC: dt-bindings: Add Everest ES8326 audio CODEC Zhu Ning
2022-07-29 9:08 ` Zhu Ning
2022-07-29 13:38 ` Rob Herring
2022-07-29 13:38 ` Rob Herring
2022-07-29 13:35 ` [PATCH v4 1/2] ASoC: codecs: add support for ES8326 Mark Brown
2022-07-29 13:35 ` Mark Brown
2022-07-30 0:20 ` kernel test robot
2022-07-30 0:20 ` kernel test robot
2022-07-30 5:06 ` kernel test robot [this message]
2022-07-30 5:06 ` kernel test robot
2022-08-14 14:24 ` 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=202207301213.IB52frif-lkp@intel.com \
--to=lkp@intel.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=kbuild-all@lists.01.org \
--cc=pierre-louis.bossart@linux.intel.com \
--cc=robh@kernel.org \
--cc=tiwai@suse.com \
--cc=yangxiaohua@everest-semi.com \
--cc=zhuning0077@gmail.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.