Hi "Tzvetomir,
[FYI, it's a private test report for your RFC patch.]
[auto build test WARNING on v5.14-rc5]
[also build test WARNING on next-20210810]
[cannot apply to tip/perf/core]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url:
https://github.com/0day-ci/linux/commits/Tzvetomir-Stoyanov-VMware/trace-...
base: 36a21d51725af2ce0700c6ebcb6b9594aac658a6
config: sh-allmodconfig (attached as .config)
compiler: sh4-linux-gcc (GCC) 10.3.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://github.com/0day-ci/linux/commit/e3bec14eb58da9408eba8ccc55c9f5cf4...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
Tzvetomir-Stoyanov-VMware/trace-Add-kprobe-on-tracepoint/20210810-192225
git checkout e3bec14eb58da9408eba8ccc55c9f5cf4e1ff114
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross ARCH=sh
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
In file included from include/linux/sched/signal.h:14,
from include/linux/rcuwait.h:6,
from include/linux/percpu-rwsem.h:7,
from include/linux/fs.h:33,
from include/linux/security.h:29,
from kernel/trace/trace_kprobe.c:10:
kernel/trace/trace_kprobe.c: In function 'process_fetch_insn':
> arch/sh/include/asm/ptrace.h:17:60: warning: dereferencing
'void *' pointer
17 | #define kernel_stack_pointer(_regs) ((unsigned
long)(_regs)->regs[15])
| ^~
kernel/trace/trace_kprobe.c:1340:9: note: in expansion of macro
'kernel_stack_pointer'
1340 | val = kernel_stack_pointer(regs);
| ^~~~~~~~~~~~~~~~~~~~
arch/sh/include/asm/ptrace.h:17:60: error: request for member 'regs' in
something not a structure or union
17 | #define kernel_stack_pointer(_regs) ((unsigned long)(_regs)->regs[15])
| ^~
kernel/trace/trace_kprobe.c:1340:9: note: in expansion of macro
'kernel_stack_pointer'
1340 | val = kernel_stack_pointer(regs);
| ^~~~~~~~~~~~~~~~~~~~
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for SND_ATMEL_SOC_PDC
Depends on SOUND && !UML && SND && SND_SOC &&
SND_ATMEL_SOC && HAS_DMA
Selected by
- SND_ATMEL_SOC_SSC && SOUND && !UML && SND && SND_SOC
&& SND_ATMEL_SOC
- SND_ATMEL_SOC_SSC_PDC && SOUND && !UML && SND &&
SND_SOC && SND_ATMEL_SOC && ATMEL_SSC
vim +17 arch/sh/include/asm/ptrace.h
33f242ed11ce6b include/asm-sh/ptrace.h Paul Mundt 2007-11-09 15
^1da177e4c3f41 include/asm-sh/ptrace.h Linus Torvalds 2005-04-16 16 #define
user_mode(regs) (((regs)->sr & 0x40000000)==0)
eac676e531214f arch/sh/include/asm/ptrace.h Roel Kluin 2011-01-01 @17 #define
kernel_stack_pointer(_regs) ((unsigned long)(_regs)->regs[15])
db7eba292e9133 arch/sh/include/asm/ptrace.h Paul Mundt 2011-05-31 18
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org