]> www.infradead.org Git - users/jedix/linux-maple.git/commit
octeontx2-pf: handle otx2_mbox_get_rsp errors in otx2_dcbnl.c
authorDipendra Khadka <kdipendra88@gmail.com>
Thu, 17 Oct 2024 19:16:16 +0000 (19:16 +0000)
committerAndrew Lunn <andrew@lunn.ch>
Tue, 22 Oct 2024 22:35:35 +0000 (17:35 -0500)
commit69297b0d3369488af259e3a7cf53d69157938ea1
tree29ef7bd0ffdea7cfe10ceb4a9b8e5df48428a31a
parentf5b942e6c54b13246ee49d42dcfb71b7f29e3c64
octeontx2-pf: handle otx2_mbox_get_rsp errors in otx2_dcbnl.c

Add error pointer check after calling otx2_mbox_get_rsp().

Fixes: 8e67558177f8 ("octeontx2-pf: PFC config support with DCBx")
Signed-off-by: Dipendra Khadka <kdipendra88@gmail.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
drivers/net/ethernet/marvell/octeontx2/nic/otx2_dcbnl.c