Fix a few more warnings

Some are important, e.g. the seemingly harmless braces around if with dprintf,
since that dprintf is defined as empty, will screw things up and grab the next
line

Change-Id: Ie5e1cf813178ad708ff42ae5e477fbc96034471c
This commit is contained in:
Dominique Martinet
2018-06-12 15:21:15 +09:00
committed by Dominique Martinet
parent 0994c3300e
commit 6df4bd8f8c
7 changed files with 29 additions and 18 deletions

View File

@@ -547,7 +547,7 @@ static void *mckernel_allocate_aligned_pages_node(int npages, int p2align,
ihk_mc_ap_flag flag, int pref_node, int is_user, uintptr_t virt_addr)
{
unsigned long pa = 0;
int i, node;
int i = 0, node;
#ifndef IHK_RBTREE_ALLOCATOR
struct ihk_page_allocator_desc *pa_allocator;
#endif