linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <fengguang.wu@intel.com>
To: Viresh Kumar <viresh.kumar@linaro.org>
Cc: kbuild-all@01.org, linux-pm@vger.kernel.org
Subject: [vireshk:opp/genpd-performance-state 14/18] include/linux/pm_qos.h:199:19: warning: 'dev_pm_qos_add_notifier' declared 'static' but never defined
Date: Fri, 6 Jan 2017 19:32:59 +0800	[thread overview]
Message-ID: <201701061954.4iGTmC2m%fengguang.wu@intel.com> (raw)

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

tree:   https://git.linaro.org/people/vireshk/linux opp/genpd-performance-state
head:   e327d4cbb8b86e33f3e777bbbd8a9a8326e5f6d5
commit: efd46e263c100a5051c4b9d15f523ce08f76934a [14/18] PM / QOS: Pass request type to dev_pm_qos_{add|remove}_notifier()
config: openrisc-or1ksim_defconfig (attached as .config)
compiler: or32-linux-gcc (GCC) 4.5.1-or32-1.0rc1
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout efd46e263c100a5051c4b9d15f523ce08f76934a
        # save the attached .config to linux build tree
        make.cross ARCH=openrisc 

All warnings (new ones prefixed by >>):

   In file included from kernel/power/qos.c:32:0:
   include/linux/pm_qos.h:202:4: error: expected identifier or '(' before '{' token
>> include/linux/pm_qos.h:199:19: warning: 'dev_pm_qos_add_notifier' declared 'static' but never defined

vim +199 include/linux/pm_qos.h

91ff4cb8 Jean Pihet   2011-08-25  193  			{ return 0; }
91ff4cb8 Jean Pihet   2011-08-25  194  static inline int dev_pm_qos_update_request(struct dev_pm_qos_request *req,
91ff4cb8 Jean Pihet   2011-08-25  195  					    s32 new_value)
91ff4cb8 Jean Pihet   2011-08-25  196  			{ return 0; }
91ff4cb8 Jean Pihet   2011-08-25  197  static inline int dev_pm_qos_remove_request(struct dev_pm_qos_request *req)
91ff4cb8 Jean Pihet   2011-08-25  198  			{ return 0; }
91ff4cb8 Jean Pihet   2011-08-25 @199  static inline int dev_pm_qos_add_notifier(struct device *dev,
efd46e26 Viresh Kumar 2016-11-28  200  					  struct notifier_block *notifier,
efd46e26 Viresh Kumar 2016-11-28  201  					  enum dev_pm_qos_req_type type);
91ff4cb8 Jean Pihet   2011-08-25 @202  			{ return 0; }
91ff4cb8 Jean Pihet   2011-08-25  203  static inline int dev_pm_qos_remove_notifier(struct device *dev,
efd46e26 Viresh Kumar 2016-11-28  204  					     struct notifier_block *notifier,
efd46e26 Viresh Kumar 2016-11-28  205  					     enum dev_pm_qos_req_type type)

:::::: The code at line 199 was first introduced by commit
:::::: 91ff4cb803df6de9114351b9f2f0f39f397ee03e PM QoS: Implement per-device PM QoS constraints

:::::: TO: Jean Pihet <j-pihet@ti.com>
:::::: CC: Rafael J. Wysocki <rjw@sisk.pl>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 7356 bytes --]

             reply	other threads:[~2017-01-06 11:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-06 11:32 kbuild test robot [this message]
2017-01-09  3:24 ` [vireshk:opp/genpd-performance-state 14/18] include/linux/pm_qos.h:199:19: warning: 'dev_pm_qos_add_notifier' declared 'static' but never defined Viresh Kumar

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=201701061954.4iGTmC2m%fengguang.wu@intel.com \
    --to=fengguang.wu@intel.com \
    --cc=kbuild-all@01.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=viresh.kumar@linaro.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).