Hi Alan, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: db10f126048021b86e43a5d6a335ec49dec10155 commit: dc9ac125d81faf4761574a9f613ebc8eb35717e1 [1545/8065] drm/i915/pxp: Add GSC-CS backend to send GSC fw messages config: i386-buildonly-randconfig-r004-20230608 (https://download.01.org/0day-ci/archive/20230608/202306081708.gtVAcXsh-lkp@xxxxxxxxx/config) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce (this is a W=1 build): # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=dc9ac125d81faf4761574a9f613ebc8eb35717e1 git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git fetch --no-tags linux-next master git checkout dc9ac125d81faf4761574a9f613ebc8eb35717e1 # save the config file mkdir build_dir && cp config build_dir/.config make W=1 O=build_dir ARCH=i386 olddefconfig make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/gpu/drm/i915/ If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot <lkp@xxxxxxxxx> | Closes: https://lore.kernel.org/oe-kbuild-all/202306081708.gtVAcXsh-lkp@xxxxxxxxx/ All warnings (new ones prefixed by >>): In file included from include/linux/device.h:15, from include/linux/node.h:18, from include/linux/cpu.h:17, from include/linux/static_call.h:135, from arch/x86/include/asm/perf_event.h:5, from include/linux/perf_event.h:25, from drivers/gpu/drm/i915/i915_pmu.h:11, from drivers/gpu/drm/i915/gt/intel_engine_types.h:21, from drivers/gpu/drm/i915/gt/intel_context_types.h:18, from drivers/gpu/drm/i915/gem/i915_gem_context_types.h:20, from drivers/gpu/drm/i915/i915_request.h:34, from drivers/gpu/drm/i915/i915_active.h:13, from drivers/gpu/drm/i915/gt/intel_context.h:13, from drivers/gpu/drm/i915/pxp/intel_pxp_gsccs.c:8: drivers/gpu/drm/i915/pxp/intel_pxp_gsccs.c: In function 'gsccs_send_message': >> include/drm/drm_print.h:456:39: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 456 | dev_##level##type((drm)->dev, "[drm] " fmt, ##__VA_ARGS__) | ^~~~~~~~ include/linux/dev_printk.h:110:30: note: in definition of macro 'dev_printk_index_wrap' 110 | _p_func(dev, fmt, ##__VA_ARGS__); \ | ^~~ include/linux/dev_printk.h:146:61: note: in expansion of macro 'dev_fmt' 146 | dev_printk_index_wrap(_dev_warn, KERN_WARNING, dev, dev_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~ include/drm/drm_print.h:456:9: note: in expansion of macro 'dev_warn' 456 | dev_##level##type((drm)->dev, "[drm] " fmt, ##__VA_ARGS__) | ^~~~ include/drm/drm_print.h:466:9: note: in expansion of macro '__drm_printk' 466 | __drm_printk((drm), warn,, fmt, ##__VA_ARGS__) | ^~~~~~~~~~~~ drivers/gpu/drm/i915/pxp/intel_pxp_gsccs.c:112:17: note: in expansion of macro 'drm_warn' 112 | drm_warn(&i915->drm, "caller with insufficient PXP reply size %u (%ld)\n", | ^~~~~~~~ vim +456 include/drm/drm_print.h e820f52577b14c Jim Cromie 2022-09-11 416 02c9656b2f0d69 Haneen Mohammed 2017-10-17 417 /** b52817e9de06a3 Mauro Carvalho Chehab 2020-10-27 418 * DRM_DEV_DEBUG() - Debug output for generic drm code 02c9656b2f0d69 Haneen Mohammed 2017-10-17 419 * 306589856399e1 Douglas Anderson 2021-09-21 420 * NOTE: this is deprecated in favor of drm_dbg_core(). 306589856399e1 Douglas Anderson 2021-09-21 421 * 091756bbb1a961 Haneen Mohammed 2017-10-17 422 * @dev: device pointer 091756bbb1a961 Haneen Mohammed 2017-10-17 423 * @fmt: printf() like format string. 02c9656b2f0d69 Haneen Mohammed 2017-10-17 424 */ db87086492581c Joe Perches 2018-03-16 425 #define DRM_DEV_DEBUG(dev, fmt, ...) \ db87086492581c Joe Perches 2018-03-16 426 drm_dev_dbg(dev, DRM_UT_CORE, fmt, ##__VA_ARGS__) b52817e9de06a3 Mauro Carvalho Chehab 2020-10-27 427 /** b52817e9de06a3 Mauro Carvalho Chehab 2020-10-27 428 * DRM_DEV_DEBUG_DRIVER() - Debug output for vendor specific part of the driver b52817e9de06a3 Mauro Carvalho Chehab 2020-10-27 429 * 306589856399e1 Douglas Anderson 2021-09-21 430 * NOTE: this is deprecated in favor of drm_dbg() or dev_dbg(). 306589856399e1 Douglas Anderson 2021-09-21 431 * b52817e9de06a3 Mauro Carvalho Chehab 2020-10-27 432 * @dev: device pointer b52817e9de06a3 Mauro Carvalho Chehab 2020-10-27 433 * @fmt: printf() like format string. b52817e9de06a3 Mauro Carvalho Chehab 2020-10-27 434 */ db87086492581c Joe Perches 2018-03-16 435 #define DRM_DEV_DEBUG_DRIVER(dev, fmt, ...) \ db87086492581c Joe Perches 2018-03-16 436 drm_dev_dbg(dev, DRM_UT_DRIVER, fmt, ##__VA_ARGS__) b52817e9de06a3 Mauro Carvalho Chehab 2020-10-27 437 /** b52817e9de06a3 Mauro Carvalho Chehab 2020-10-27 438 * DRM_DEV_DEBUG_KMS() - Debug output for modesetting code b52817e9de06a3 Mauro Carvalho Chehab 2020-10-27 439 * 306589856399e1 Douglas Anderson 2021-09-21 440 * NOTE: this is deprecated in favor of drm_dbg_kms(). 306589856399e1 Douglas Anderson 2021-09-21 441 * b52817e9de06a3 Mauro Carvalho Chehab 2020-10-27 442 * @dev: device pointer b52817e9de06a3 Mauro Carvalho Chehab 2020-10-27 443 * @fmt: printf() like format string. b52817e9de06a3 Mauro Carvalho Chehab 2020-10-27 444 */ db87086492581c Joe Perches 2018-03-16 445 #define DRM_DEV_DEBUG_KMS(dev, fmt, ...) \ db87086492581c Joe Perches 2018-03-16 446 drm_dev_dbg(dev, DRM_UT_KMS, fmt, ##__VA_ARGS__) a18b21929453af Lyude Paul 2018-07-16 447 fb6c7ab8718eb2 Jani Nikula 2019-12-10 448 /* fb6c7ab8718eb2 Jani Nikula 2019-12-10 449 * struct drm_device based logging fb6c7ab8718eb2 Jani Nikula 2019-12-10 450 * fb6c7ab8718eb2 Jani Nikula 2019-12-10 451 * Prefer drm_device based logging over device or prink based logging. fb6c7ab8718eb2 Jani Nikula 2019-12-10 452 */ fb6c7ab8718eb2 Jani Nikula 2019-12-10 453 fb6c7ab8718eb2 Jani Nikula 2019-12-10 454 /* Helper for struct drm_device based logging. */ fb6c7ab8718eb2 Jani Nikula 2019-12-10 455 #define __drm_printk(drm, level, type, fmt, ...) \ fb6c7ab8718eb2 Jani Nikula 2019-12-10 @456 dev_##level##type((drm)->dev, "[drm] " fmt, ##__VA_ARGS__) fb6c7ab8718eb2 Jani Nikula 2019-12-10 457 fb6c7ab8718eb2 Jani Nikula 2019-12-10 458 :::::: The code at line 456 was first introduced by commit :::::: fb6c7ab8718eb2543695d77ad8302ff81e8e1e32 drm/print: introduce new struct drm_device based logging macros :::::: TO: Jani Nikula <jani.nikula@xxxxxxxxx> :::::: CC: Jani Nikula <jani.nikula@xxxxxxxxx> -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki