[PATCH] drm/etnaviv: fix for 64bit seqno change

kbuild test robot lkp at intel.com
Sat Dec 8 06:28:56 UTC 2018


Hi Christian,

I love your patch! Perhaps something to improve:

[auto build test WARNING on linus/master]
[also build test WARNING on v4.20-rc5 next-20181207]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Christian-K-nig/drm-etnaviv-fix-for-64bit-seqno-change/20181208-062755
config: arm-allmodconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 7.2.0-11) 7.2.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
        GCC_VERSION=7.2.0 make.cross ARCH=arm 

All warnings (new ones prefixed by >>):

   drivers/gpu/drm/etnaviv/etnaviv_gem.c: In function 'etnaviv_gem_describe_fence':
>> drivers/gpu/drm/etnaviv/etnaviv_gem.c:452:38: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'unsigned int' [-Wformat=]
      seq_printf(m, "\t%9s: %s %s seq %llu\n",
                                      ~~~^
                                      %u
   drivers/gpu/drm/etnaviv/etnaviv_gem.c:456:7:
          fence->seqno);
          ~~~~~~~~~~~~                    

vim +452 drivers/gpu/drm/etnaviv/etnaviv_gem.c

   446	
   447	#ifdef CONFIG_DEBUG_FS
   448	static void etnaviv_gem_describe_fence(struct dma_fence *fence,
   449		const char *type, struct seq_file *m)
   450	{
   451		if (!test_bit(DMA_FENCE_FLAG_SIGNALED_BIT, &fence->flags))
 > 452			seq_printf(m, "\t%9s: %s %s seq %llu\n",
   453				   type,
   454				   fence->ops->get_driver_name(fence),
   455				   fence->ops->get_timeline_name(fence),
   456				   fence->seqno);
   457	}
   458	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 67826 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20181208/fd54f010/attachment-0001.gz>


More information about the dri-devel mailing list