diff options
author | 2011-02-26 15:55:24 +0300 | |
---|---|---|
committer | 2011-03-28 06:07:25 -0400 | |
commit | 31f007598cc547ba3239524470386af8ae5f1c13 (patch) | |
tree | e220633213d9a55c0380a2f0202b6467cdd37e06 /tools/perf/scripts/python | |
parent | sony-laptop: return negative on failure in sony_nc_add() (diff) | |
download | linux-dev-31f007598cc547ba3239524470386af8ae5f1c13.tar.xz linux-dev-31f007598cc547ba3239524470386af8ae5f1c13.zip |
sony-laptop: handle allocation failures
Return -ENOMEM if kzalloc() fails. The callers already handle error
returns.
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions