Hi Ao,

kernel test robot noticed the following build errors:

[auto build test ERROR on 6ecd20965bdc21b265a0671ccf36d9ad8043f5ab]

url:    
https://github.com/intel-lab-lkp/linux/commits/Ao-Xu-via-B4-Relay/dt-bindings-display-meson-dw-hdmi-Add-compatible-for-S4-HDMI-controller/20250110-134113
base:   6ecd20965bdc21b265a0671ccf36d9ad8043f5ab
patch link:    
https://lore.kernel.org/r/20250110-drm-s4-v1-3-cbc2d5edaae8%40amlogic.com
patch subject: [PATCH 03/11] drm: meson: add S4 compatible for DRM driver
config: arm64-randconfig-002-20250111 
(https://download.01.org/0day-ci/archive/20250111/202501111505.wnsi9zrc-...@intel.com/config)
compiler: clang version 20.0.0git (https://github.com/llvm/llvm-project 
f5cd181ffbb7cb61d582fe130d46580d5969d47a)
reproduce (this is a W=1 build): 
(https://download.01.org/0day-ci/archive/20250111/202501111505.wnsi9zrc-...@intel.com/reproduce)

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 <l...@intel.com>
| Closes: 
https://lore.kernel.org/oe-kbuild-all/202501111505.wnsi9zrc-...@intel.com/

All errors (new ones prefixed by >>):

>> drivers/gpu/drm/meson/meson_drv.c:541:3: error: no member named 'dev' in 
>> 'struct device'; did you mean 'devt'?
     541 |                 drm_err(dev, "suspend error: %d", ret);
         |                 ^
   include/drm/drm_print.h:601:2: note: expanded from macro 'drm_err'
     601 |         __drm_printk((drm), err,, "*ERROR* " fmt, ##__VA_ARGS__)
         |         ^
   include/drm/drm_print.h:588:35: note: expanded from macro '__drm_printk'
     588 |         dev_##level##type((drm) ? (drm)->dev : NULL, "[drm] " fmt, 
##__VA_ARGS__)
         |                                          ^
   include/linux/device.h:794:10: note: 'devt' declared here
     794 |         dev_t                   devt;   /* dev_t, creates the sysfs 
"dev" */
         |                                 ^
   1 error generated.


vim +541 drivers/gpu/drm/meson/meson_drv.c

   530  
   531  static int __maybe_unused meson_drv_pm_suspend(struct device *dev)
   532  {
   533          int ret;
   534          struct meson_drm *priv = dev_get_drvdata(dev);
   535  
   536          if (!priv)
   537                  return 0;
   538  
   539          ret = drm_mode_config_helper_suspend(priv->drm);
   540          if (unlikely(ret)) {
 > 541                  drm_err(dev, "suspend error: %d", ret);
   542                  return ret;
   543          }
   544  
   545          meson_setup_clk(priv, false);
   546  
   547          return ret;
   548  }
   549  

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

Reply via email to