From 60a4df32623a77f1bfb6f7361fe2442f03c69edb Mon Sep 17 00:00:00 2001 From: Christian Gmeiner Date: Mon, 30 Jul 2018 13:22:07 +0200 Subject: [PATCH] smbios: fix checkstyle warning Fixes the following checkstyle warning: WARNING: Missing a blank line after declarations + int tmp = smbios_write_funcs[i]((ulong *)&addr, handle++); + max_struct_size = max(max_struct_size, tmp); Signed-off-by: Christian Gmeiner Reviewed-by: Simon Glass --- lib/smbios.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/smbios.c b/lib/smbios.c index 40c921984c..326eb00230 100644 --- a/lib/smbios.c +++ b/lib/smbios.c @@ -278,6 +278,7 @@ ulong write_smbios_table(ulong addr) /* populate minimum required tables */ for (i = 0; i < ARRAY_SIZE(smbios_write_funcs); i++) { int tmp = smbios_write_funcs[i]((ulong *)&addr, handle++); + max_struct_size = max(max_struct_size, tmp); len += tmp; } -- 2.25.1