* [linux-next:master 4650/5787] drivers/phy/microchip/sparx5_serdes.c:1807:12: warning: stack frame size of 1056 bytes in function 'sparx5_sd25g28_config'
@ 2021-03-20 8:33 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-03-20 8:33 UTC (permalink / raw)
To: Steen Hegelund
Cc: kbuild-all, clang-built-linux, Linux Memory Management List,
Vinod Koul, Bjarni Jonasson, Andrew Lunn, Alexandre Belloni
[-- Attachment #1: Type: text/plain, Size: 2702 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: f00397ee41c79b6155b9b44abd0055b2c0621349
commit: 2ff8a1eeb5aa8bb471f3756a695b8b69841eb61f [4650/5787] phy: Add Sparx5 ethernet serdes PHY driver
config: powerpc64-randconfig-r003-20210320 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 436c6c9c20cc522c92a923440a5fc509c342a7db)
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
# install powerpc64 cross compiling tool for clang build
# apt-get install binutils-powerpc64-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=2ff8a1eeb5aa8bb471f3756a695b8b69841eb61f
git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout 2ff8a1eeb5aa8bb471f3756a695b8b69841eb61f
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=powerpc64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> drivers/phy/microchip/sparx5_serdes.c:1807:12: warning: stack frame size of 1056 bytes in function 'sparx5_sd25g28_config' [-Wframe-larger-than=]
static int sparx5_sd25g28_config(struct sparx5_serdes_macro *macro, bool reset)
^
1 warning generated.
vim +/sparx5_sd25g28_config +1807 drivers/phy/microchip/sparx5_serdes.c
1806
> 1807 static int sparx5_sd25g28_config(struct sparx5_serdes_macro *macro, bool reset)
1808 {
1809 struct sparx5_sd25g28_mode_preset mode;
1810 struct sparx5_sd25g28_media_preset media = media_presets_25g[macro->media];
1811 struct sparx5_sd25g28_args args = {
1812 .rxinvert = 1,
1813 .txinvert = 0,
1814 .txswing = 240,
1815 .com_pll_reserve = 0xf,
1816 .reg_rst = reset,
1817 };
1818 struct sparx5_sd25g28_params params;
1819 int err;
1820
1821 err = sparx5_sd10g25_get_mode_preset(macro, &mode);
1822 if (err)
1823 return err;
1824 sparx5_sd25g28_get_params(macro, &media, &mode, &args, ¶ms);
1825 sparx5_sd25g28_reset(macro->priv->regs, ¶ms, macro->stpidx);
1826 return sparx5_sd25g28_apply_params(macro->priv->dev,
1827 macro->priv->regs,
1828 ¶ms,
1829 macro->stpidx);
1830 }
1831
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 29659 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-03-20 8:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-20 8:33 [linux-next:master 4650/5787] drivers/phy/microchip/sparx5_serdes.c:1807:12: warning: stack frame size of 1056 bytes in function 'sparx5_sd25g28_config' kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).