diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2018-01-27 11:10:59 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-01-29 22:28:48 +0300 |
commit | 2d85ec8acb01601a216b6c591cab63bfaacd2083 (patch) | |
tree | 0027a9a6a6b5016a3d95a85e566ea1859aac824c /arch/x86/ia32/ia32_signal.c | |
parent | b3ca676f681409301332a75049e3148b7cb86141 (diff) | |
download | linux-2d85ec8acb01601a216b6c591cab63bfaacd2083.tar.xz |
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/x86/ia32/ia32_signal.c')
0 files changed, 0 insertions, 0 deletions