mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 20:42:56 +01:00
Follow gcc's suggestions about using braces
This commit is contained in:
@@ -560,13 +560,15 @@ static void test_resources()
|
||||
{ 0xdfd0, 16, false},
|
||||
};
|
||||
|
||||
for (unsigned i = 0; i < MAX_ROUNDS; ++i)
|
||||
if (round[i].req)
|
||||
for (unsigned i = 0; i < MAX_ROUNDS; ++i) {
|
||||
if (round[i].req) {
|
||||
PDBG("mreq [%04lx,%04lx) => %d",
|
||||
round[i].a, round[i].a + round[i].s, dde_kit_request_io(round[i].a, round[i].s));
|
||||
else
|
||||
} else {
|
||||
PDBG("mrel [%04lx,%04lx) => %d",
|
||||
round[i].a, round[i].a + round[i].s, dde_kit_release_io(round[i].a, round[i].s));
|
||||
}
|
||||
}
|
||||
|
||||
dde_kit_addr_t vaddr; int ret;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user