diff options
author | Stewart Smith <stewart@linux.vnet.ibm.com> | 2016-07-08 10:38:34 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2016-07-11 13:52:09 +1000 |
commit | c82b51ba56e0f55300e10ad664256af8e63a4f60 (patch) | |
tree | 41e5ffadb4a604aebe48b6955dfdae58732f4036 /hw/phb3.c | |
parent | 4e332aecd8bb46558879bbb7726ec39ec53c4622 (diff) | |
download | skiboot-c82b51ba56e0f55300e10ad664256af8e63a4f60.zip skiboot-c82b51ba56e0f55300e10ad664256af8e63a4f60.tar.gz skiboot-c82b51ba56e0f55300e10ad664256af8e63a4f60.tar.bz2 |
phb3: fix inconsistent indenting
Found by smatch static analysis (http://smatch.sourceforge.net/):
hw/phb3.c:2331 capp_load_ucode() warn: inconsistent indenting
hw/phb3.c:3444 phb3_set_capi_mode() warn: inconsistent indenting
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw/phb3.c')
-rw-r--r-- | hw/phb3.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2328,7 +2328,7 @@ static int64_t capp_load_ucode(struct phb3 *p) if ((be64_to_cpu(ucode->eyecatcher) != 0x43415050554C4944) || (ucode->version != 1)) { PHBERR(p, "CAPP: ucode header invalid\n"); - return OPAL_HARDWARE; + return OPAL_HARDWARE; } reg_offset = PHB3_CAPP_REG_OFFSET(p); @@ -3441,7 +3441,7 @@ static int64_t phb3_set_capi_mode(struct phb *phb, uint64_t mode, PHBERR(p, "CAPP: port already in use by another PHB:%x\n", chip->capp_phb3_attached_mask); - unlock(&capi_lock); + unlock(&capi_lock); return false; } chip->capp_phb3_attached_mask = 1 << p->index; |