Messages in this thread | | | Date | Wed, 20 Jul 2022 20:53:51 +0800 | From | kernel test robot <> | Subject | [kraxel:drm-misc-next 5/11] drivers/video/fbdev/aty/radeon_base.c:2246:73: warning: expression which evaluates to zero treated as a null pointer constant of type 'const char *' |
| |
tree: git://git.kraxel.org/linux drm-misc-next head: 15fced5b051e6e22c228a521a5894b12c2ba0892 commit: 8d69d008f44cb96050c35e64fe940a22dd6b0113 [5/11] fbdev: Convert drivers to aperture helpers config: powerpc-randconfig-r035-20220718 (https://download.01.org/0day-ci/archive/20220720/202207202040.jS1WcTzN-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project dd5635541cd7bbd62cd59b6694dfb759b6e9a0d8) 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 powerpc cross compiling tool for clang build # apt-get install binutils-powerpc-linux-gnu git remote add kraxel git://git.kraxel.org/linux git fetch --no-tags kraxel drm-misc-next git checkout 8d69d008f44cb96050c35e64fe940a22dd6b0113 # 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=powerpc SHELL=/bin/bash drivers/video/fbdev/aty/
If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> drivers/video/fbdev/aty/radeon_base.c:2246:73: warning: expression which evaluates to zero treated as a null pointer constant of type 'const char *' [-Wnon-literal-null-conversion] return aperture_remove_conflicting_devices(base, size, KBUILD_MODNAME, false); ^~~~~ 1 warning generated.
vim +2246 drivers/video/fbdev/aty/radeon_base.c
2240 2241 static int radeon_kick_out_firmware_fb(struct pci_dev *pdev) 2242 { 2243 resource_size_t base = pci_resource_start(pdev, 0); 2244 resource_size_t size = pci_resource_len(pdev, 0); 2245 > 2246 return aperture_remove_conflicting_devices(base, size, KBUILD_MODNAME, false); 2247 } 2248
-- 0-DAY CI Kernel Test Service https://01.org/lkp
| |