[U-Boot] [PATCH 2/2] smbios: fix checkstyle warning

Christian Gmeiner christian.gmeiner at gmail.com
Mon Jul 30 11:22:07 UTC 2018


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 at gmail.com>
---
 lib/smbios.c | 1 +
 1 file changed, 1 insertion(+)

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;
 	}
-- 
2.17.1



More information about the U-Boot mailing list