--- zzzz-none-000/linux-4.1.52/arch/arm/include/asm/glue-cache.h 2018-05-28 02:26:45.000000000 +0000 +++ bcm63-7530ax-731/linux-4.1.52/arch/arm/include/asm/glue-cache.h 2022-03-02 11:37:12.000000000 +0000 @@ -134,18 +134,18 @@ static inline void nop_flush_kern_cache_all(void) { } static inline void nop_flush_kern_cache_louis(void) { } static inline void nop_flush_user_cache_all(void) { } -static inline void nop_flush_user_cache_range(unsigned long a, - unsigned long b, unsigned int c) { } +static inline void nop_flush_user_cache_range(unsigned long a __maybe_unused, + unsigned long b __maybe_unused, unsigned int c __maybe_unused) { } -static inline void nop_coherent_kern_range(unsigned long a, unsigned long b) { } -static inline int nop_coherent_user_range(unsigned long a, - unsigned long b) { return 0; } -static inline void nop_flush_kern_dcache_area(void *a, size_t s) { } +static inline void nop_coherent_kern_range(unsigned long a __maybe_unused, unsigned long b __maybe_unused) { } +static inline int nop_coherent_user_range(unsigned long a __maybe_unused, + unsigned long b __maybe_unused) { return 0; } +static inline void nop_flush_kern_dcache_area(void *a __maybe_unused, size_t s __maybe_unused) { } -static inline void nop_dma_flush_range(const void *a, const void *b) { } +static inline void nop_dma_flush_range(const void *a __maybe_unused, const void *b __maybe_unused) { } -static inline void nop_dma_map_area(const void *s, size_t l, int f) { } -static inline void nop_dma_unmap_area(const void *s, size_t l, int f) { } +static inline void nop_dma_map_area(const void *s __maybe_unused, size_t l __maybe_unused, int f __maybe_unused) { } +static inline void nop_dma_unmap_area(const void *s __maybe_unused, size_t l __maybe_unused, int f __maybe_unused) { } #endif #ifndef MULTI_CACHE