The compilation worked fine, when I removed the
but, then (of course) the linking failed which I noticed
a little bit later when I inserted the kernel module.
(It could not link put_user())
My current workaround is to copy
directly into the source code and then everything
But it is not a very portable module ;-)