diff options
author | Peter Zijlstra <peterz@infradead.org> | 2022-11-17 00:40:17 +0300 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2022-11-24 13:09:18 +0300 |
commit | 1af6239d1d3e61d33fd2f0ba53d3d1a67cc50574 (patch) | |
tree | a495c9cbbbffe8ae587a19b0df0a33187ea6c8b4 /arch/x86 | |
parent | 634a9d5ec78ae2899725950dfb97b98ce7a2f0e4 (diff) | |
download | linux-1af6239d1d3e61d33fd2f0ba53d3d1a67cc50574.tar.xz |
perf: Fix function pointer case
With the advent of CFI it is no longer acceptible to cast function
pointers.
The robot complains thusly:
kernel-events-core.c:warning:cast-from-int-(-)(struct-perf_cpu_pmu_context-)-to-remote_function_f-(aka-int-(-)(void-)-)-converts-to-incompatible-function-type
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Diffstat (limited to 'arch/x86')
0 files changed, 0 insertions, 0 deletions