Am Fri, Feb 04, 2022 at 02:53:25PM +0100 schrieb Jason A. Donenfeld: > This is called from various hwgenerator drivers, so rather than having > one "safe" version for userspace and one "unsafe" version for the > kernel, just make everything safe; the checks are cheap and sensible to > have anyway. > > Cc: Dominik Brodowski <linux@xxxxxxxxxxxxxxxxxxxx> > Reported-by: Sultan Alsawaf <sultan@xxxxxxxxxxxxxxx> > Signed-off-by: Jason A. Donenfeld <Jason@xxxxxxxxx> Reviewed-by: Dominik Brodowski <linux@xxxxxxxxxxxxxxxxxxxx> Thanks, Dominik