On Sun, 19 Jul 2020 14:15:36 +0200, Richard Sailer said: > > If that were true, you wouldn't need to pass the 'amount' variable.... > > > Hmm, that would make no sense to me. arg is a pointer to user space > memory, put_user would still need the value to copy to that memory. -ENOCAFFEINE. :) I was thinking copy_(to/from)_user, not get/put. I will now depart for the grocery store and obtain a supply of caffeine :)
Attachment:
pgp5sl45NsimG.pgp
Description: PGP signature
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies