aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2021-03-22 22:48:19 +0100
committerIngo Molnar <mingo@kernel.org>2021-03-23 00:08:02 +0100
commit279d56abc67ed7568168cb31bf1c7d735efc89a7 (patch)
tree891e7ae36f9ae40330a4cd52e2b8d20c88c5adbd /tools/perf/scripts/python/stackcollapse.py
parentx86/msr: Fix wr/rdmsr_safe_regs_on_cpu() prototypes (diff)
downloadwireguard-linux-279d56abc67ed7568168cb31bf1c7d735efc89a7.tar.xz
wireguard-linux-279d56abc67ed7568168cb31bf1c7d735efc89a7.zip
x86/fpu/math-emu: Fix function cast warning
Building with 'make W=1', gcc points out that casting between incompatible function types can be dangerous: arch/x86/math-emu/fpu_trig.c:1638:60: error: cast between incompatible function types from ‘int (*)(FPU_REG *, u_char)’ {aka ‘int (*)(struct fpu__reg *, unsigned char)’} to ‘void (*)(FPU_REG *, u_char)’ {aka ‘void (*)(struct fpu__reg *, unsigned char)’} [-Werror=cast-function-type] 1638 | fprem, fyl2xp1, fsqrt_, fsincos, frndint_, fscale, (FUNC_ST0) fsin, fcos | ^ This one seems harmless, but it is easy enough to work around it by adding an intermediate function that adjusts the return type. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Ingo Molnar <mingo@kernel.org> Link: https://lore.kernel.org/r/20210322214824.974323-1-arnd@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions