All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
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	[thread overview]
Message-ID: <202201300523.u8aMJEXu-lkp@intel.com> (raw)

[-- 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

                 reply	other threads:[~2022-01-29 22:07 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202201300523.u8aMJEXu-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.