Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux

Pull arm64 fixes from Catalin Marinas:
"Fix two compiler warnings introduced by recent commits: pointer
arithmetic and double initialisation of struct field"

* tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux:
arm64: errata: avoid duplicate field initializer
arm64: fix clang warning about TRAMP_VALIAS

+2 -3
+2 -2
arch/arm64/include/asm/vectors.h
··· 56 56 DECLARE_PER_CPU_READ_MOSTLY(const char *, this_cpu_vector); 57 57 58 58 #ifndef CONFIG_UNMAP_KERNEL_AT_EL0 59 - #define TRAMP_VALIAS 0 59 + #define TRAMP_VALIAS 0ul 60 60 #endif 61 61 62 62 static inline const char * 63 63 arm64_get_bp_hardening_vector(enum arm64_bp_harden_el1_vectors slot) 64 64 { 65 65 if (arm64_kernel_unmapped_at_el0()) 66 - return (char *)TRAMP_VALIAS + SZ_2K * slot; 66 + return (char *)(TRAMP_VALIAS + SZ_2K * slot); 67 67 68 68 WARN_ON_ONCE(slot == EL1_VECTOR_KPTI); 69 69
-1
arch/arm64/kernel/cpu_errata.c
··· 611 611 { 612 612 .desc = "ARM erratum 2077057", 613 613 .capability = ARM64_WORKAROUND_2077057, 614 - .type = ARM64_CPUCAP_LOCAL_CPU_ERRATUM, 615 614 ERRATA_MIDR_REV_RANGE(MIDR_CORTEX_A510, 0, 0, 2), 616 615 }, 617 616 #endif