--- zzzz-none-000/linux-2.6.39.4/arch/x86/include/asm/swiotlb.h 2011-08-03 19:43:28.000000000 +0000 +++ puma6-arm-6490-729/linux-2.6.39.4/arch/x86/include/asm/swiotlb.h 2021-11-10 13:23:10.000000000 +0000 @@ -27,6 +27,6 @@ } #endif -static inline void dma_mark_clean(void *addr, size_t size) {} +static inline void dma_mark_clean(void *addr __attribute__((unused)), size_t size __attribute__((unused))) {} #endif /* _ASM_X86_SWIOTLB_H */