summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2016-04-27 06:22:21 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-04-28 16:18:18 +0300
commitd708b384c06dddeb35d46a6127c08a7403fa2faf (patch)
treeb64b0b9f614ed7432a03c1bb6e6b0b6820cede8d /net/unix/af_unix.c
parent46e7a4e18397649fe1b9007ad99707d960eb138e (diff)
downloadlinux-d708b384c06dddeb35d46a6127c08a7403fa2faf.tar.xz
PM / OPP: -ENOSYS is applicable only to syscalls
Some of the routines have used -ENOSYS for the cases where the functionality isn't implemented in the kernel. But ENOSYS is supposed to be used only for syscalls. Replace that with -ENOTSUPP, which specifically means that the operation isn't supported. While at it, replace exiting -EINVAL errors for similar cases to -ENOTSUPP. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions