All of lore.kernel.org
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [thermal:next 21/50] drivers/powercap/idle_inject.c:179:6: warning: no previous prototype for 'idle_inject_set_latency'
Date: Sat, 30 May 2020 00:07:07 +0800	[thread overview]
Message-ID: <202005300004.RBfTGmR8%lkp@intel.com> (raw)

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

Hi Daniel,

FYI, the error/warning still remains.

tree:   thermal/next
head:   4d14235baa2b4aa64aed40805dd3db47dbc6f3b3
commit: 333cff6c963fbc8b9820ca2b6a8b2e22a572cd43 [21/50] powercap/drivers/idle_inject: Specify idle state max latency
config: sh-allmodconfig (attached as .config)
compiler: sh4-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 333cff6c963fbc8b9820ca2b6a8b2e22a572cd43
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=sh 

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

All warnings (new ones prefixed by >>, old ones prefixed by <<):

drivers/powercap/idle_inject.c:152:6: warning: no previous prototype for 'idle_inject_set_duration' [-Wmissing-prototypes]
152 | void idle_inject_set_duration(struct idle_inject_device *ii_dev,
|      ^~~~~~~~~~~~~~~~~~~~~~~~
drivers/powercap/idle_inject.c:167:6: warning: no previous prototype for 'idle_inject_get_duration' [-Wmissing-prototypes]
167 | void idle_inject_get_duration(struct idle_inject_device *ii_dev,
|      ^~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/powercap/idle_inject.c:179:6: warning: no previous prototype for 'idle_inject_set_latency' [-Wmissing-prototypes]
179 | void idle_inject_set_latency(struct idle_inject_device *ii_dev,
|      ^~~~~~~~~~~~~~~~~~~~~~~
drivers/powercap/idle_inject.c:195:5: warning: no previous prototype for 'idle_inject_start' [-Wmissing-prototypes]
195 | int idle_inject_start(struct idle_inject_device *ii_dev)
|     ^~~~~~~~~~~~~~~~~
drivers/powercap/idle_inject.c:227:6: warning: no previous prototype for 'idle_inject_stop' [-Wmissing-prototypes]
227 | void idle_inject_stop(struct idle_inject_device *ii_dev)
|      ^~~~~~~~~~~~~~~~
drivers/powercap/idle_inject.c:301:28: warning: no previous prototype for 'idle_inject_register' [-Wmissing-prototypes]
301 | struct idle_inject_device *idle_inject_register(struct cpumask *cpumask)
|                            ^~~~~~~~~~~~~~~~~~~~
drivers/powercap/idle_inject.c:347:6: warning: no previous prototype for 'idle_inject_unregister' [-Wmissing-prototypes]
347 | void idle_inject_unregister(struct idle_inject_device *ii_dev)
|      ^~~~~~~~~~~~~~~~~~~~~~

vim +/idle_inject_set_latency +179 drivers/powercap/idle_inject.c

   174	
   175	/**
   176	 * idle_inject_set_latency - set the maximum latency allowed
   177	 * @latency_us: set the latency requirement for the idle state
   178	 */
 > 179	void idle_inject_set_latency(struct idle_inject_device *ii_dev,
   180				     unsigned int latency_us)
   181	{
   182		WRITE_ONCE(ii_dev->latency_us, latency_us);
   183	}
   184	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

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

             reply	other threads:[~2020-05-29 16:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-29 16:07 kbuild test robot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-05-27  9:24 [thermal:next 21/50] drivers/powercap/idle_inject.c:179:6: warning: no previous prototype for 'idle_inject_set_latency' kbuild test robot

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=202005300004.RBfTGmR8%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.