https://github.com/torvalds/linux
Revision 14e3995e63759b80eb22a3c06958d105db4d3f79 authored by Wei Yongjun on 16 May 2017, 14:22:47 UTC, committed by Stefano Stabellini on 18 May 2017, 18:42:32 UTC
In case of error, the function xenbus_read() returns ERR_PTR() and never
returns NULL. The NULL test in the return value check should be replaced
with IS_ERR().

Fixes: 71ebd71921e4 ("xen/9pfs: connect to the backend")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
1 parent 69861e0
History
Tip revision: 14e3995e63759b80eb22a3c06958d105db4d3f79 authored by Wei Yongjun on 16 May 2017, 14:22:47 UTC
xen/9pfs: fix return value check in xen_9pfs_front_probe()
Tip revision: 14e3995
File Mode Size
Documentation
arch
block
certs
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.cocciconfig -rw-r--r-- 59 bytes
.get_maintainer.ignore -rw-r--r-- 31 bytes
.gitattributes -rw-r--r-- 30 bytes
.gitignore -rw-r--r-- 1.3 KB
.mailmap -rw-r--r-- 7.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 96.2 KB
Kbuild -rw-r--r-- 2.8 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 390.2 KB
Makefile -rw-r--r-- 57.8 KB
README -rw-r--r-- 722 bytes

README

back to top