All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-next:master 7923/14131] drivers/clk/tegra/clk-tegra210-emc.c:264:13: warning: no previous prototype for 'tegra210_clk_register_emc'
@ 2020-05-29 15:50 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-05-29 15:50 UTC (permalink / raw)
  To: kbuild-all

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-05-29 15:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-29 15:50 [linux-next:master 7923/14131] drivers/clk/tegra/clk-tegra210-emc.c:264:13: warning: no previous prototype for 'tegra210_clk_register_emc' kbuild test robot

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.