public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* drivers/i2c/i2c-core-base.c:1420:12: warning: stack frame size (1040) exceeds limit (1024) in 'i2c_do_add_adapter'
@ 2025-02-19 17:37 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-02-19 17:37 UTC (permalink / raw)
  To: Wolfram Sang; +Cc: llvm, oe-kbuild-all, linux-kernel

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   6537cfb395f352782918d8ee7b7f10ba2cc3cbf2
commit: 3bfa08fe9ec8dd79e183c88e1275be74191e7bc8 Revert "i2c: Replace list-based mechanism for handling auto-detected clients"
date:   2 weeks ago
config: mips-eyeq6_defconfig (https://download.01.org/0day-ci/archive/20250220/202502200154.kBYwSZGe-lkp@intel.com/config)
compiler: clang version 21.0.0git (https://github.com/llvm/llvm-project 910be4ff90d7d07bd4518ea03b85c0974672bf9c)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250220/202502200154.kBYwSZGe-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202502200154.kBYwSZGe-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/i2c/i2c-core-base.c:1420:12: warning: stack frame size (1040) exceeds limit (1024) in 'i2c_do_add_adapter' [-Wframe-larger-than]
    1420 | static int i2c_do_add_adapter(struct i2c_driver *driver,
         |            ^
   1 warning generated.


vim +/i2c_do_add_adapter +1420 drivers/i2c/i2c-core-base.c

9c1600eda42e52 drivers/i2c/i2c-core.c David Brownell 2007-05-01  1419  
69b0089a6750a0 drivers/i2c/i2c-core.c Jean Delvare   2009-12-06 @1420  static int i2c_do_add_adapter(struct i2c_driver *driver,
69b0089a6750a0 drivers/i2c/i2c-core.c Jean Delvare   2009-12-06  1421  			      struct i2c_adapter *adap)
026526f5afcd42 drivers/i2c/i2c-core.c Jean Delvare   2008-01-27  1422  {
4735c98f8447ac drivers/i2c/i2c-core.c Jean Delvare   2008-07-14  1423  	/* Detect supported devices on that bus, and instantiate them */
4735c98f8447ac drivers/i2c/i2c-core.c Jean Delvare   2008-07-14  1424  	i2c_detect(adap, driver);
4735c98f8447ac drivers/i2c/i2c-core.c Jean Delvare   2008-07-14  1425  
026526f5afcd42 drivers/i2c/i2c-core.c Jean Delvare   2008-01-27  1426  	return 0;
026526f5afcd42 drivers/i2c/i2c-core.c Jean Delvare   2008-01-27  1427  }
026526f5afcd42 drivers/i2c/i2c-core.c Jean Delvare   2008-01-27  1428  

:::::: The code at line 1420 was first introduced by commit
:::::: 69b0089a6750a0435570df3ba8456c77b352af55 i2c: Refactor for_each callbacks

:::::: TO: Jean Delvare <khali@linux-fr.org>
:::::: CC: Jean Delvare <khali@linux-fr.org>

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

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

only message in thread, other threads:[~2025-02-19 17:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-19 17:37 drivers/i2c/i2c-core-base.c:1420:12: warning: stack frame size (1040) exceeds limit (1024) in 'i2c_do_add_adapter' 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