* [linux-sof-driver:pr/2264 1/5] drivers/bus/ancillary_bus.c:136:18: error: 'struct device' has no member named 'dev'; did you mean
@ 2020-07-25 0:48 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-07-25 0:48 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 2402 bytes --]
tree: https://github.com/thesofproject/linux pr/2264
head: a0256c65ee98c552e0eb02fff6f93450dcaf1d1a
commit: a775a2e67dbb98122e5144b9fb7c15fc8902589f [1/5] Add ancillary bus support
config: arm64-sof-customedconfig-sof-defconfig (attached as .config)
compiler: aarch64-linux-gcc (GCC) 9.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
git checkout a775a2e67dbb98122e5144b9fb7c15fc8902589f
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
Note: the linux-sof-driver/pr/2264 HEAD a0256c65ee98c552e0eb02fff6f93450dcaf1d1a builds fine.
It only hurts bisectibility.
All errors (new ones prefixed by >>):
In file included from include/linux/device.h:15,
from include/linux/acpi.h:15,
from drivers/bus/ancillary_bus.c:10:
drivers/bus/ancillary_bus.c: In function 'ancillary_probe_driver':
>> drivers/bus/ancillary_bus.c:136:18: error: 'struct device' has no member named 'dev'; did you mean 'devt'?
136 | dev_warn(&dev->dev, "Failed to attach to PM Domain : %d\n", ret);
| ^~~
include/linux/dev_printk.h:106:12: note: in definition of macro 'dev_warn'
106 | _dev_warn(dev, dev_fmt(fmt), ##__VA_ARGS__)
| ^~~
vim +136 drivers/bus/ancillary_bus.c
127
128 static int ancillary_probe_driver(struct device *dev)
129 {
130 struct ancillary_driver *adrv = to_ancillary_drv(dev->driver);
131 struct ancillary_device *adev = to_ancillary_dev(dev);
132 int ret;
133
134 ret = dev_pm_domain_attach(dev, true);
135 if (ret) {
> 136 dev_warn(&dev->dev, "Failed to attach to PM Domain : %d\n", ret);
137 return ret;
138 }
139
140 ret = adrv->probe(adev);
141 if (ret) {
142 dev_err(&adev->dev, "Probe returned error %d\n", ret);
143 dev_pm_domain_detach(dev, true);
144 }
145
146 return ret;
147 }
148
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 42898 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-07-25 0:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-25 0:48 [linux-sof-driver:pr/2264 1/5] drivers/bus/ancillary_bus.c:136:18: error: 'struct device' has no member named 'dev'; did you mean kernel test robot
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.