fixed nearly all kernel compiler warnings