diff options
author | Christian Gmeiner <christian.gmeiner@gmail.com> | 2018-07-30 14:22:07 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-08-10 20:45:34 +0300 |
commit | 60a4df32623a77f1bfb6f7361fe2442f03c69edb (patch) | |
tree | 5efb051ebcc5c9df3c46950300b1e2a2cab59dc8 /lib | |
parent | 5113ff8a910406af0412e5618e87bdd55e07c97e (diff) | |
download | u-boot-60a4df32623a77f1bfb6f7361fe2442f03c69edb.tar.xz |
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.c | 1 |
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; } |