File xen.9fdffbbab3ada427bac07076f042f0265e5ae05f.patch of Package xen
From: =?UTF-8?q?C=C3=A9dric=20Bosdonnat?= <cbosdonnat@suse.com>
Date: Thu, 10 Nov 2016 10:23:31 +0100
Subject: 9fdffbbab3ada427bac07076f042f0265e5ae05f
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Fix misleading indentation warnings
Gcc6 build reports misleading indentation as warnings. Fix a few
warnings in stubdom.
Signed-off-by: Cédric Bosdonnat <cbosdonnat@suse.com>
Acked-by: Daniel De Graaf <dgdegra@tycho.nsa.gov>
Acked-by: Quan Xu <xuquan8@huawei.com>
Release-acked-by: Wei Liu <wei.liu2@citrix.com>
---
stubdom/vtpmmgr/log.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/stubdom/vtpmmgr/log.c
+++ b/stubdom/vtpmmgr/log.c
@@ -138,14 +138,14 @@ static const error_code_entry_t error_msgs [] = {
{ TPM_TRANSPORT_EXCLUSIVE, "TPM_TRANSPORT_EXCLUSIVE", "There was a command executed outside of an exclusive transport session" },
};
// helper function for the error codes:
const char* tpm_get_error_name (TPM_RESULT code) {
// just do a linear scan for now
unsigned i;
for (i = 0; i < sizeof(error_msgs)/sizeof(error_msgs[0]); i++)
if (code == error_msgs[i].code)
return error_msgs[i].code_name;
- return("Unknown Error Code");
+ return("Unknown Error Code");
}