diff options
| author | Colin Ian King <colin.king@canonical.com> | 2021-02-03 13:38:34 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-02-04 17:14:26 +0100 |
| commit | 0732ce21329d598ffa8ddac02237ad9b3a7fa34c (patch) | |
| tree | d72835cd380d63baeb6dbd8a3a04cbe9cc72a37f /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | staging: most: sound: use non-safe list iteration (diff) | |
| download | linux-0732ce21329d598ffa8ddac02237ad9b3a7fa34c.tar.gz linux-0732ce21329d598ffa8ddac02237ad9b3a7fa34c.zip | |
staging: qlge: fix read of an uninitialized pointer
Currently the pointer 'reporter' is not being initialized and is
being read in a netdev_warn message. The pointer is not used
and is redundant, fix this by removing it and replacing the reference
to it with priv->reporter instead.
Fixes: 1053c27804df ("staging: qlge: coredump via devlink health reporter")
Reviewed-by: Coiby Xu <coiby.xu@gmail.com>
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Addresses-Coverity: ("Uninitialized pointer read")
Link: https://lore.kernel.org/r/20210203133834.22388-1-colin.king@canonical.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
