Skip to content
Commit a405fb3f authored by Florinel Iordache's avatar Florinel Iordache Committed by Greg Kroah-Hartman
Browse files

fsl/fman: fix dereference null return value



[ Upstream commit 05720546 ]

Check before using returned value to avoid dereferencing null pointer.

Fixes: 18a6c85f ("fsl/fman: Add FMan Port Support")
Signed-off-by: default avatarFlorinel Iordache <florinel.iordache@nxp.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent e9b3249a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment