diff options
author | Enric Balletbo i Serra | 2020-04-14 22:12:39 +0200 |
---|---|---|
committer | Benson Leung | 2020-05-04 14:02:01 -0700 |
commit | bbb7ad49b8350b79261ce087c8e101d92f15533d (patch) | |
tree | 6ea154b269bba2f066cc289b43c36302f22a69b7 /Documentation/devicetree | |
parent | c032699ef9d59bf9f953e3bff2eed45839dbbf71 (diff) |
platform/chrome: cros_usbpd_logger: Add __printf annotation to append_str()
This allows the compiler to verify the format strings vs the types of
the arguments. Also, silence the warning (triggered by W=1):
cros_usbpd_logger.c:55:2: warning: function ‘append_str’ might be a
candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format]
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Signed-off-by: Benson Leung <bleung@chromium.org>
Diffstat (limited to 'Documentation/devicetree')
0 files changed, 0 insertions, 0 deletions