All of lore.kernel.org
 help / color / mirror / Atom feed
* [android-common:android12-trusty-5.10 1998/7872] include/linux/pm_domain.h:290:13: error: 'genpd_enable_next_wakeup' defined but not used
@ 2022-01-29 22:07 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-01-29 22:07 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 1823 bytes --]

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/20220130/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/kernel/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=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=i386 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   In file included from drivers/gpu/drm/i915/selftests/mock_gem_device.c:25,
                    from drivers/gpu/drm/i915/i915_gem.c:1377:
>> include/linux/pm_domain.h:290:13: error: 'genpd_enable_next_wakeup' defined but not used [-Werror=unused-function]
     290 | static void genpd_enable_next_wakeup(struct generic_pm_domain *genpd,
         |             ^~~~~~~~~~~~~~~~~~~~~~~~
   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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-01-29 22:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-29 22:07 [android-common:android12-trusty-5.10 1998/7872] include/linux/pm_domain.h:290:13: error: 'genpd_enable_next_wakeup' defined but not used kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.