From: kbuild test robot <lkp@intel.com>
To: Arun Kumar Neelakantam <aneela@codeaurora.org>
Cc: kbuild-all@lists.01.org, ohad@wizery.com,
bjorn.andersson@linaro.org, clew@codeaurora.org,
sricharan@codeaurora.org, linux-remoteproc@vger.kernel.org,
linux-kernel@vger.kernel.org,
Arun Kumar Neelakantam <aneela@codeaurora.org>
Subject: Re: [RESEND PATCH V4 3/4] rpmsg: char: Add TIOCMGET/TIOCMSET ioctl support
Date: Sun, 24 Nov 2019 20:18:32 +0800 [thread overview]
Message-ID: <201911242001.9aRbqxwM%lkp@intel.com> (raw)
In-Reply-To: <0101016e929447ec-0bd67225-9152-4bcd-945e-ebd39a0110d5-000000@us-west-2.amazonses.com>
[-- Attachment #1: Type: text/plain, Size: 2399 bytes --]
Hi Arun,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on linus/master]
[also build test WARNING on v5.4-rc8 next-20191122]
[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 https://stackoverflow.com/a/37406982]
url: https://github.com/0day-ci/linux/commits/Arun-Kumar-Neelakantam/rpmsg-core-Add-signal-API-support/20191124-174653
base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 6b8a794678763130b7e7d049985008641dc494e8
config: riscv-defconfig (attached as .config)
compiler: riscv64-linux-gcc (GCC) 7.4.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
GCC_VERSION=7.4.0 make.cross ARCH=riscv
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
drivers/rpmsg/rpmsg_char.c: In function 'rpmsg_eptdev_ioctl':
>> drivers/rpmsg/rpmsg_char.c:324:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
ret = rpmsg_eptdev_destroy(&eptdev->dev, NULL);
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/rpmsg/rpmsg_char.c:325:2: note: here
default:
^~~~~~~
vim +324 drivers/rpmsg/rpmsg_char.c
305
306 static long rpmsg_eptdev_ioctl(struct file *fp, unsigned int cmd,
307 unsigned long arg)
308 {
309 struct rpmsg_eptdev *eptdev = fp->private_data;
310 int ret;
311
312 switch (cmd) {
313 case TIOCMGET:
314 ret = rpmsg_get_signals(eptdev->ept);
315 if (ret >= 0)
316 ret = put_user(ret, (int __user *)arg);
317 break;
318 case TIOCMSET:
319 case TIOCMBIS:
320 case TIOCMBIC:
321 ret = rpmsg_eptdev_tiocmset(fp, cmd, (int __user *)arg);
322 break;
323 case RPMSG_DESTROY_EPT_IOCTL:
> 324 ret = rpmsg_eptdev_destroy(&eptdev->dev, NULL);
325 default:
326 ret = -EINVAL;
327 }
328
329 return ret;
330 }
331
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 18623 bytes --]
next prev parent reply other threads:[~2019-11-24 12:19 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1574417197-27817-1-git-send-email-aneela@codeaurora.org>
2019-11-22 10:06 ` [RESEND PATCH V4 1/4] rpmsg: core: Add signal API support Arun Kumar Neelakantam
2019-11-22 10:06 ` [RESEND PATCH V4 2/4] rpmsg: glink: Add support to handle signals command Arun Kumar Neelakantam
2019-11-22 10:07 ` [RESEND PATCH V4 3/4] rpmsg: char: Add TIOCMGET/TIOCMSET ioctl support Arun Kumar Neelakantam
2019-11-24 12:18 ` kbuild test robot [this message]
2019-11-22 10:07 ` [RESEND PATCH V4 4/4] rpmsg: char: Add signal callback and POLLPRI support Arun Kumar Neelakantam
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201911242001.9aRbqxwM%lkp@intel.com \
--to=lkp@intel.com \
--cc=aneela@codeaurora.org \
--cc=bjorn.andersson@linaro.org \
--cc=clew@codeaurora.org \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-remoteproc@vger.kernel.org \
--cc=ohad@wizery.com \
--cc=sricharan@codeaurora.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).