Re: [PATCH v1 1/3] ASoC: rt5677: Use agnostic irq_domain_create_linear()
From: kernel test robot
Date: Thu Jun 29 2023 - 13:56:07 EST
Hi Andy,
kernel test robot noticed the following build errors:
[auto build test ERROR on broonie-sound/for-next]
[also build test ERROR on linus/master v6.4 next-20230629]
[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/Andy-Shevchenko/ASoC-rt5677-Use-agnostic-irq_domain_create_linear/20230629-184911
base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
patch link: https://lore.kernel.org/r/20230629104603.88612-2-andriy.shevchenko%40linux.intel.com
patch subject: [PATCH v1 1/3] ASoC: rt5677: Use agnostic irq_domain_create_linear()
config: i386-allyesconfig (https://download.01.org/0day-ci/archive/20230630/202306300102.yMAJ3kZt-lkp@xxxxxxxxx/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce: (https://download.01.org/0day-ci/archive/20230630/202306300102.yMAJ3kZt-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202306300102.yMAJ3kZt-lkp@xxxxxxxxx/
All errors (new ones prefixed by >>):
In file included from include/linux/acpi.h:16,
from sound/soc/codecs/rt5677.c:9:
sound/soc/codecs/rt5677.c: In function 'rt5677_init_irq':
>> include/linux/property.h:38:18: error: '_Generic' selector of type 'struct device' is not compatible with any association
38 | _Generic((dev), \
| ^
sound/soc/codecs/rt5677.c:5542:51: note: in expansion of macro 'dev_fwnode'
5542 | rt5677->domain = irq_domain_create_linear(dev_fwnode(i2c->dev),
| ^~~~~~~~~~
vim +38 include/linux/property.h
1b9863c6aa56d9 Suthikulpanit, Suravee 2015-10-28 34
b295d484b97081 Andy Shevchenko 2022-10-04 35 const struct fwnode_handle *__dev_fwnode_const(const struct device *dev);
b295d484b97081 Andy Shevchenko 2022-10-04 36 struct fwnode_handle *__dev_fwnode(struct device *dev);
b295d484b97081 Andy Shevchenko 2022-10-04 37 #define dev_fwnode(dev) \
b295d484b97081 Andy Shevchenko 2022-10-04 @38 _Generic((dev), \
b295d484b97081 Andy Shevchenko 2022-10-04 39 const struct device *: __dev_fwnode_const, \
b295d484b97081 Andy Shevchenko 2022-10-04 40 struct device *: __dev_fwnode)(dev)
e44bb0cbdc8868 Sakari Ailus 2017-03-28 41
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki