summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMitch Williams <mitch.a.williams@intel.com>2016-04-12 18:30:41 +0300
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2016-04-26 13:43:46 +0300
commitc0913c2e431c86026acba667f8655d90979bb79c (patch)
treef34137149c19a2b360005a5a001d9e187ebb094d /tools/perf/scripts/python
parentc4e1868c3aa1992de1cba600e7083fcd49bd20b8 (diff)
downloadlinux-c0913c2e431c86026acba667f8655d90979bb79c.tar.xz
i40evf: Don't Panic
Under some circumstances the driver remove function may be called before the driver is fully initialized. So we can't assume that we know where our towel is at, or that all of the data structures are initialized. To ensure that we don't panic, check that the vsi_res pointer is valid before dereferencing it. Then drink beer and eat peanuts. Change-ID: If697b4db57348e39f9538793e16aa755e3e1af03 Signed-off-by: Mitch Williams <mitch.a.williams@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions