* [plbossart-sound:integration/soundwire-intel 26/52] drivers/soundwire/intel_init.c:214:5: error: 'struct sdw_intel_ctx' has no member named 'irq'
@ 2019-12-05 11:17 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2019-12-05 11:17 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 3367 bytes --]
tree: https://github.com/plbossart/sound integration/soundwire-intel
head: 48a6255c085fe193ab7005f7804d2a06eca23ae2
commit: b03683a8fed50d5d81af9e17cfef5188968d362e [26/52] soundwire: intel/cadence: merge Soundwire interrupt handlers/threads
config: x86_64-allyesconfig (attached as .config)
compiler: gcc-7 (Debian 7.5.0-1) 7.5.0
reproduce:
git checkout b03683a8fed50d5d81af9e17cfef5188968d362e
# save the attached .config to linux build tree
make ARCH=x86_64
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
drivers/soundwire/intel_init.c: In function 'sdw_intel_probe_controller':
>> drivers/soundwire/intel_init.c:214:5: error: 'struct sdw_intel_ctx' has no member named 'irq'
ctx->irq = res->irq;
^~
vim +214 drivers/soundwire/intel_init.c
178
179 static struct sdw_intel_ctx
180 *sdw_intel_probe_controller(struct sdw_intel_res *res)
181 {
182 struct sdw_intel_link_res *link;
183 struct sdw_intel_ctx *ctx;
184 struct acpi_device *adev;
185 struct sdw_master_device *md;
186 u32 link_mask;
187 int count;
188 int i;
189
190 if (!res)
191 return NULL;
192
193 if (acpi_bus_get_device(res->handle, &adev))
194 return NULL;
195
196 if (!res->count)
197 return NULL;
198
199 count = res->count;
200 dev_dbg(&adev->dev, "Creating %d SDW Link devices\n", count);
201
202 ctx = kzalloc(sizeof(*ctx), GFP_KERNEL);
203 if (!ctx)
204 return NULL;
205
206 ctx->links = kcalloc(count, sizeof(*ctx->links), GFP_KERNEL);
207 if (!ctx->links)
208 goto link_err;
209
210 ctx->count = count;
211 ctx->mmio_base = res->mmio_base;
212 ctx->link_mask = res->link_mask;
213 ctx->handle = res->handle;
> 214 ctx->irq = res->irq;
215
216 link = ctx->links;
217 link_mask = ctx->link_mask;
218
219 INIT_LIST_HEAD(&ctx->link_list);
220
221 /* Create SDW Master devices */
222 for (i = 0; i < count; i++, link++) {
223 if (link_mask && !(link_mask & BIT(i)))
224 continue;
225
226 md = sdw_md_add(&intel_sdw_driver,
227 res->parent,
228 acpi_fwnode_handle(adev),
229 i);
230
231 if (IS_ERR(md)) {
232 dev_err(&adev->dev, "Could not create link %d\n", i);
233 goto err;
234 }
235 link->md = md;
236 link->mmio_base = res->mmio_base;
237 link->registers = res->mmio_base + SDW_LINK_BASE
238 + (SDW_LINK_SIZE * i);
239 link->shim = res->mmio_base + SDW_SHIM_BASE;
240 link->alh = res->mmio_base + SDW_ALH_BASE;
241 link->ops = res->ops;
242 link->dev = res->dev;
243
244 /* let the SoundWire master driver to its probe */
245 md->driver->probe(md, link);
246
247 list_add_tail(&link->list, &ctx->link_list);
248 }
249
250 return ctx;
251
252 err:
253 sdw_intel_cleanup(ctx);
254 link_err:
255 kfree(ctx);
256 return NULL;
257 }
258
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org Intel Corporation
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 70303 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-12-05 11:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-05 11:17 [plbossart-sound:integration/soundwire-intel 26/52] drivers/soundwire/intel_init.c:214:5: error: 'struct sdw_intel_ctx' has no member named 'irq' kbuild 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.