diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2017-06-14 13:41:52 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-06-14 22:32:18 +0300 |
commit | f5165a5492237d33239176e7e171c7a8991583cb (patch) | |
tree | 1127e3d083244cfaae893fff9b16d3925fd55173 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 7608894e43d071ef2322a01c79522954c070ac6c (diff) | |
download | linux-f5165a5492237d33239176e7e171c7a8991583cb.tar.xz |
net/mlxfw: fix a NULL dereference
If we hit this error path we end up returning ERR_PTR(0) which is NULL.
The caller is not expecting that so it results in a NULL dereference.
Fixes: 410ed13cae39 ("Add the mlxfw module for Mellanox firmware flash process")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Yotam Gigi <yotamg@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions