[PATCH] random: get rid of sparse warning