From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============4247347979396837036==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: [android-common:android12-trusty-5.10 1998/7872] include/linux/pm_domain.h:290:13: error: 'genpd_enable_next_wakeup' defined but not used Date: Sun, 30 Jan 2022 06:07:34 +0800 Message-ID: <202201300523.u8aMJEXu-lkp@intel.com> List-Id: --===============4247347979396837036== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable tree: https://android.googlesource.com/kernel/common android12-trusty-5.10 head: 8cb1a07ca81495b954c2aca3f1074f2ff8e41250 commit: e6c313525bb350396320a1775677a07eebe435cd [1998/7872] FROMLIST: PM /= Domains: add domain feature flag for next wakeup config: i386-randconfig-s001 (https://download.01.org/0day-ci/archive/20220= 130/202201300523.u8aMJEXu-lkp(a)intel.com/config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce: # apt-get install sparse # sparse version: v0.6.4-dirty git remote add android-common https://android.googlesource.com/kern= el/common git fetch --no-tags android-common android12-trusty-5.10 git checkout e6c313525bb350396320a1775677a07eebe435cd # save the config file to linux build tree mkdir build_dir make W=3D1 C=3D1 CF=3D'-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=3D= build_dir ARCH=3Di386 SHELL=3D/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): In file included from drivers/gpu/drm/i915/selftests/mock_gem_device.c:2= 5, from drivers/gpu/drm/i915/i915_gem.c:1377: >> include/linux/pm_domain.h:290:13: error: 'genpd_enable_next_wakeup' defi= ned but not used [-Werror=3Dunused-function] 290 | static void genpd_enable_next_wakeup(struct generic_pm_domain *g= enpd, | ^~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors vim +/genpd_enable_next_wakeup +290 include/linux/pm_domain.h 289 = > 290 static void genpd_enable_next_wakeup(struct generic_pm_domain *genpd, 291 bool enable) 292 { } 293 = --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============4247347979396837036==--