]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
mailbox: Stop using ENOSYS for anything other than unimplemented syscalls
authorLee Jones <lee.jones@linaro.org>
Wed, 23 Mar 2016 14:43:43 +0000 (14:43 +0000)
committerJassi Brar <jaswinder.singh@linaro.org>
Tue, 12 Apr 2016 07:58:32 +0000 (13:28 +0530)
commit0c44d7896cbf9156b8bb10da4f665005622235ae
tree655ae8ea8c80bcc3430e306cae2e8e173b931490
parentd1c2f87c9a8f79fa8816bbe7de98da38eae2be5e
mailbox: Stop using ENOSYS for anything other than unimplemented syscalls

In accordance with e15f431fe2d5 ("errno.h: Improve ENOSYS's comment") and
91c9afaf97ee ("checkpatch.pl: new instances of ENOSYS are errors") we're
converting from the old meaning of: ENOSYS "Function not implemented" to
a more standard EINVAL.

Reported-by: Seraphin Bonnaffe <seraphin.bonnaffe@st.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
drivers/mailbox/mailbox.c