The patch titled input: use -ENOSPC instead of -ENOMEM in iforce when device full has been the -mm tree. Its filename is input-use-enospc-instead-of-enomem-in-iforce-when-device-full.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ Subject: input: use -ENOSPC instead of -ENOMEM in iforce when device full From: Anssi Hannula <anssi.hannula@xxxxxxxxx> Use -ENOSPC instead of -ENOMEM when the iforce device doesn't have enough free memory for the new effect. All other drivers are already been using -ENOSPC, so this makes the behaviour coherent. Signed-off-by: Anssi Hannula <anssi.hannula@xxxxxxxxx> Cc: Dmitry Torokhov <dtor_core@xxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- drivers/input/joystick/iforce/iforce-ff.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff -puN drivers/input/joystick/iforce/iforce-ff.c~input-use-enospc-instead-of-enomem-in-iforce-when-device-full drivers/input/joystick/iforce/iforce-ff.c --- devel/drivers/input/joystick/iforce/iforce-ff.c~input-use-enospc-instead-of-enomem-in-iforce-when-device-full 2006-06-01 20:26:41.000000000 -0700 +++ devel-akpm/drivers/input/joystick/iforce/iforce-ff.c 2006-06-01 20:26:41.000000000 -0700 @@ -47,7 +47,7 @@ static int make_magnitude_modifier(struc iforce->device_memory.start, iforce->device_memory.end, 2L, NULL, NULL)) { mutex_unlock(&iforce->mem_mutex); - return -ENOMEM; + return -ENOSPC; } mutex_unlock(&iforce->mem_mutex); } @@ -80,7 +80,7 @@ static int make_period_modifier(struct i iforce->device_memory.start, iforce->device_memory.end, 2L, NULL, NULL)) { mutex_unlock(&iforce->mem_mutex); - return -ENOMEM; + return -ENOSPC; } mutex_unlock(&iforce->mem_mutex); } @@ -120,7 +120,7 @@ static int make_envelope_modifier(struct iforce->device_memory.start, iforce->device_memory.end, 2L, NULL, NULL)) { mutex_unlock(&iforce->mem_mutex); - return -ENOMEM; + return -ENOSPC; } mutex_unlock(&iforce->mem_mutex); } @@ -157,7 +157,7 @@ static int make_condition_modifier(struc iforce->device_memory.start, iforce->device_memory.end, 2L, NULL, NULL)) { mutex_unlock(&iforce->mem_mutex); - return -ENOMEM; + return -ENOSPC; } mutex_unlock(&iforce->mem_mutex); } _ Patches currently in -mm which might be from anssi.hannula@xxxxxxxxx are git-input.patch input-move-fixp-arithh-to-drivers-input.patch input-new-force-feedback-interface.patch input-adapt-hid-force-feedback-drivers-for-the-new-interface.patch input-adapt-uinput-for-the-new-force-feedback-interface.patch input-adapt-iforce-driver-for-the-new-force-feedback-interface.patch input-force-feedback-driver-for-pid-devices.patch input-force-feedback-driver-for-zeroplus-devices.patch input-update-documentation-of-force-feedback.patch input-drop-the-remains-of-the-old-ff-interface.patch input-drop-the-old-pid-driver.patch input-fix-comments-and-blank-lines-in-new-ff-code.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html