diff options
author | Jesse Brandeburg <[email protected]> | 2015-01-28 10:57:39 -0800 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2015-02-09 18:47:42 +0100 |
commit | 4fe7ffb7e17ca6ad9173b8de35f260c9c8fc2f79 (patch) | |
tree | cd4bf3e96e474ae0e2f99e54dc9d6f9343542a92 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | fb7e7deb7fc348ae131268d30e391c8184285de6 (diff) |
genirq: Fix null pointer reference in irq_set_affinity_hint()
The recent set_affinity commit by me introduced some null
pointer dereferences on driver unload, because some drivers
call this function with a NULL argument. This fixes the issue
by just checking for null before setting the affinity mask.
Fixes: e2e64a932556 ("genirq: Set initial affinity in irq_set_affinity_hint()")
Reported-by: Yinghai Lu <[email protected]>
Signed-off-by: Jesse Brandeburg <[email protected]>
CC: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions