[lkml]   [2020]   [Mar]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 1/2] remoteproc: Add userspace char device driver
Hi Rishabh,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on linus/master]
[also build test ERROR on linux/master v5.6-rc7]
[cannot apply to next-20200326]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see]

base: 9420e8ade4353a6710908ffafa23ecaf1caa0123
config: m68k-allmodconfig (attached as .config)
compiler: m68k-linux-gcc (GCC) 9.2.0
wget -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
GCC_VERSION=9.2.0 make.cross ARCH=m68k

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <>

All errors (new ones prefixed by >>):

>> drivers/remoteproc/remoteproc_userspace.c:31:12: error: conflicting types for 'rproc_release'
31 | static int rproc_release(struct inode *inode, struct file *file)
| ^~~~~~~~~~~~~
In file included from drivers/remoteproc/remoteproc_userspace.c:14:
drivers/remoteproc/remoteproc_internal.h:28:6: note: previous declaration of 'rproc_release' was here
28 | void rproc_release(struct kref *kref);
| ^~~~~~~~~~~~~

vim +/rproc_release +31 drivers/remoteproc/remoteproc_userspace.c

> 31 static int rproc_release(struct inode *inode, struct file *file)
32 {
33 struct rproc *rproc;
35 rproc = container_of(inode->i_cdev, struct rproc, char_dev);
36 if (!rproc)
37 return -EINVAL;
39 rproc_shutdown(rproc);
41 return 0;
42 }

0-DAY CI Kernel Test Service, Intel Corporation
[unhandled content-type:application/gzip]
 \ /
  Last update: 2020-03-27 05:01    [W:0.191 / U:4.888 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site