raid0.c:functions raid0_run() line: 317
error: when cur > conf->nr_strip_zones
(first zone is large, next some zones is small,
so conf->hash_spaing is larger than the sum of next small zones),
it would access an invalid address;
fixed: while(size <= conf->hash_spacing ) -->
while(size <= conf->hash_spacing && cur < conf->nr_strip_zones -1)
type error: functions raid0_status() ,line 476:
lost word seq ;
Steps to reproduce:
How is it working for you these days? Any better with new kernels?
The first problem was fixed by making the enclosing loop iterate once less often
(it starts i=1 instead of i=0).
The second is error is still present in the code but as the code is in an #ifdef that is never selected, it isn't a problem in practice. Nevertheless I will
submit a patch to fix it.
Created attachment 12921 [details]
Patch that will be submitted upstream