diff options
| author | Brian Norris <computersforpeace@gmail.com> | 2015-11-16 10:45:30 -0800 |
|---|---|---|
| committer | Brian Norris <computersforpeace@gmail.com> | 2015-11-18 10:31:23 -0800 |
| commit | c98f71d1c05601cff0f302889933798020e08869 (patch) | |
| tree | 6ead085b0b422b7adfe2e01c7894e7b61aeafff5 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | fc5adbebac6ffab461492f7a415648b29b1a3b31 (diff) | |
| download | linux-c98f71d1c05601cff0f302889933798020e08869.tar.gz linux-c98f71d1c05601cff0f302889933798020e08869.zip | |
mtd: fsl-quadspi: possible NULL dereference
It is theoretically possible to probe this driver without a matching
device tree, so let's guard against this.
Also, use the of_device_get_match_data() helper to make this a bit
simpler.
Coverity complained about this one.
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Acked-by: Han xu <han.xu@freescale.com>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
