aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorRobert Hancock <[email protected]>2019-06-11 10:56:02 -0600
committerDavid S. Miller <[email protected]>2019-06-13 22:41:24 -0700
commit7fa0043d5c74c6ef6ab58ecf7528fd33c6cb07a8 (patch)
tree68ddce5de89015f7257dac816888257b5b382d12 /tools/perf/scripts/python
parentf9a94f85e885c8eced04ef839dfda90f2511b185 (diff)
net: axienet: move use of resource after validity check
We were accessing the pointer returned from platform_get_resource before checking if it was valid, causing an oops if it was not. Move this access after the call to devm_ioremap_resource which does the validity check. Signed-off-by: Robert Hancock <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions