A few early fixes in kernel build testing
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5734 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
0567ef3a9e
commit
26eaf86d72
@ -117,7 +117,7 @@ uint8_t mpu_log2regionsize(size_t size)
|
||||
|
||||
/* The minimum permitted region size is 16 bytes (log2(16) = 4. */
|
||||
|
||||
for (l2size = 4; l2size < 32 && size > (1 << l2size); size++);
|
||||
for (l2size = 4; l2size < 32 && size > (1 << l2size); l2size++);
|
||||
return l2size;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user