]> git.baikalelectronics.ru Git - 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)
commit3bc4e04c56b6bf377a402c36cf372ae52c35bbd8
tree655ae8ea8c80bcc3430e306cae2e8e173b931490
parentfdfb92f545b8893dfa8359482f3f6ec4b9fd8634
mailbox: Stop using ENOSYS for anything other than unimplemented syscalls

In accordance with b61733036027 ("errno.h: Improve ENOSYS's comment") and
dca1f735ade3 ("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