diff options
author | Matei Dibu <matdibu@protonmail.com> | 2022-07-29 10:52:07 +0300 |
---|---|---|
committer | Patrick Georgi <patrick@coreboot.org> | 2022-08-01 09:27:50 +0000 |
commit | 24b7307d9dd686cf12921cb342db8108aa1ce564 (patch) | |
tree | 010cc404d82556eef30a3e05ae031bbf311a6253 /util/amdfwtool/amdfwtool.c | |
parent | b66675d4338fc935e481bb5f77c6bf4f27aedefd (diff) |
drivers/elog: Use format string
clang shows the warning below:
src/drivers/elog/elog.c:171:13: error:
format string is not a string literal
(potentially insecure) [-Werror,-Wformat-security]
elog_debug(msg);
^~~
Found-by: clang (13.0.1)
Change-Id: I3f8949f9ce0c4ef4823530c61c503b0883bb5efc
Signed-off-by: Matei Dibu <matdibu@protonmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/66262
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
Diffstat (limited to 'util/amdfwtool/amdfwtool.c')
0 files changed, 0 insertions, 0 deletions