[PATCH 5.10 072/163] random: make more consistent use of integer types