Re: [PATCH v3 8/8] scsi: ufs-mediatek: Introduce event_notify implementation

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

 



Hi Stanley,

I love your patch! Perhaps something to improve:

[auto build test WARNING on scsi/for-next]
[also build test WARNING on mkp-scsi/for-next next-20201204]
[cannot apply to v5.10-rc6]
[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]

url:    https://github.com/0day-ci/linux/commits/Stanley-Chu/Refine-error-history-and-introduce-event_notify-vop/20201204-175402
base:   https://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git for-next
config: arm64-allyesconfig (attached as .config)
compiler: aarch64-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://github.com/0day-ci/linux/commit/6a9665f1084bfc3835aa474e280739cc078f1da2
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Stanley-Chu/Refine-error-history-and-introduce-event_notify-vop/20201204-175402
        git checkout 6a9665f1084bfc3835aa474e280739cc078f1da2
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm64 

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

All warnings (new ones prefixed by >>):

   drivers/scsi/ufs/ufs-mediatek.c: In function 'ufs_mtk_event_notify':
>> drivers/scsi/ufs/ufs-mediatek.c:1011:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
    1011 |  trace_ufs_mtk_event(evt, (int)data);
         |                           ^

vim +1011 drivers/scsi/ufs/ufs-mediatek.c

  1007	
  1008	static void ufs_mtk_event_notify(struct ufs_hba *hba,
  1009					 enum ufs_event_type evt, void *data)
  1010	{
> 1011		trace_ufs_mtk_event(evt, (int)data);
  1012	}
  1013	

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

Attachment: .config.gz
Description: application/gzip


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux