mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [thomash:async_vma10 6/7] drivers/gpu/drm/i915/i915_vma_resource.c:379:39: error: format specifies type 'unsigned long' but the argument has type 'unsigned int'
@ 2021-12-18 10:00 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-12-18 10:00 UTC (permalink / raw)
  To: Thomas Hellström; +Cc: llvm, kbuild-all, linux-kernel

tree:   git://people.freedesktop.org/~thomash/linux async_vma10
head:   597bad76cbd833089ad27552582b3a0ac942f8ba
commit: 7a09f14a4d7a15d8b0568e527448617a72ee51e8 [6/7] drm/i915: Use vma resources for async unbinding
config: i386-randconfig-r011-20211216 (https://download.01.org/0day-ci/archive/20211218/202112181745.36r8RZEy-lkp@intel.com/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 4c9e31a4814592bbda7153833e46728dc7b21100)
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
        git remote add thomash git://people.freedesktop.org/~thomash/linux
        git fetch --no-tags thomash async_vma10
        git checkout 7a09f14a4d7a15d8b0568e527448617a72ee51e8
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/gpu/drm/i915/

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

All errors (new ones prefixed by >>):

>> drivers/gpu/drm/i915/i915_vma_resource.c:379:39: error: format specifies type 'unsigned long' but the argument has type 'unsigned int' [-Werror,-Wformat]
           pr_err("vma resource size is %lu\n", sizeof(struct i915_vma_resource));
                                        ~~~     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                        %u
   include/linux/printk.h:493:33: note: expanded from macro 'pr_err'
           printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__)
                                  ~~~     ^~~~~~~~~~~
   include/linux/printk.h:450:60: note: expanded from macro 'printk'
   #define printk(fmt, ...) printk_index_wrap(_printk, fmt, ##__VA_ARGS__)
                                                       ~~~    ^~~~~~~~~~~
   include/linux/printk.h:422:19: note: expanded from macro 'printk_index_wrap'
                   _p_func(_fmt, ##__VA_ARGS__);                           \
                           ~~~~    ^~~~~~~~~~~
   1 error generated.


vim +379 drivers/gpu/drm/i915/i915_vma_resource.c

   376	
   377	int __init i915_vma_resource_module_init(void)
   378	{
 > 379		pr_err("vma resource size is %lu\n", sizeof(struct i915_vma_resource));

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-12-18 10:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-18 10:00 [thomash:async_vma10 6/7] drivers/gpu/drm/i915/i915_vma_resource.c:379:39: error: format specifies type 'unsigned long' but the argument has type 'unsigned int' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®