@@ -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;
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> --- hw/phb3.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)