mirror of
https://github.com/hardkernel/linux.git
synced 2026-03-27 04:50:25 +09:00
[ Upstream commitc7521d3aa2] The ptp_ocp_get_mem() function does not return NULL, it returns error pointers. Fixes:773bda9649("ptp: ocp: Expose various resources on the timecard.") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sashal@kernel.org>