diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2018-01-27 09:10:59 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-01-29 20:28:48 +0100 |
commit | 2d85ec8acb01601a216b6c591cab63bfaacd2083 (patch) | |
tree | 0027a9a6a6b5016a3d95a85e566ea1859aac824c /arch/sparc/kernel | |
parent | sparc: vDSO: remove an extra tab (diff) | |
download | linux-2d85ec8acb01601a216b6c591cab63bfaacd2083.tar.xz linux-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/kernel')
0 files changed, 0 insertions, 0 deletions