projects
/
profile
/
ivi
/
kernel-adaptation-intel-automotive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ore: signedness bug in _sp2d_min_pg()
[profile/ivi/kernel-adaptation-intel-automotive.git]
/
fs
/
exofs
/
ore_raid.c
diff --git
a/fs/exofs/ore_raid.c
b/fs/exofs/ore_raid.c
index
5f376d1
..
b963f38
100644
(file)
--- a/
fs/exofs/ore_raid.c
+++ b/
fs/exofs/ore_raid.c
@@
-203,7
+203,7
@@
static unsigned _sp2d_min_pg(struct __stripe_pages_2d *sp2d)
static unsigned _sp2d_max_pg(struct __stripe_pages_2d *sp2d)
{
-
unsigned
p;
+
int
p;
for (p = sp2d->pages_in_unit - 1; p >= 0; --p) {
struct __1_page_stripe *_1ps = &sp2d->_1p_stripes[p];