How to replace set_fs(KERNEL_DS) for a kernel 5.10.x module driver version

Greg KH greg at
Tue Jan 12 03:56:41 EST 2021

On Tue, Jan 12, 2021 at 08:26:42AM +0000, Jorge Fernandez Monteagudo wrote:
> >> Well, I can summarize as technological debt :( 
> >> I have to maintain an old code and I've been succesful until now with
> >> minimal changes... Is there no way to overcome this?
> >
> >There might be, again, do you have a pointer to your full source for the
> >module?
> >
> Well, I don't know if I'm allowed to share the full source code...
> But, is it not enough with the minimal code I attached to grasp the
> problem?

I'm not allowed to help vendors with closed source kernel modules,

good luck!

greg k-h

More information about the Kernelnewbies mailing list