aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2011-02-26 15:55:24 +0300
committerMatthew Garrett <mjg@redhat.com>2011-03-28 06:07:25 -0400
commit31f007598cc547ba3239524470386af8ae5f1c13 (patch)
treee220633213d9a55c0380a2f0202b6467cdd37e06 /tools/perf/scripts/python
parentsony-laptop: return negative on failure in sony_nc_add() (diff)
downloadlinux-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