HV: Fix new MISRAC violations for brackets

Fix remaining 11S and 12S violations. These
are after the 7 patches submitted earlier.

Signed-off-by: Arindam Roy <arindam.roy@intel.com>
This commit is contained in:
Arindam Roy
2018-07-12 16:46:07 -07:00
committed by lijinxia
parent 90b342bd53
commit 944776f238
19 changed files with 123 additions and 70 deletions

View File

@@ -149,9 +149,10 @@ void do_logmsg(uint32_t severity, const char *fmt, ...)
/* switch to sbuf from sos */
do_copy_earlylog(sbuf, early_sbuf);
free_earlylog_sbuf(pcpu_id);
} else
} else {
/* use earlylog sbuf if no sbuf from sos */
sbuf = early_sbuf;
}
}
if (sbuf != NULL) {