tree:
https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-4.19
head: 2c22eec4e174bf5204d73a6905352984ca26a442
commit: c72bdf0b2b197472f12253484fe3ed8890a9ec69 [48/67] UPSTREAM: ASoC: SOF: Intel: bdw:
Use generic function for fw ready / mem windows creation
config: parisc-allyesconfig (attached as .config)
compiler: hppa-linux-gcc (GCC) 9.2.0
reproduce:
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout c72bdf0b2b197472f12253484fe3ed8890a9ec69
# save the attached .config to linux build tree
GCC_VERSION=9.2.0 make.cross ARCH=parisc
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
Note: the chrome-os/chromeos-4.19 HEAD 2c22eec4e174bf5204d73a6905352984ca26a442 builds
fine.
It only hurts bisectibility.
All errors (new ones prefixed by >>):
> sound/soc/sof/intel/bdw.c:546:14: error: 'sof_fw_ready'
undeclared here (not in a function); did you mean 'sof_io_read'?
546 |
.fw_ready = sof_fw_ready,
| ^~~~~~~~~~~~
| sof_io_read
> sound/soc/sof/intel/bdw.c:547:3: error: 'const struct
snd_sof_dsp_ops' has no member named 'get_mailbox_offset'
547 |
.get_mailbox_offset = bdw_get_mailbox_offset,
| ^~~~~~~~~~~~~~~~~~
> sound/soc/sof/intel/bdw.c:547:24: error: initialization of
'int (*)(struct snd_sof_dev *, struct snd_pcm_substream *)' from incompatible
pointer type 'int (*)(struct snd_sof_dev *)' [-Werror=incompatible-pointer-types]
547 | .get_mailbox_offset = bdw_get_mailbox_offset,
| ^~~~~~~~~~~~~~~~~~~~~~
sound/soc/sof/intel/bdw.c:547:24: note: (near initialization for
'sof_bdw_ops.pcm_open')
> sound/soc/sof/intel/bdw.c:548:3: error: 'const struct
snd_sof_dsp_ops' has no member named 'get_window_offset'
548 |
.get_window_offset = bdw_get_window_offset,
| ^~~~~~~~~~~~~~~~~
> sound/soc/sof/intel/bdw.c:548:23: error: initialization of
'int (*)(struct snd_sof_dev *, struct snd_pcm_substream *)' from incompatible
pointer type 'int (*)(struct snd_sof_dev *, u32)' {aka 'int (*)(struct
snd_sof_dev *, unsigned int)'} [-Werror=incompatible-pointer-types]
548 |
.get_window_offset = bdw_get_window_offset,
| ^~~~~~~~~~~~~~~~~~~~~
sound/soc/sof/intel/bdw.c:548:23: note: (near initialization for
'sof_bdw_ops.pcm_close')
cc1: some warnings being treated as errors
vim +546 sound/soc/sof/intel/bdw.c
524
525 /* broadwell ops */
526 const struct snd_sof_dsp_ops sof_bdw_ops = {
527 /*Device init */
528 .probe = bdw_probe,
529
530 /* DSP Core Control */
531 .run = bdw_run,
532 .reset = bdw_reset,
533
534 /* Register IO */
535 .write = sof_io_write,
536 .read = sof_io_read,
537 .write64 = sof_io_write64,
538 .read64 = sof_io_read64,
539
540 /* Block IO */
541 .block_read = sof_block_read,
542 .block_write = sof_block_write,
543
544 /* ipc */
545 .send_msg = bdw_send_msg,
546 .fw_ready = sof_fw_ready,
547 .get_mailbox_offset = bdw_get_mailbox_offset,
548 .get_window_offset = bdw_get_window_offset,
549
550 .ipc_msg_data = intel_ipc_msg_data,
551 .ipc_pcm_params = intel_ipc_pcm_params,
552
553 /* debug */
554 .debug_map = bdw_debugfs,
555 .debug_map_count = ARRAY_SIZE(bdw_debugfs),
556 .dbg_dump = bdw_dump,
557
558 /* stream callbacks */
559 .pcm_open = intel_pcm_open,
560 .pcm_close = intel_pcm_close,
561
562 /* Module loading */
563 .load_module = snd_sof_parse_module_memcpy,
564
565 /*Firmware loading */
566 .load_firmware = snd_sof_load_firmware_memcpy,
567
568 /* DAI drivers */
569 .drv = bdw_dai,
570 .num_drv = ARRAY_SIZE(bdw_dai)
571 };
572 EXPORT_SYMBOL(sof_bdw_ops);
573
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org