--- zzzz-none-000/linux-4.1.52/include/linux/dma-attrs.h 2018-05-28 02:26:45.000000000 +0000 +++ bcm63-7530ax-731/linux-4.1.52/include/linux/dma-attrs.h 2022-03-02 11:37:13.000000000 +0000 @@ -68,11 +68,11 @@ return test_bit(attr, attrs->flags); } #else /* !CONFIG_HAVE_DMA_ATTRS */ -static inline void dma_set_attr(enum dma_attr attr, struct dma_attrs *attrs) +static inline void dma_set_attr(enum dma_attr attr __maybe_unused, struct dma_attrs *attrs __maybe_unused) { } -static inline int dma_get_attr(enum dma_attr attr, struct dma_attrs *attrs) +static inline int dma_get_attr(enum dma_attr attr __maybe_unused, struct dma_attrs *attrs __maybe_unused) { return 0; }