linux/drivers/staging/qlge
Colin Ian King 0732ce2132 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: 1053c27804 ("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>
2021-02-04 17:14:26 +01:00
..
Kconfig staging: qlge: Initialize devlink health dump framework 2021-01-29 16:54:20 +01:00
Makefile staging: qlge: Initialize devlink health dump framework 2021-01-29 16:54:20 +01:00
qlge_dbg.c staging: qlge: clean up debugging code in the QL_ALL_DUMP ifdef land 2021-01-29 16:54:21 +01:00
qlge_devlink.c staging: qlge: fix read of an uninitialized pointer 2021-02-04 17:14:26 +01:00
qlge_devlink.h staging: qlge: Initialize devlink health dump framework 2021-01-29 16:54:20 +01:00
qlge_ethtool.c staging: qlge/qlge_ethtool.c: Switch from strlcpy to strscpy 2021-01-31 13:39:16 +01:00
qlge_main.c staging: qlge: clean up debugging code in the QL_ALL_DUMP ifdef land 2021-01-29 16:54:21 +01:00
qlge_mpi.c staging: qlge: remove mpi_core_to_log which sends coredump to the kernel ring buffer 2021-01-29 16:54:20 +01:00
qlge.h staging: qlge: clean up debugging code in the QL_ALL_DUMP ifdef land 2021-01-29 16:54:21 +01:00
TODO staging: qlge: clean up debugging code in the QL_ALL_DUMP ifdef land 2021-01-29 16:54:21 +01:00