[PATCH] net: cpsw: Add __maybe_unused to generated inlines

Lokesh Vutla lokeshvutla at ti.com
Thu Jun 18 15:52:28 CEST 2020



On 05/06/20 1:35 am, Tom Rini wrote:
> We generate a number of helper inline functions to make accesses easier.
> However not all permutations of each function will be used and clang
> will warn about unused ones.  Decorate all of them with __maybe_unused
> because of this.
> 
> Cc: Lokesh Vutla <lokeshvutla at ti.com>
> Signed-off-by: Tom Rini <trini at konsulko.com>

Applied to u-boot-ti next.

Thanks and regards,
Lokesh



More information about the U-Boot mailing list