Input: iforce - use ENOSPC instead of ENOMEM
authorAnssi Hannula <anssi.hannula@gmail.com>
Mon, 5 Jun 2006 04:18:21 +0000 (00:18 -0400)
committerDmitry Torokhov <dtor_core@ameritech.net>
Mon, 5 Jun 2006 04:18:21 +0000 (00:18 -0400)
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>

No differences found