On Friday, April 22, 2016 08:46:51 AM Viresh Kumar wrote:
Some of the routines have use -ENOSYS, which is supposed to be used only
for syscalls. Replace that with -EINVAL.
-EINVAL specifically means "invalid argument".
What about using -ENXIO instead?