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] [thread-next>] [day] [month] [year] [list]
Message-ID: <202212070345.xAfm2DJg-lkp@intel.com>
Date:   Wed, 7 Dec 2022 03:59:09 +0800
From:   kernel test robot <lkp@...el.com>
To:     Piotr Wojtaszczyk <piotr.wojtaszczyk@...esys.com>,
        Bjorn Andersson <andersson@...nel.org>,
        Mathieu Poirier <mathieu.poirier@...aro.org>
Cc:     oe-kbuild-all@...ts.linux.dev,
        Piotr Wojtaszczyk <piotr.wojtaszczyk@...esys.com>,
        linux-remoteproc@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] rpmsg: char: Use preallocated SKBs.

Hi Piotr,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on remoteproc/rpmsg-next]
[also build test WARNING on linus/master v6.1-rc8 next-20221206]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Piotr-Wojtaszczyk/rpmsg-char-Use-preallocated-SKBs/20221206-174127
base:   git://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux.git rpmsg-next
patch link:    https://lore.kernel.org/r/20221206093840.32181-1-piotr.wojtaszczyk%40timesys.com
patch subject: [PATCH] rpmsg: char: Use preallocated SKBs.
config: openrisc-randconfig-s031-20221206
compiler: or1k-linux-gcc (GCC) 12.1.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # apt-get install sparse
        # sparse version: v0.6.4-39-gce1a6720-dirty
        # https://github.com/intel-lab-lkp/linux/commit/335fb72a363aa6cf77c1b6bf3163e6d175c3110f
        git remote add linux-review https://github.com/intel-lab-lkp/linux
        git fetch --no-tags linux-review Piotr-Wojtaszczyk/rpmsg-char-Use-preallocated-SKBs/20221206-174127
        git checkout 335fb72a363aa6cf77c1b6bf3163e6d175c3110f
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=openrisc SHELL=/bin/bash drivers/rpmsg/

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

sparse warnings: (new ones prefixed by >>)
>> drivers/rpmsg/rpmsg_char.c:89:21: sparse: sparse: Using plain integer as NULL pointer
>> drivers/rpmsg/rpmsg_char.c:89:21: sparse: sparse: Using plain integer as NULL pointer

vim +89 drivers/rpmsg/rpmsg_char.c

    84	
    85	static inline
    86	void rpmsg_eptdev_put_skb(struct rpmsg_eptdev *eptdev, struct sk_buff *skb)
    87	{
    88		/* Recycle the skb */
  > 89		skb->tail = 0;
    90		skb->len = 0;
    91		skb_queue_head(&eptdev->skb_pool, skb);
    92	}
    93	

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

View attachment "config" of type "text/plain" (148186 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ