lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202210140355.5yDpHK6O-lkp@intel.com>
Date:   Fri, 14 Oct 2022 03:42:49 +0800
From:   kernel test robot <lkp@...el.com>
To:     Mark Rutland <mark.rutland@....com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [mark:arm64/ftrace/per-callsite-ops 2/10]
 kernel/trace/ftrace.c:4471:1: warning: 'text_section' attribute directive
 ignored

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git arm64/ftrace/per-callsite-ops
head:   6a9b9a69092588f97ba9a8486fd33b5c54bf3a8c
commit: 6f686ce2c62de43ca39fd219b9e38a2962bb353f [2/10] WIP: arm64: ftrace: use pre-function NOPs
config: parisc-allyesconfig
compiler: hppa-linux-gcc (GCC) 12.1.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
        # https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git/commit/?id=6f686ce2c62de43ca39fd219b9e38a2962bb353f
        git remote add mark https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git
        git fetch --no-tags mark arm64/ftrace/per-callsite-ops
        git checkout 6f686ce2c62de43ca39fd219b9e38a2962bb353f
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=parisc SHELL=/bin/bash kernel/trace/

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@...el.com>

All warnings (new ones prefixed by >>):

   kernel/trace/ftrace.c:299:5: warning: no previous prototype for '__register_ftrace_function' [-Wmissing-prototypes]
     299 | int __register_ftrace_function(struct ftrace_ops *ops)
         |     ^~~~~~~~~~~~~~~~~~~~~~~~~~
   kernel/trace/ftrace.c:342:5: warning: no previous prototype for '__unregister_ftrace_function' [-Wmissing-prototypes]
     342 | int __unregister_ftrace_function(struct ftrace_ops *ops)
         |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
   kernel/trace/ftrace.c:4011:15: warning: no previous prototype for 'arch_ftrace_match_adjust' [-Wmissing-prototypes]
    4011 | char * __weak arch_ftrace_match_adjust(char *str, const char *search)
         |               ^~~~~~~~~~~~~~~~~~~~~~~~
>> kernel/trace/ftrace.c:4471:1: warning: 'text_section' attribute directive ignored [-Wattributes]
    4471 | core_initcall(ftrace_mod_cmd_init);
         | ^~~~~~~~~~~~~
   kernel/trace/ftrace.c:8441:1: warning: 'text_section' attribute directive ignored [-Wattributes]
    8441 | late_initcall(ftrace_sysctl_init);
         | ^~~~~~~~~~~~~


vim +/text_section +4471 kernel/trace/ftrace.c

f6180773d905956 Steven Rostedt 2009-02-14  4466  
f6180773d905956 Steven Rostedt 2009-02-14  4467  static int __init ftrace_mod_cmd_init(void)
f6180773d905956 Steven Rostedt 2009-02-14  4468  {
f6180773d905956 Steven Rostedt 2009-02-14  4469  	return register_ftrace_command(&ftrace_mod_cmd);
f6180773d905956 Steven Rostedt 2009-02-14  4470  }
6f4156723c084bf Steven Rostedt 2012-10-05 @4471  core_initcall(ftrace_mod_cmd_init);
f6180773d905956 Steven Rostedt 2009-02-14  4472  

:::::: The code at line 4471 was first introduced by commit
:::::: 6f4156723c084bfc0c0f72205c541fafb8ad3ded tracing: Allow tracers to start at core initcall

:::::: TO: Steven Rostedt <srostedt@...hat.com>
:::::: CC: Steven Rostedt <rostedt@...dmis.org>

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

View attachment "config" of type "text/plain" (315945 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ