On Wed, May 10, 2017 at 03:26:06PM -0400, Tom Rini wrote:

> We will see warnings such as:
> net/eth_common.c:57:61: warning: data argument not used by format string 
> [-Wformat-extra-args]
>         sprintf(enetvar, index ? "%s%daddr" : "%saddr", base_name, index);
>                                               ~~~~~~~~             ^
> With clang.  In this case we do not want to re-write our code to be less
> compact as the above is intentional and readable.  Add a comment above
> the disabling so that it's clear why we want that warning off.
> 
> Signed-off-by: Tom Rini <[email protected]>

Applied to u-boot/master, thanks!

-- 
Tom

Attachment: signature.asc
Description: Digital signature

_______________________________________________
U-Boot mailing list
[email protected]
https://lists.denx.de/listinfo/u-boot

Reply via email to