diff options
author | 2021-11-18 14:22:11 +0300 | |
---|---|---|
committer | 2021-11-18 12:12:55 +0000 | |
commit | c7521d3aa2fa7fc785682758c99b5bcae503f6be (patch) | |
tree | 1d33dbbd0a624680045771f2186ea6fa66fd642f /net/unix/af_unix.c | |
parent | net: ethernet: dec: tulip: de4x5: fix possible array overflows in type3_infoblock() (diff) | |
download | wireguard-linux-c7521d3aa2fa7fc785682758c99b5bcae503f6be.tar.xz wireguard-linux-c7521d3aa2fa7fc785682758c99b5bcae503f6be.zip |
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: 773bda964921 ("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>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions