diff options
| author | 2015-09-22 02:39:36 +0200 | |
|---|---|---|
| committer | 2015-09-29 04:16:29 +0200 | |
| commit | e98631d83c84adfee9d33f04808a6e0eb2fa0345 (patch) | |
| tree | 2bf0e324750d7e6f91d7861a17a81c4dc15c6291 /scripts/stackusage | |
| parent | staging: wicl1000: remove duplicated operand in OR operation (diff) | |
staging: dgap: fix returned errno code in dgap_parsefile()
The driver is using -1 instead of the -ENOMEM defined macro to specify
that a buffer allocation failed. Since the error number is propagated,
the caller will get a -EPERM which is the wrong error condition.
Also, the smatch tool complains with the following warning:
dgap_parsefile() warn: returning -1 instead of -ENOMEM is sloppy
Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
