On Wed, Aug 29, 2018 at 01:43:15AM +0530, Amit Pundir wrote: > From: "Jason A. Donenfeld" <Jason@xxxxxxxxx> > > commit c440408cf6901eeb2c09563397e24a9097907078 upstream. > > Many times, when a user wants a random number, he wants a random number > of a guaranteed size. So, thinking of get_random_int and get_random_long > in terms of get_random_u32 and get_random_u64 makes it much easier to > achieve this. It also makes the code simpler. > > On 32-bit platforms, get_random_int and get_random_long are both aliased > to get_random_u32. On 64-bit platforms, int->u32 and long->u64. What bug is this fixing that it needs to be in a stable kernel tree? The end result is the same before and after this patch, right? thanks, greg k-h