kernel: Fix few build warnings

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
build: Fix some warnings with GCC 4.9.2

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
build: New era

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>