tree: https://gitlab.freedesktop.org/agd5f/linux.git userq head: f52aea8d32970543839b867a1d0e2bc6381e7ee9 commit: f114e3257a4c2f7eac06a206ac8ed242be642e23 [248/255] drm/amdgpu: add doorbell support to amdgpu_bar_mgr config: arm-randconfig-r004-20220926 compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 791a7ae1ba3efd6bca96338e10ffde557ba83920) 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 # install arm cross compiling tool for clang build # apt-get install binutils-arm-linux-gnueabi git remote add agd5f https://gitlab.freedesktop.org/agd5f/linux.git git fetch --no-tags agd5f userq git checkout f114e3257a4c2f7eac06a206ac8ed242be642e23 # 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=arm SHELL=/bin/bash drivers/gpu/drm/amd/amdgpu/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> drivers/gpu/drm/amd/amdgpu/amdgpu_bar_mgr.c:212:35: warning: format specifies type 'unsigned long long' but the argument has type 'resource_size_t' (aka 'unsigned int') [-Wformat] return sysfs_emit(buf, "%llu\n", adev->doorbell.size); ~~~~ ^~~~~~~~~~~~~~~~~~~ %u 1 warning generated. vim +212 drivers/gpu/drm/amd/amdgpu/amdgpu_bar_mgr.c 197 198 /** 199 * DOC: mem_info_doorbell_total 200 * 201 * The amdgpu driver provides a sysfs API for reporting current total DOORBELL 202 * available on the device 203 * The file mem_info_vram_total is used for this and returns the total 204 * amount of DOORBELL in bytes 205 */ 206 static ssize_t amdgpu_mem_info_doorbell_total_show(struct device *dev, 207 struct device_attribute *attr, char *buf) 208 { 209 struct drm_device *ddev = dev_get_drvdata(dev); 210 struct amdgpu_device *adev = drm_to_adev(ddev); 211 > 212 return sysfs_emit(buf, "%llu\n", adev->doorbell.size); 213 } 214 -- 0-DAY CI Kernel Test Service https://01.org/lkp