Re: [PATCH v2 29/34] staging: vchiq: Add 36-bit address support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Laurent,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on linus/master]
[also build test WARNING on v5.7-rc4]
[cannot apply to linuxtv-media/master anholt/for-next next-20200505]
[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/Laurent-Pinchart/Drivers-for-the-BCM283x-CSI-2-CCP2-receiver-and-ISP/20200505-054310
base:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 9851a0dee7c28514f149f7e4f60ec1b06286cc1b
config: s390-allyesconfig (attached as .config)
compiler: s390-linux-gcc (GCC) 9.3.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
        COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross ARCH=s390 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@xxxxxxxxx>

All warnings (new ones prefixed by >>):

   drivers/staging/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c: In function 'vchiq_prepare_bulk_data':
>> drivers/staging/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c:255:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
     255 |  bulk->data = (void *)VC_SAFE(pagelistinfo->dma_addr);
         |               ^

vim +255 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c

   240	
   241	enum vchiq_status
   242	vchiq_prepare_bulk_data(struct vchiq_bulk *bulk, void *offset, int size,
   243				int dir)
   244	{
   245		struct vchiq_pagelist_info *pagelistinfo;
   246	
   247		pagelistinfo = create_pagelist((char __user *)offset, size,
   248					       (dir == VCHIQ_BULK_RECEIVE)
   249					       ? PAGELIST_READ
   250					       : PAGELIST_WRITE);
   251	
   252		if (!pagelistinfo)
   253			return VCHIQ_ERROR;
   254	
 > 255		bulk->data = (void *)VC_SAFE(pagelistinfo->dma_addr);
   256	
   257		/*
   258		 * Store the pagelistinfo address in remote_data,
   259		 * which isn't used by the slave.
   260		 */
   261		bulk->remote_data = pagelistinfo;
   262	
   263		return VCHIQ_SUCCESS;
   264	}
   265	

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

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux