tree: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git pm-sleep-testing head: e0d95f1b2b755e2cd05b11dcddabb6cab24a041b commit: d7aa9525f39c3c2f5520db30b40edb9c8f13774e [5/6] PM: sleep: Use DPM_FLAG_SMART_SUSPEND conditionally config: i386-buildonly-randconfig-006-20250219 (https://download.01.org/0day-ci/archive/20250219/202502190916.pODQrvQP-lkp@xxxxxxxxx/config) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250219/202502190916.pODQrvQP-lkp@xxxxxxxxx/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 <lkp@xxxxxxxxx> | Closes: https://lore.kernel.org/oe-kbuild-all/202502190916.pODQrvQP-lkp@xxxxxxxxx/ All errors (new ones prefixed by >>): In file included from include/linux/blk_types.h:11, from include/linux/writeback.h:13, from include/linux/memcontrol.h:23, from include/linux/swap.h:9, from include/linux/suspend.h:5, from arch/x86/kernel/asm-offsets.c:14: include/linux/device.h: In function 'dev_pm_smart_suspend': >> include/linux/device.h:1030:26: error: 'struct dev_pm_info' has no member named 'smart_suspend' 1030 | return dev->power.smart_suspend; | ^ make[3]: *** [scripts/Makefile.build:102: arch/x86/kernel/asm-offsets.s] Error 1 shuffle=686350231 make[3]: Target 'prepare' not remade because of errors. make[2]: *** [Makefile:1264: prepare0] Error 2 shuffle=686350231 make[2]: Target 'prepare' not remade because of errors. make[1]: *** [Makefile:251: __sub-make] Error 2 shuffle=686350231 make[1]: Target 'prepare' not remade because of errors. make: *** [Makefile:251: __sub-make] Error 2 shuffle=686350231 make: Target 'prepare' not remade because of errors. vim +1030 include/linux/device.h 1027 1028 static inline bool dev_pm_smart_suspend(struct device *dev) 1029 { > 1030 return dev->power.smart_suspend; 1031 } 1032 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki