Re: [PATCH v2 3/3] dmaengine: ptdma: Add debugfs entries for PTDMA information
From: kbuild test robot
Date: Fri Dec 27 2019 - 20:41:04 EST
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@xxxxxxxxx>
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@xxxxxxxxxxxx Intel Corporation