diff options
| author | Bill Pemberton <[email protected]> | 2012-10-09 14:18:20 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2012-10-17 14:10:10 -0700 |
| commit | 178e485a0ebbfdb7165b4363d8fea2a07d650c0b (patch) | |
| tree | ff94d339f1dac78e5ab4236cb0bd56ec85516dfa /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | d7c4660c12adc5c66351253af381259686fa08a4 (diff) | |
staging: dgrp: check return value of alloc_tty_driver
alloc_tty_driver was always assumed to succeed. Add code to check the
return value and return -ENOMEM if alloc_tty_driver fails.
Reported-by: Fengguang Wu <[email protected]>
Signed-off-by: Bill Pemberton <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions