On Mon, 17 Sep 2012, Sachin Kamat wrote:
> Return -ENOMEM instead of -1 if memory allocation fails.
> Return -EINVAL instead of -1 for stack overflow and
> underflow errors.
>
> Signed-off-by: Sachin Kamat
> ---
> drivers/hid/hid-core.c |6 +++---
> 1 files changed, 3 insertions(+), 3 delet
Return -ENOMEM instead of -1 if memory allocation fails.
Return -EINVAL instead of -1 for stack overflow and
underflow errors.
Signed-off-by: Sachin Kamat
---
drivers/hid/hid-core.c |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/hid/hid-core.c b/drivers/hid