From: kbuild test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [linux-next:master 7923/14131] drivers/clk/tegra/clk-tegra210-emc.c:264:13: warning: no previous prototype for 'tegra210_clk_register_emc'
Date: Fri, 29 May 2020 23:50:36 +0800 [thread overview]
Message-ID: <202005292332.3BOpocsm%lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2193 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: e7b08814b16b80a0bf76eeca16317f8c2ed23b8c
commit: 0ac65fc946d3a15ff30cea28b38a00b9ba98217b [7923/14131] clk: tegra: Implement Tegra210 EMC clock
config: arm64-allyesconfig (attached as .config)
compiler: aarch64-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 0ac65fc946d3a15ff30cea28b38a00b9ba98217b
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm64
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/clk/tegra/clk-tegra210-emc.c:264:13: warning: no previous prototype for 'tegra210_clk_register_emc' [-Wmissing-prototypes]
264 | struct clk *tegra210_clk_register_emc(struct device_node *np,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
vim +/tegra210_clk_register_emc +264 drivers/clk/tegra/clk-tegra210-emc.c
263
> 264 struct clk *tegra210_clk_register_emc(struct device_node *np,
265 void __iomem *regs)
266 {
267 struct tegra210_clk_emc *emc;
268 struct clk_init_data init;
269 struct clk *clk;
270
271 emc = kzalloc(sizeof(*emc), GFP_KERNEL);
272 if (!emc)
273 return ERR_PTR(-ENOMEM);
274
275 emc->regs = regs;
276
277 init.name = "emc";
278 init.ops = &tegra210_clk_emc_ops;
279 init.flags = CLK_IS_CRITICAL | CLK_GET_RATE_NOCACHE;
280 init.parent_names = tegra210_clk_emc_parents;
281 init.num_parents = ARRAY_SIZE(tegra210_clk_emc_parents);
282 emc->hw.init = &init;
283
284 clk = clk_register(NULL, &emc->hw);
285 if (IS_ERR(clk)) {
286 kfree(emc);
287 return clk;
288 }
289
290 return clk;
291 }
292
---
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: 71769 bytes --]
reply other threads:[~2020-05-29 15:50 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=202005292332.3BOpocsm%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.