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>
This commit is contained in:
Cédric Bosdonnat authored and Wei Liu committed 2016-11-11 02:02:15 +00:00
1 parent 88f21a0c2a
commit 9fdffbbab3
2 files changed
+5 -5

No files matched your search

+4 -4
View File
@@ -123,10 +123,10 @@ static int parse_root_key(struct mem_tpm_mgr *dst, struct disk_seal_entry *src)
struct disk_root_sealed_data sealed;
/*TPM 2.0 unbind | TPM 1.x unseal*/
if (hw_is_tpm2())
rc = TPM2_disk_unbind(&sealed, &olen, src);
else
rc = TPM_disk_unseal(&sealed, sizeof(sealed), src);
if (hw_is_tpm2())
rc = TPM2_disk_unbind(&sealed, &olen, src);
else
rc = TPM_disk_unseal(&sealed, sizeof(sealed), src);
if (rc)
return rc;
+1 -1
View File
@@ -147,5 +147,5 @@ const char* tpm_get_error_name (TPM_RESULT code) {
if (code == error_msgs[i].code)
return error_msgs[i].code_name;
return("Unknown Error Code");
return("Unknown Error Code");
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.