Closed gabe-sorensen closed 3 years ago
Thank you for the report!
Ubuntu 20 isn't officially supported yet. The error should not be happening on Ubuntu 18.
The fix is very simple, though, and the code in question can be changed like this to make the error go away:
- copy_to_user(param, &arg, sizeof(arg));
+ int unused = copy_to_user(param, &arg, sizeof(arg));
+ unused = unused;
This is a known issue, and is scheduled for the next release.
Oh ok, I will wait for the next release then, thank you!
I'm seeing this error on an inf1.xlarge instance when trying to install the aws-neuron-dkms driver according to the docs:
Kernel info:
Linux localhost.lan 5.11.0-1019-aws #20~20.04.1-Ubuntu SMP Tue Sep 21 10:40:39 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
I've also tried a previous version (2.0.450.0) and received a similar error: