From: Christian Gmeiner Date: Mon, 30 Jul 2018 11:22:07 +0000 (+0200) Subject: smbios: fix checkstyle warning X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=60a4df32623a77f1bfb6f7361fe2442f03c69edb;p=project%2Fbcm63xx%2Fu-boot.git 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 --- 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; }