diff options
author | Kevin McKinney <klmckinney1@gmail.com> | 2012-06-07 23:52:42 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-06-12 10:50:52 -0700 |
commit | 7dd80eb925a5aac4ebe8b1abec20802e91f60c2e (patch) | |
tree | a9805683859f364a3c71fb57d27c5ca3b0aa6020 /drivers/staging/winbond/mds_s.h | |
parent | Staging: bcm: Use udelay instead of msleep for delays in nvm.c (diff) | |
download | linux-dev-7dd80eb925a5aac4ebe8b1abec20802e91f60c2e.tar.xz linux-dev-7dd80eb925a5aac4ebe8b1abec20802e91f60c2e.zip |
Staging: bcm: Return -ENOMEM instead of -1 when memory not acquired in nmv.c
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>
Diffstat (limited to 'drivers/staging/winbond/mds_s.h')
0 files changed, 0 insertions, 0 deletions