lkml.org 
[lkml]   [2016]   [Jul]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v6 01/18] remoteproc: st_slim_rproc: add a slimcore rproc driver
Hi,

[auto build test WARNING on robh/for-next]
[also build test WARNING on v4.7-rc6 next-20160706]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url: https://github.com/0day-ci/linux/commits/Peter-Griffin/Add-support-for-FDMA-DMA-controller-and-slim-core-rproc-found-on-STi-chipsets/20160706-170304
base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
config: m68k-allyesconfig (attached as .config)
compiler: m68k-linux-gcc (GCC) 4.9.0
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=m68k

All warnings (new ones prefixed by >>):

drivers/remoteproc/st_slim_rproc.c: In function 'slim_rproc_alloc':
>> drivers/remoteproc/st_slim_rproc.c:288:10: warning: assignment discards 'const' qualifier from pointer target type
elf_ops = rproc->fw_ops;
^

vim +/const +288 drivers/remoteproc/st_slim_rproc.c

272 if (WARN_ON(!np || !fw_name))
273 return ERR_PTR(-EINVAL);
274
275 if (!of_device_is_compatible(np, "st,slim-rproc"))
276 return ERR_PTR(-EINVAL);
277
278 rproc = rproc_alloc(dev, np->name, &slim_rproc_ops,
279 fw_name, sizeof(*slim_rproc));
280 if (!rproc)
281 return ERR_PTR(-ENOMEM);
282
283 rproc->has_iommu = false;
284
285 slim_rproc = rproc->priv;
286 slim_rproc->rproc = rproc;
287
> 288 elf_ops = rproc->fw_ops;
289 /* Use some generic elf ops */
290 slim_rproc_fw_ops.load = elf_ops->load;
291 slim_rproc_fw_ops.sanity_check = elf_ops->sanity_check;
292
293 rproc->fw_ops = &slim_rproc_fw_ops;
294
295 /* get imem and dmem */
296 for (i = 0; i < ARRAY_SIZE(mem_names); i++) {

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[unhandled content-type:application/octet-stream]
\
 
 \ /
  Last update: 2016-07-06 13:01    [W:0.106 / U:14.420 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site