Skip to content

Commit

Permalink
Suggestion for code style fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
fmmedeiros authored Nov 18, 2017
1 parent 2ce079f commit 695e7ce
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions arch/x86/kvm/i8259.c
Original file line number Diff line number Diff line change
Expand Up @@ -425,14 +425,16 @@ static u32 pic_ioport_read(void *opaque, u32 addr)
if (s->poll) {
ret = pic_poll_read(s, addr);
s->poll = 0;
} else
if ((addr & 1) == 0)
} else {
if ((addr & 1) == 0) {
if (s->read_reg_select)
ret = s->isr;
else
ret = s->irr;
else
} else {
ret = s->imr;
}
}
return ret;
}

Expand Down

1 comment on commit 695e7ce

@elig0n
Copy link

@elig0n elig0n commented on 695e7ce Mar 15, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you have indents for that

Please sign in to comment.