diff options
| author | Will Newton <[email protected]> | 2008-12-01 11:36:06 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2008-12-01 08:19:10 -0800 |
| commit | 296fa7f6a3f3342d40df7713e74246198295654b (patch) | |
| tree | 01ba0ee814b6281ea22bfd33885e18741d7234c4 /tools/perf/scripts/python | |
| parent | b4dcfbee3b536c9125762e8f6681ac6be0e9256b (diff) | |
drivers/char/tty_io.c: Avoid panic when no console is configured.
When no console is configured tty_open tries to call kref_get on a NULL
pointer, return ENODEV instead.
Signed-off-by: Will Newton <[email protected]>
Signed-off-by: Alan Cox <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions