Fixes various compiler warnings and one array index bug produced by my x86_64-linux-musl-gcc (version 9.2.0) compiler on macOS.
On another note, if the optimization were changed from -O2 to -Os in Makefile, the kernel size is reduced by ~25k bytes. I have found that in most cases optimizing for size is also quicker than -O2. Is reducing produced kernel size important enough to change this setting? I have been running with -Os without problems? Let me know and I can push that change as well.
Fixes various compiler warnings and one array index bug produced by my
x86_64-linux-musl-gcc
(version 9.2.0) compiler on macOS.On another note, if the optimization were changed from
-O2
to-Os
in Makefile, the kernel size is reduced by ~25k bytes. I have found that in most cases optimizing for size is also quicker than -O2. Is reducing produced kernel size important enough to change this setting? I have been running with -Os without problems? Let me know and I can push that change as well.