Re: [PATCH] hw_random: Make explicit that max >= 32 always

2016-11-21 Thread Herbert Xu
On Fri, Nov 18, 2016 at 11:00:10PM +0530, PrasannaKumar Muralidharan wrote: > As hw_random core calls ->read with max > 32 or more, make it explicit. > Also remove checks involving 'max' being less than 8. > > Signed-off-by: PrasannaKumar Muralidharan Patch applied.

[PATCH] hw_random: Make explicit that max >= 32 always

2016-11-18 Thread PrasannaKumar Muralidharan
As hw_random core calls ->read with max > 32 or more, make it explicit. Also remove checks involving 'max' being less than 8. Signed-off-by: PrasannaKumar Muralidharan --- drivers/char/hw_random/msm-rng.c | 4 drivers/char/hw_random/pic32-rng.c | 3 ---