aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2018-01-27 08:10:59 +0000
committerDavid S. Miller <davem@davemloft.net>2018-01-29 14:28:48 -0500
commit2d85ec8acb01601a216b6c591cab63bfaacd2083 (patch)
tree0027a9a6a6b5016a3d95a85e566ea1859aac824c /arch/sparc
parentsparc: vDSO: remove an extra tab (diff)
downloadlinux-dev-2d85ec8acb01601a216b6c591cab63bfaacd2083.tar.xz
linux-dev-2d85ec8acb01601a216b6c591cab63bfaacd2083.zip
oradax: Fix return value check in dax_attach()
In case of error, the function class_create() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). Fixes: dd0273284c74 ("sparc64: Oracle DAX driver") Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc')
0 files changed, 0 insertions, 0 deletions