From: Viresh Kumar <viresh.kumar@linaro.org>
To: kbuild test robot <fengguang.wu@intel.com>
Cc: kbuild-all@01.org, linux-pm@vger.kernel.org
Subject: Re: [vireshk:opp/genpd-performance-state 6/9] drivers/opp/qcom_rpmpd.c:126:1: error: type defaults to 'int' in declaration of 'subsys_initcall'
Date: Fri, 6 Oct 2017 14:50:08 +0530 [thread overview]
Message-ID: <20171006092008.GD18345@vireshk-i7> (raw)
In-Reply-To: <201710061639.njBlCufc%fengguang.wu@intel.com>
On 06-10-17, 16:35, kbuild test robot wrote:
> tree: https://git.linaro.org/people/vireshk/linux opp/genpd-performance-state
> head: 13fe1509c44fe331828415c105e47904a376a016
> commit: bc45091e2bb046eb6718d715bb24c6184baa0263 [6/9] soc: qcom: rpmpd: Add a powerdomain driver to model cx/mx powerdomains
> config: arm-allmodconfig (attached as .config)
> compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705
> reproduce:
> wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
> chmod +x ~/bin/make.cross
> git checkout bc45091e2bb046eb6718d715bb24c6184baa0263
> # save the attached .config to linux build tree
> make.cross ARCH=arm
>
> All error/warnings (new ones prefixed by >>):
>
> >> drivers/opp/qcom_rpmpd.c:126:1: warning: data definition has no type or storage class
> subsys_initcall(rpmpd_get_performance);
> ^~~~~~~~~~~~~~~
> >> drivers/opp/qcom_rpmpd.c:126:1: error: type defaults to 'int' in declaration of 'subsys_initcall' [-Werror=implicit-int]
> >> drivers/opp/qcom_rpmpd.c:126:1: warning: parameter names (without types) in function declaration
> drivers/opp/qcom_rpmpd.c:95:19: warning: 'rpmpd_get_performance' defined but not used [-Wunused-function]
> static int __init rpmpd_get_performance(void)
> ^~~~~~~~~~~~~~~~~~~~~
> cc1: some warnings being treated as errors
Fixed it. Thanks. Had to include module.h as well.
--
viresh
prev parent reply other threads:[~2017-10-06 9:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-06 8:35 [vireshk:opp/genpd-performance-state 6/9] drivers/opp/qcom_rpmpd.c:126:1: error: type defaults to 'int' in declaration of 'subsys_initcall' kbuild test robot
2017-10-06 9:20 ` Viresh Kumar [this message]
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=20171006092008.GD18345@vireshk-i7 \
--to=viresh.kumar@linaro.org \
--cc=fengguang.wu@intel.com \
--cc=kbuild-all@01.org \
--cc=linux-pm@vger.kernel.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.