summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorChristian Gmeiner <christian.gmeiner@gmail.com>2018-07-30 13:22:07 +0200
committerTom Rini <trini@konsulko.com>2018-08-10 13:45:34 -0400
commit60a4df32623a77f1bfb6f7361fe2442f03c69edb (patch)
tree5efb051ebcc5c9df3c46950300b1e2a2cab59dc8 /lib
parent5113ff8a910406af0412e5618e87bdd55e07c97e (diff)
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 <christian.gmeiner@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/smbios.c1
1 files changed, 1 insertions, 0 deletions
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;
}