diff options
author | Anssi Hannula <anssi.hannula@gmail.com> | 2006-06-05 00:18:21 -0400 |
---|---|---|
committer | Dmitry Torokhov <dtor_core@ameritech.net> | 2006-06-05 00:18:21 -0400 |
commit | fe65b97a5885a84baa103d7213754ff29e8f872f (patch) | |
tree | a393e8d550c4675b6f6c30bdd41285d2c735b837 /drivers/input/joystick/cobra.c | |
parent | 0f5e560e4523e15f33922de5becd024ccaaff76c (diff) |
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/input/joystick/cobra.c')
0 files changed, 0 insertions, 0 deletions