[usb:usb-testing 1/25] drivers/gpu/drm/i915/gt/intel_execlists_submission.c:4162:6: error: format specifies type 'unsigned long' but the argument has type 'size_t' (aka 'unsigned int')

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

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing
head:   be535132af28d98d8382ffa03d11c8acd7b5da30
commit: 924fb3ec50f5156d21e4f484358fb36f75b91ca8 [1/25] Merge 6.2-rc7 into usb-next
config: i386-randconfig-a001-20230206 (https://download.01.org/0day-ci/archive/20230206/202302062055.24gKr6MY-lkp@xxxxxxxxx/config)
compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1)
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://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/commit/?id=924fb3ec50f5156d21e4f484358fb36f75b91ca8
        git remote add usb https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git
        git fetch --no-tags usb usb-testing
        git checkout 924fb3ec50f5156d21e4f484358fb36f75b91ca8
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 olddefconfig
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash

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

All errors (new ones prefixed by >>):

>> drivers/gpu/drm/i915/gt/intel_execlists_submission.c:4162:6: error: format specifies type 'unsigned long' but the argument has type 'size_t' (aka 'unsigned int') [-Werror,-Wformat]
                      list_count_nodes(&engine->sched_engine->hold));
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   1 error generated.


vim +4162 drivers/gpu/drm/i915/gt/intel_execlists_submission.c

  4150	
  4151	void intel_execlists_dump_active_requests(struct intel_engine_cs *engine,
  4152						  struct i915_request *hung_rq,
  4153						  struct drm_printer *m)
  4154	{
  4155		unsigned long flags;
  4156	
  4157		spin_lock_irqsave(&engine->sched_engine->lock, flags);
  4158	
  4159		intel_engine_dump_active_requests(&engine->sched_engine->requests, hung_rq, m);
  4160	
  4161		drm_printf(m, "\tOn hold?: %lu\n",
> 4162			   list_count_nodes(&engine->sched_engine->hold));
  4163	
  4164		spin_unlock_irqrestore(&engine->sched_engine->lock, flags);
  4165	}
  4166	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux