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]
Date:   Sat, 28 Dec 2019 09:24:11 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Sanjay R Mehta <Sanju.Mehta@....com>
Cc:     kbuild-all@...ts.01.org, vkoul@...nel.org,
        dan.j.williams@...el.com, gregkh@...uxfoundation.org,
        Gary.Hook@....com, Nehal-bakulchandra.Shah@....com,
        Shyam-sundar.S-k@....com, davem@...emloft.net,
        mchehab+samsung@...nel.org, robh@...nel.org,
        Jonathan.Cameron@...wei.com, linux-kernel@...r.kernel.org,
        dmaengine@...r.kernel.org, Sanjay R Mehta <sanju.mehta@....com>
Subject: Re: [PATCH v2 3/3] dmaengine: ptdma: Add debugfs entries for PTDMA
 information

Hi Sanjay,

I love your patch! Perhaps something to improve:

[auto build test WARNING on linus/master]
[also build test WARNING on v5.5-rc3 next-20191220]
[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/Sanjay-R-Mehta/Add-AMD-PassThru-DMA-Engine-driver/20191227-234539
base:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 46cf053efec6a3a5f343fead837777efe8252a46
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.1-129-g341daf20-dirty
        make ARCH=x86_64 allmodconfig
        make C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'

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


sparse warnings: (new ones prefixed by >>)

>> drivers/dma/ptdma/ptdma-dev.c:139:5: sparse: sparse: symbol 'pt_present' was not declared. Should it be static?
   drivers/dma/ptdma/ptdma-dev.c:169:25: sparse: sparse: cast from restricted __le32
   drivers/dma/ptdma/ptdma-dev.c:169:23: sparse: sparse: incorrect type in assignment (different base types)
   drivers/dma/ptdma/ptdma-dev.c:169:23: sparse:    expected unsigned int [usertype]
   drivers/dma/ptdma/ptdma-dev.c:169:23: sparse:    got restricted __le32 [usertype]
   drivers/dma/ptdma/ptdma-dev.c:199:21: sparse: sparse: incorrect type in assignment (different base types)
   drivers/dma/ptdma/ptdma-dev.c:199:21: sparse:    expected restricted __le32 [addressable] [assigned] [usertype] length
   drivers/dma/ptdma/ptdma-dev.c:199:21: sparse:    got unsigned long long [usertype] src_len
   drivers/dma/ptdma/ptdma-dev.c:201:21: sparse: sparse: incorrect type in assignment (different base types)
   drivers/dma/ptdma/ptdma-dev.c:201:21: sparse:    expected restricted __le32 [addressable] [assigned] [usertype] src_lo
   drivers/dma/ptdma/ptdma-dev.c:201:21: sparse:    got unsigned int [usertype]
   drivers/dma/ptdma/ptdma-dev.c:204:21: sparse: sparse: incorrect type in assignment (different base types)
   drivers/dma/ptdma/ptdma-dev.c:204:21: sparse:    expected restricted __le32 [addressable] [assigned] [usertype] dst_lo
   drivers/dma/ptdma/ptdma-dev.c:204:21: sparse:    got unsigned int [usertype]

Please review and possibly fold the followup patch.

---
0-DAY kernel test infrastructure                 Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org Intel Corporation

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ