aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorJiri Slaby <[email protected]>2012-03-05 14:52:54 +0100
committerGreg Kroah-Hartman <[email protected]>2012-03-08 12:51:13 -0800
commitfc258f89405f63b379324d1f8388ae4810297997 (patch)
tree7027aadb38d74ff01e24c759339e75b16e0515dd /tools/perf/scripts/python/syscall-counts-by-pid.py
parent5dd5bc40f3b6e0ccdaad948dbadc94ad0906cb25 (diff)
TTY: isdn/gigaset, do not set tty->driver_data to NULL
Close the window in open where driver_data is reset to NULL on each open. It could cause other processes to get invalid retval from the tty->ops operations because of the checks all over the code. With this change we may do other cleanups. Now, the only valid check for tty->driver_data != NULL is in close. This can happen only if open fails at gigaset_get_cs_by_tty or try_module_get. The rest of checks in various tty->ops->* are invalid as driver_data cannot be NULL there. The same holds for cs->open_count. So remove them. Signed-off-by: Jiri Slaby <[email protected]> Cc: Hansjoerg Lipp <[email protected]> Cc: Tilman Schmidt <[email protected]> Cc: [email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions