Skip to content

Clang build fixes for MIPS

Nathan Chancellor linux-mips lkml 1 version Applied

Status from this message: Applied to mips-next.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 14 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/5MIPS: Don't use bc_false uninitialized in __mm_isBranchInstrarch/mips/kernel/branch.c+1 -11 reply
2/5MIPS/ptrace: Update mips_get_syscall_arg's return typearch/mips/include/asm/syscall.h+7 -141 reply
3/5lib/mpi: Fix for building for MIPS32 with Clanglib/mpi/longlong.h+2 -18 replies
4/5lib/mpi: Fix for building for MIPS64 with Clanglib/mpi/longlong.h+2 -13 replies
5/5MIPS: tlbex: Explicitly cast _PAGE_NO_EXEC to a booleanarch/mips/mm/tlbex.c+1 -11 reply

Reviews trailers per patch

None of the 5 patches has a Reviewed-by or Acked-by.

PatchJussi Kivilinna
1/5
2/5
3/5NOT-Signed-off-by
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/5] Clang build fixes for MIPS

Hi all,

As of clang 9.0.0 at r366299 [1], we can build a QEMU bootable malta_defconfig kernel with the following fixes (mostly due to -Werror) and Nick's patch [2]. This has helped catch some potentially dubious behavior with -Wuninitialized, which is stronger than GCC's -Wmaybe-uninitialized.

If there are any comments or concerns, please let me know.

[1]: https://github.com/llvm/llvm-project/commit/7f308af5eeea2d1b24aee0361d39dc43bac4cfe5
[2]: https://lore.kernel.org/lkml/[email protected]/

Cheers,
Nathan