summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2017-05-10 15:26:06 -0400
committerTom Rini <trini@konsulko.com>2017-05-12 08:37:40 -0400
commit9444387838a49c0ad4860eb9531015d836a8a007 (patch)
tree814d7db40beeec57c2fc2ae6a92142d0552cfc2c /arch
parent667d6856973c725331f70eb9f36fee8897123316 (diff)
net: Disable the format-extra-args warning
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 <trini@konsulko.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions