Messages in this thread | | | Date | Sat, 18 Dec 2021 18:00:17 +0800 | From | kernel test robot <> | Subject | [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' |
| |
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
| |