smbios: fix checkstyle warning
authorChristian Gmeiner <christian.gmeiner@gmail.com>
Mon, 30 Jul 2018 11:22:07 +0000 (13:22 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 10 Aug 2018 17:45:34 +0000 (13:45 -0400)
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 <christian.gmeiner@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
lib/smbios.c

index 40c921984c9dffca851f8b1077f7d90ee3b0f32e..326eb00230dfd535b33ed425d48a1ecd18d8133e 100644 (file)
@@ -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;
        }