octeontx2-af: Fix possible null pointer dereference.
authorRakesh Babu Saladi <rsaladi2@marvell.com>
Wed, 27 Oct 2021 17:32:34 +0000 (23:02 +0530)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Oct 2021 13:47:37 +0000 (14:47 +0100)
commitc2d4c543f74c90f883e8ec62a31973ae8807d354
tree9d8a2529c286a7d2bcd86cf5860c7bf8066c213d
parente77bcdd1f639809950c45234b08647ac6d3ffe7b
octeontx2-af: Fix possible null pointer dereference.

This patch fixes possible null pointer dereference in files
"rvu_debugfs.c" and "rvu_nix.c"

Fixes: 8756828a8148 ("octeontx2-af: Add NPA aura and pool contexts to debugfs")
Fixes: 9a946def264d ("octeontx2-af: Modify nix_vtag_cfg mailbox to support TX VTAG entries")
Signed-off-by: Rakesh Babu Saladi <rsaladi2@marvell.com>
Signed-off-by: Subbaraya Sundeep <sbhatta@marvell.com>
Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c