mirror of
https://github.com/linux-sunxi/u-boot-sunxi.git
synced 2024-02-12 11:16:03 +08:00
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>
This commit is contained in:

committed by
Tom Rini

parent
5113ff8a91
commit
60a4df3262
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user