Hi Zack, I love your patch! Perhaps something to improve: [auto build test WARNING on drm-intel/for-linux-next] [also build test WARNING on tegra-drm/drm/tegra/for-next linus/master v5.10-rc6] [cannot apply to drm-exynos/exynos-drm-next drm-tip/drm-tip drm/drm-next next-20201201] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Zack-Rusin/drm-vmwgfx-add-Zack-Rusin-as-maintainer/20201202-043705 base: git://anongit.freedesktop.org/drm-intel for-linux-next config: i386-randconfig-a012-20201201 (attached as .config) compiler: gcc-9 (Debian 9.3.0-15) 9.3.0 reproduce (this is a W=1 build): # https://github.com/0day-ci/linux/commit/1f86c0425d60bd79f53ac496cc90e5cd68dad191 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Zack-Rusin/drm-vmwgfx-add-Zack-Rusin-as-maintainer/20201202-043705 git checkout 1f86c0425d60bd79f53ac496cc90e5cd68dad191 # save the attached .config to linux build tree make W=1 ARCH=i386 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@xxxxxxxxx> All warnings (new ones prefixed by >>): drivers/gpu/drm/vmwgfx/vmwgfx_drv.c: In function 'vmw_driver_load': drivers/gpu/drm/vmwgfx/vmwgfx_drv.c:794:36: error: invalid type argument of '->' (have 'struct drm_device') 794 | dma_set_max_seg_size(dev_priv->drm->dev, min_t(unsigned int, U32_MAX & PAGE_MASK, | ^~ In file included from include/linux/printk.h:7, from include/linux/kernel.h:16, from arch/x86/include/asm/percpu.h:27, from arch/x86/include/asm/current.h:6, from include/linux/sched.h:12, from include/linux/ratelimit.h:6, from include/linux/dev_printk.h:16, from include/linux/device.h:15, from include/linux/dma-mapping.h:7, from drivers/gpu/drm/vmwgfx/vmwgfx_drv.c:29: >> include/linux/kern_levels.h:5:18: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'resource_size_t' {aka 'unsigned int'} [-Wformat=] 5 | #define KERN_SOH "\001" /* ASCII Start Of Header */ | ^~~~~~ include/linux/kern_levels.h:14:19: note: in expansion of macro 'KERN_SOH' 14 | #define KERN_INFO KERN_SOH "6" /* informational */ | ^~~~~~~~ include/drm/drm_print.h:481:15: note: in expansion of macro 'KERN_INFO' 481 | printk##once(KERN_##level "[" DRM_NAME "] " fmt, ##__VA_ARGS__) | ^~~~~ include/drm/drm_print.h:484:2: note: in expansion of macro '_DRM_PRINTK' 484 | _DRM_PRINTK(, INFO, fmt, ##__VA_ARGS__) | ^~~~~~~~~~~ drivers/gpu/drm/vmwgfx/vmwgfx_drv.c:805:2: note: in expansion of macro 'DRM_INFO' 805 | DRM_INFO("Maximum display memory size is %llu kiB\n", | ^~~~~~~~ drivers/gpu/drm/vmwgfx/vmwgfx_drv.c:805:46: note: format string is defined here 805 | DRM_INFO("Maximum display memory size is %llu kiB\n", | ~~~^ | | | long long unsigned int | %u In file included from include/linux/printk.h:7, from include/linux/kernel.h:16, from arch/x86/include/asm/percpu.h:27, from arch/x86/include/asm/current.h:6, from include/linux/sched.h:12, from include/linux/ratelimit.h:6, from include/linux/dev_printk.h:16, from include/linux/device.h:15, from include/linux/dma-mapping.h:7, from drivers/gpu/drm/vmwgfx/vmwgfx_drv.c:29: include/linux/kern_levels.h:5:18: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 2 has type 'resource_size_t' {aka 'unsigned int'} [-Wformat=] 5 | #define KERN_SOH "\001" /* ASCII Start Of Header */ | ^~~~~~ include/linux/kern_levels.h:14:19: note: in expansion of macro 'KERN_SOH' 14 | #define KERN_INFO KERN_SOH "6" /* informational */ | ^~~~~~~~ include/drm/drm_print.h:481:15: note: in expansion of macro 'KERN_INFO' 481 | printk##once(KERN_##level "[" DRM_NAME "] " fmt, ##__VA_ARGS__) | ^~~~~ include/drm/drm_print.h:484:2: note: in expansion of macro '_DRM_PRINTK' 484 | _DRM_PRINTK(, INFO, fmt, ##__VA_ARGS__) | ^~~~~~~~~~~ drivers/gpu/drm/vmwgfx/vmwgfx_drv.c:807:2: note: in expansion of macro 'DRM_INFO' 807 | DRM_INFO("VRAM at 0x%08llx size is %llu kiB\n", | ^~~~~~~~ drivers/gpu/drm/vmwgfx/vmwgfx_drv.c:807:27: note: format string is defined here 807 | DRM_INFO("VRAM at 0x%08llx size is %llu kiB\n", | ~~~~~^ | | | long long unsigned int | %08x In file included from include/linux/printk.h:7, from include/linux/kernel.h:16, from arch/x86/include/asm/percpu.h:27, from arch/x86/include/asm/current.h:6, from include/linux/sched.h:12, from include/linux/ratelimit.h:6, from include/linux/dev_printk.h:16, from include/linux/device.h:15, from include/linux/dma-mapping.h:7, from drivers/gpu/drm/vmwgfx/vmwgfx_drv.c:29: include/linux/kern_levels.h:5:18: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'resource_size_t' {aka 'unsigned int'} [-Wformat=] 5 | #define KERN_SOH "\001" /* ASCII Start Of Header */ | ^~~~~~ include/linux/kern_levels.h:14:19: note: in expansion of macro 'KERN_SOH' 14 | #define KERN_INFO KERN_SOH "6" /* informational */ | ^~~~~~~~ include/drm/drm_print.h:481:15: note: in expansion of macro 'KERN_INFO' 481 | printk##once(KERN_##level "[" DRM_NAME "] " fmt, ##__VA_ARGS__) | ^~~~~ include/drm/drm_print.h:484:2: note: in expansion of macro '_DRM_PRINTK' 484 | _DRM_PRINTK(, INFO, fmt, ##__VA_ARGS__) | ^~~~~~~~~~~ drivers/gpu/drm/vmwgfx/vmwgfx_drv.c:807:2: note: in expansion of macro 'DRM_INFO' 807 | DRM_INFO("VRAM at 0x%08llx size is %llu kiB\n", | ^~~~~~~~ drivers/gpu/drm/vmwgfx/vmwgfx_drv.c:807:40: note: format string is defined here 807 | DRM_INFO("VRAM at 0x%08llx size is %llu kiB\n", | ~~~^ | | | long long unsigned int | %u In file included from include/linux/printk.h:7, from include/linux/kernel.h:16, from arch/x86/include/asm/percpu.h:27, from arch/x86/include/asm/current.h:6, from include/linux/sched.h:12, from include/linux/ratelimit.h:6, from include/linux/dev_printk.h:16, from include/linux/device.h:15, from include/linux/dma-mapping.h:7, from drivers/gpu/drm/vmwgfx/vmwgfx_drv.c:29: include/linux/kern_levels.h:5:18: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 2 has type 'resource_size_t' {aka 'unsigned int'} [-Wformat=] 5 | #define KERN_SOH "\001" /* ASCII Start Of Header */ | ^~~~~~ include/linux/kern_levels.h:14:19: note: in expansion of macro 'KERN_SOH' 14 | #define KERN_INFO KERN_SOH "6" /* informational */ | ^~~~~~~~ include/drm/drm_print.h:481:15: note: in expansion of macro 'KERN_INFO' 481 | printk##once(KERN_##level "[" DRM_NAME "] " fmt, ##__VA_ARGS__) vim +5 include/linux/kern_levels.h 314ba3520e513a7 Joe Perches 2012-07-30 4 04d2c8c83d0e3ac Joe Perches 2012-07-30 @5 #define KERN_SOH "\001" /* ASCII Start Of Header */ 04d2c8c83d0e3ac Joe Perches 2012-07-30 6 #define KERN_SOH_ASCII '\001' 04d2c8c83d0e3ac Joe Perches 2012-07-30 7 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip
_______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel