diff options
author | Anssi Hannula <anssi.hannula@gmail.com> | 2006-06-05 06:18:21 +0200 |
---|---|---|
committer | Dmitry Torokhov <dtor_core@ameritech.net> | 2006-06-05 06:18:21 +0200 |
commit | fe65b97a5885a84baa103d7213754ff29e8f872f (patch) | |
tree | a393e8d550c4675b6f6c30bdd41285d2c735b837 /drivers/base/core.c | |
parent | Input: constify drivers/char/keyboard.c (diff) | |
download | linux-fe65b97a5885a84baa103d7213754ff29e8f872f.tar.xz linux-fe65b97a5885a84baa103d7213754ff29e8f872f.zip |
Input: iforce - use ENOSPC instead of ENOMEM
Use -ENOSPC instead of -ENOMEM when the iforce device doesn't have
enough free memory for the new effect. All other drivers are using
-ENOSPC, so this makes the behaviour coherent.
Signed-off-by: Anssi Hannula <anssi.hannula@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/base/core.c')
0 files changed, 0 insertions, 0 deletions