Staging: bcm: Return -ENOMEM instead of -1 when memory not acquired in nmv.c
authorKevin McKinney <klmckinney1@gmail.com>
Fri, 8 Jun 2012 03:52:42 +0000 (23:52 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Jun 2012 17:50:52 +0000 (10:50 -0700)
This patch changes the return statement on two
conditions where memory could not be acquired.
It returns -ENOMEM instead of -1.

Signed-off-by: Kevin McKinney <klmckinney1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

No differences found