diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2025-01-08 20:22:00 +0300 |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2025-01-10 12:26:52 +0300 |
commit | bb2e0fb1e6aa9f737d6e0cbcf6494c51180e6d6d (patch) | |
tree | d6d00e5f622d464c06038379ce4c303be57982a4 /tools/perf/scripts/python/gecko.py | |
parent | 53036937a101b5faeaf98e7438555fa854a1a844 (diff) | |
download | linux-bb2e0fb1e6aa9f737d6e0cbcf6494c51180e6d6d.tar.xz |
m68k: libgcc: Fix lvalue abuse in umul_ppmm()
lib/muldi3.c:53:28: warning: asm output is not an lvalue
lib/muldi3.c:53:28: warning: asm output is not an lvalue
lib/muldi3.c:53:28: error: not addressable
lib/muldi3.c:53:28: warning: generating address of non-lvalue (11)
lib/muldi3.c:53:28: warning: generating address of non-lvalue (11)
Fix the lvalue warnings by replacing the casts on the output operands by
intermediate variables of the right type.
Fix the "not addressable" error by replacing the cast on the second
input operand by an intermediate variable, too. Treat the other input
operand the same for consistency.
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202501030516.uZrwnuQQ-lkp@intel.com/
Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Greg Ungerer <gerg@linux-m68k.org>
Link: https://lore.kernel.org/c408cfb85bfde8929dcaa4ebea29ade4e1452d8e.1736356696.git.geert@linux-m68k.org
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions