diff options
author | Jeremy Compostella <jeremy.compostella@intel.com> | 2023-05-11 13:20:11 -0700 |
---|---|---|
committer | Felix Singer <service+coreboot-gerrit@felixsinger.de> | 2023-05-15 16:35:27 +0000 |
commit | 33f9170dae59116f74a8189f2516cc12c8f90c15 (patch) | |
tree | 8ee731ec129244d63befbe6e2c8cc71a25dd0fa6 /src/mainboard/google/hatch/chromeos.c | |
parent | 9d7e25e544689913d7fefc36c99783190095cfbf (diff) |
commonlib: compiler.h: Add __printf macro
This patch adds the `__printf' macro to comply with checkpatch
following warning:
Prefer __printf(1, 2) over __attribute__((format(printf, 1, 2)))
BRANCH=firmware-brya-14505.B
TEST=Successful compilation with `__printf(1, 2)' instead of
`__attribute__((format(printf, 1, 2)))'
Change-Id: Ic2d90478ab0955c2ad0955e8cff5be76bfb2e741
Signed-off-by: Jeremy Compostella <jeremy.compostella@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/75159
Reviewed-by: Cliff Huang <cliff.huang@intel.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
Diffstat (limited to 'src/mainboard/google/hatch/chromeos.c')
0 files changed, 0 insertions, 0 deletions