Skip to content
Snippets Groups Projects
Commit c7521d3a authored by Dan Carpenter's avatar Dan Carpenter Committed by David S. Miller
Browse files

ptp: ocp: Fix a couple NULL vs IS_ERR() checks


The ptp_ocp_get_mem() function does not return NULL, it returns error
pointers.

Fixes: 773bda96 ("ptp: ocp: Expose various resources on the timecard.")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 0fa68da7
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment