[vireshk:opp/genpd/updates 6/10] drivers/soc/tegra/pmc.c:577:1: warning: the frame size of 1184 bytes is larger than 1024 bytes

From: kbuild test robot <hidden>
Date: 2017-12-22 13:29:05

tree:   https://git.linaro.org/people/vireshk/linux opp/genpd/updates
head:   46a62463d9a0a04648672d5cd3a9803ad99bd36b
commit: a7867661e9bc6f5b1571f60398266ef678ccc1c0 [6/10] PM / Domain: Add struct device to genpd
config: arm-allmodconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 7.2.0-11) 7.2.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout a7867661e9bc6f5b1571f60398266ef678ccc1c0
        # save the attached .config to linux build tree
        make.cross ARCH=arm 

All warnings (new ones prefixed by >>):

   drivers/soc/tegra/pmc.c: In function 'tegra_powergate_sequence_power_up':
quoted
drivers/soc/tegra/pmc.c:577:1: warning: the frame size of 1184 bytes is larger than 1024 bytes [-Wframe-larger-than=]
    }
    ^

vim +577 drivers/soc/tegra/pmc.c

7232398ab Thierry Reding 2014-07-11  548  
7232398ab Thierry Reding 2014-07-11  549  /**
7232398ab Thierry Reding 2014-07-11  550   * tegra_powergate_sequence_power_up() - power up partition
7232398ab Thierry Reding 2014-07-11  551   * @id: partition ID
7232398ab Thierry Reding 2014-07-11  552   * @clk: clock for partition
7232398ab Thierry Reding 2014-07-11  553   * @rst: reset for partition
7232398ab Thierry Reding 2014-07-11  554   *
7232398ab Thierry Reding 2014-07-11  555   * Must be called with clk disabled, and returns with clk enabled.
7232398ab Thierry Reding 2014-07-11  556   */
70293ed09 Jon Hunter     2016-02-11  557  int tegra_powergate_sequence_power_up(unsigned int id, struct clk *clk,
7232398ab Thierry Reding 2014-07-11  558  				      struct reset_control *rst)
7232398ab Thierry Reding 2014-07-11  559  {
a38045121 Jon Hunter     2016-03-30  560  	struct tegra_powergate pg;
a38045121 Jon Hunter     2016-03-30  561  	int err;
7232398ab Thierry Reding 2014-07-11  562  
403db2d21 Jon Hunter     2016-06-28  563  	if (!tegra_powergate_is_available(id))
403db2d21 Jon Hunter     2016-06-28  564  		return -EINVAL;
403db2d21 Jon Hunter     2016-06-28  565  
a38045121 Jon Hunter     2016-03-30  566  	pg.id = id;
a38045121 Jon Hunter     2016-03-30  567  	pg.clks = &clk;
a38045121 Jon Hunter     2016-03-30  568  	pg.num_clks = 1;
a38045121 Jon Hunter     2016-03-30  569  	pg.resets = &rst;
a38045121 Jon Hunter     2016-03-30  570  	pg.num_resets = 1;
7232398ab Thierry Reding 2014-07-11  571  
a38045121 Jon Hunter     2016-03-30  572  	err = tegra_powergate_power_up(&pg, false);
a38045121 Jon Hunter     2016-03-30  573  	if (err)
a38045121 Jon Hunter     2016-03-30  574  		pr_err("failed to turn on partition %d: %d\n", id, err);
7232398ab Thierry Reding 2014-07-11  575  
a38045121 Jon Hunter     2016-03-30  576  	return err;
7232398ab Thierry Reding 2014-07-11 @577  }
7232398ab Thierry Reding 2014-07-11  578  EXPORT_SYMBOL(tegra_powergate_sequence_power_up);
7232398ab Thierry Reding 2014-07-11  579  

:::::: The code at line 577 was first introduced by commit
:::::: 7232398abc6a7186e315425638c367d50c674718 ARM: tegra: Convert PMC to a driver

:::::: TO: Thierry Reding [off-list ref]
:::::: CC: Thierry Reding [off-list ref]

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

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help