linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [linux-next:master 5637/8469] kernel/trace/trace_events_hist.c:4729:12: warning: stack frame size of 1440 bytes in function 'hist_show'
@ 2021-03-29 14:02 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-03-29 14:02 UTC (permalink / raw)
  To: Miguel Ojeda
  Cc: kbuild-all, clang-built-linux, Linux Memory Management List,
	Alex Gaynor, Geoffrey Thomas, Finn Behrens, Wedson Almeida Filho,
	Adam Bratschi-Kaye

[-- Attachment #1: Type: text/plain, Size: 3762 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   9d49ed9ca93b8c564033c1d6808017bc9052b5db
commit: 98898dfbdf722e64b6c092d16d217b8e88a01347 [5637/8469] Rust support
config: powerpc-randconfig-r023-20210329 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 2a28d1d3b7bf2062288b46af34e33ccc543a99fa)
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 powerpc cross compiling tool for clang build
        # apt-get install binutils-powerpc-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=98898dfbdf722e64b6c092d16d217b8e88a01347
        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 98898dfbdf722e64b6c092d16d217b8e88a01347
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=powerpc 

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 >>):

>> kernel/trace/trace_events_hist.c:4729:12: warning: stack frame size of 1440 bytes in function 'hist_show' [-Wframe-larger-than=]
   static int hist_show(struct seq_file *m, void *v)
              ^
   1 warning generated.


vim +/hist_show +4729 kernel/trace/trace_events_hist.c

52a7f16dedff8f Tom Zanussi      2016-03-03  4728  
52a7f16dedff8f Tom Zanussi      2016-03-03 @4729  static int hist_show(struct seq_file *m, void *v)
52a7f16dedff8f Tom Zanussi      2016-03-03  4730  {
52a7f16dedff8f Tom Zanussi      2016-03-03  4731  	struct event_trigger_data *data;
52a7f16dedff8f Tom Zanussi      2016-03-03  4732  	struct trace_event_file *event_file;
52a7f16dedff8f Tom Zanussi      2016-03-03  4733  	int n = 0, ret = 0;
52a7f16dedff8f Tom Zanussi      2016-03-03  4734  
52a7f16dedff8f Tom Zanussi      2016-03-03  4735  	mutex_lock(&event_mutex);
52a7f16dedff8f Tom Zanussi      2016-03-03  4736  
52a7f16dedff8f Tom Zanussi      2016-03-03  4737  	event_file = event_file_data(m->private);
52a7f16dedff8f Tom Zanussi      2016-03-03  4738  	if (unlikely(!event_file)) {
52a7f16dedff8f Tom Zanussi      2016-03-03  4739  		ret = -ENODEV;
52a7f16dedff8f Tom Zanussi      2016-03-03  4740  		goto out_unlock;
52a7f16dedff8f Tom Zanussi      2016-03-03  4741  	}
52a7f16dedff8f Tom Zanussi      2016-03-03  4742  
aeed8aa3874dc1 Masami Hiramatsu 2019-12-20  4743  	list_for_each_entry(data, &event_file->triggers, list) {
52a7f16dedff8f Tom Zanussi      2016-03-03  4744  		if (data->cmd_ops->trigger_type == ETT_EVENT_HIST)
52a7f16dedff8f Tom Zanussi      2016-03-03  4745  			hist_trigger_show(m, data, n++);
52a7f16dedff8f Tom Zanussi      2016-03-03  4746  	}
52a7f16dedff8f Tom Zanussi      2016-03-03  4747  
7ef224d1d0e3a1 Tom Zanussi      2016-03-03  4748   out_unlock:
7ef224d1d0e3a1 Tom Zanussi      2016-03-03  4749  	mutex_unlock(&event_mutex);
7ef224d1d0e3a1 Tom Zanussi      2016-03-03  4750  
7ef224d1d0e3a1 Tom Zanussi      2016-03-03  4751  	return ret;
7ef224d1d0e3a1 Tom Zanussi      2016-03-03  4752  }
7ef224d1d0e3a1 Tom Zanussi      2016-03-03  4753  

:::::: The code at line 4729 was first introduced by commit
:::::: 52a7f16dedff8f23d03df3ea556dec95b92a5801 tracing: Add support for multiple hist triggers per event

:::::: TO: Tom Zanussi <tom.zanussi@linux.intel.com>
:::::: CC: Steven Rostedt <rostedt@goodmis.org>

---
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: 42543 bytes --]

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

only message in thread, other threads:[~2021-03-29 14:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-29 14:02 [linux-next:master 5637/8469] kernel/trace/trace_events_hist.c:4729:12: warning: stack frame size of 1440 bytes in function 'hist_show' 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).