diff options
| author | Tilman Schmidt <[email protected]> | 2009-04-05 06:39:33 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2009-04-06 17:07:57 -0700 |
| commit | 51370e5b21c5825cff7482e1c38f4e7c5dab3e2b (patch) | |
| tree | a20d0e46399d92a72f0056abdb025c63afae53f6 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 368fd81d2db26e3338c7f42778a695510aff31b3 (diff) | |
gigaset: in file ops, check for device disconnect before anything else
When the device is disconnected, the dev structure goes away, so
trying to report another error via dev_printk is bound to oops.
To avoid that, first check whether the device is still connected
and return quietly if it isn't.
Impact: error handling
Signed-off-by: Tilman Schmidt <[email protected]>
Reported-by: Paul Bolle <[email protected]>
Tested-by: Paul Bolle <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions