On Tue, Jul 14, 2020 at 4:30 PM Hans de Goede <hdegoede@xxxxxxxxxx> wrote: > On 7/14/20 12:42 PM, Andy Shevchenko wrote: ... > > + kernbuf = strndup_user(userbuf, min_t(long, count, PAGE_SIZE)); > This is not going to work: You are right! > Can we please just go with the revert for now? Yes, I have reverted it. Sorry for troubles. -- With Best Regards, Andy Shevchenko