https://github.com/torvalds/linux
Revision c7521d3aa2fa7fc785682758c99b5bcae503f6be authored by Dan Carpenter on 18 November 2021, 11:22:11 UTC, committed by David S. Miller on 18 November 2021, 12:12:55 UTC
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>
1 parent 0fa68da
History
Tip revision: c7521d3aa2fa7fc785682758c99b5bcae503f6be authored by Dan Carpenter on 18 November 2021, 11:22:11 UTC
ptp: ocp: Fix a couple NULL vs IS_ERR() checks
Tip revision: c7521d3
File Mode Size
Documentation
LICENSES
arch
block
certs
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.clang-format -rw-r--r-- 16.6 KB
.cocciconfig -rw-r--r-- 59 bytes
.get_maintainer.ignore -rw-r--r-- 71 bytes
.gitattributes -rw-r--r-- 62 bytes
.gitignore -rw-r--r-- 1.9 KB
.mailmap -rw-r--r-- 20.2 KB
COPYING -rw-r--r-- 496 bytes
CREDITS -rw-r--r-- 98.6 KB
Kbuild -rw-r--r-- 1.3 KB
Kconfig -rw-r--r-- 555 bytes
MAINTAINERS -rw-r--r-- 615.3 KB
Makefile -rw-r--r-- 64.3 KB
README -rw-r--r-- 727 bytes

README

back to top