aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorOliver Neukum <[email protected]>2014-03-28 11:29:25 +0100
committerGreg Kroah-Hartman <[email protected]>2014-04-16 14:04:59 -0700
commitc637f1fa7b0452b71eebd35d00906d371c04714e (patch)
treee99bb91252f43a54926e3461f552be50a5e0ab38 /tools/perf/util/scripting-engines/trace-event-python.c
parente7eda9329372f5e436e5a9291eb115eab0feae02 (diff)
uas: fix error handling during scsi_scan()
intfdata is set only after scsi_scan(). uas_pre_reset() however needs intfdata to be valid and will follow the NULL pointer killing khubd. intfdata must be preemptively set before the host is registered and undone in the error case. Signed-off-by: Oliver Neukum <[email protected]> Reviewed-by: Hans de Goede <[email protected]> Acked-by: Hans de Goede <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions