Removed warnings in kernel