lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202006250635.S7vKsAc7%lkp@intel.com>
Date:   Thu, 25 Jun 2020 06:26:49 +0800
From:   kernel test robot <lkp@...el.com>
To:     Deepak Kumar Singh <deesin@...eaurora.org>,
        bjorn.andersson@...aro.org, clew@...eaurora.org,
        mathieu.poirier@...aro.org
Cc:     kbuild-all@...ts.01.org, rampraka@...eaurora.org,
        Arun Kumar Neelakantam <aneela@...eaurora.org>,
        Deepak Kumar Singh <deesin@...eaurora.org>,
        Ohad Ben-Cohen <ohad@...ery.com>,
        "open list:REMOTE PROCESSOR MESSAGING (RPMSG) SUBSYSTEM" 
        <linux-remoteproc@...r.kernel.org>,
        open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH V5 4/4] rpmsg: char: Add signal callback and POLLPRI
 support

Hi Deepak,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on linus/master]
[also build test WARNING on v5.8-rc2 next-20200624]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use  as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Deepak-Kumar-Singh/rpmsg-core-Add-signal-API-support/20200625-024527
base:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 3e08a95294a4fb3702bb3d35ed08028433c37fe6
config: riscv-randconfig-s031-20200624 (attached as .config)
compiler: riscv32-linux-gcc (GCC) 9.3.0
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.2-dirty
        # save the attached .config to linux build tree
        make W=1 C=1 ARCH=riscv CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>


sparse warnings: (new ones prefixed by >>)

>> drivers/rpmsg/rpmsg_char.c:288:22: sparse: sparse: invalid assignment: |=
>> drivers/rpmsg/rpmsg_char.c:288:22: sparse:    left side has type restricted __poll_t
>> drivers/rpmsg/rpmsg_char.c:288:22: sparse:    right side has type int

vim +288 drivers/rpmsg/rpmsg_char.c

   273	
   274	static __poll_t rpmsg_eptdev_poll(struct file *filp, poll_table *wait)
   275	{
   276		struct rpmsg_eptdev *eptdev = filp->private_data;
   277		__poll_t mask = 0;
   278	
   279		if (!eptdev->ept)
   280			return EPOLLERR;
   281	
   282		poll_wait(filp, &eptdev->readq, wait);
   283	
   284		if (!skb_queue_empty(&eptdev->queue))
   285			mask |= EPOLLIN | EPOLLRDNORM;
   286	
   287		if (eptdev->sig_pending)
 > 288			mask |= POLLPRI;
   289	
   290		mask |= rpmsg_poll(eptdev->ept, filp, wait);
   291	
   292		return mask;
   293	}
   294	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

Download attachment ".config.gz" of type "application/gzip" (27844 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ