[PATCH] drivers/base - fix sparse warnings