Commit 69297b0d authored by Dipendra Khadka's avatar Dipendra Khadka Committed by Andrew Lunn
Browse files

octeontx2-pf: handle otx2_mbox_get_rsp errors in otx2_dcbnl.c



Add error pointer check after calling otx2_mbox_get_rsp().

Fixes: 8e675581 ("octeontx2-pf: PFC config support with DCBx")
Signed-off-by: default avatarDipendra Khadka <kdipendra88@gmail.com>
Reviewed-by: default avatarSimon Horman <horms@kernel.org>
Signed-off-by: default avatarAndrew Lunn <andrew@lunn.ch>
parent f5b942e6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment