[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+G9fYscGFiG1TVLyfETVu3NV5BAe8sCOXRGDnky-w31aB6yVQ@mail.gmail.com>
Date: Mon, 28 Aug 2023 17:57:38 +0530
From: Naresh Kamboju <naresh.kamboju@...aro.org>
To: clang-built-linux <llvm@...ts.linux.dev>, linux-stable <stable@...r.kernel.org>,
lkft-triage@...ts.linaro.org
Cc: Netdev <netdev@...r.kernel.org>, David Miller <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>, Sasha Levin <sashal@...nel.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>, Nathan Chancellor <nathan@...nel.org>,
Nick Desaulniers <ndesaulniers@...gle.com>
Subject: clang: net: qed_main.c:1227:3: error: 'snprintf' will always be
truncated; specified size is 16, but format string expands to at least 18 [-Werror,-Wfortify-source]
[My two cents]
stable-rc linux-6.1.y and linux-6.4.y x86 clang-nightly builds fail with
following warnings / errors.
Build errors:
--------------
drivers/net/ethernet/qlogic/qed/qed_main.c:1227:3: error: 'snprintf'
will always be truncated; specified size is 16, but format string
expands to at least 18 [-Werror,-Wfortify-source]
1227 | snprintf(name, NAME_SIZE, "slowpath-%02x:%02x.%02x",
| ^
1 error generated.
Reported-by: Linux Kernel Functional Testing <lkft@...aro.org>
--
Linaro LKFT
https://lkft.linaro.org
Powered by blists - more mailing lists