aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/randomize_layout_plugin.c
diff options
context:
space:
mode:
authorWei Yongjun <[email protected]>2018-01-27 08:10:59 +0000
committerDavid S. Miller <[email protected]>2018-01-29 19:28:48 +0000
commit2d85ec8acb01601a216b6c591cab63bfaacd2083 (patch)
tree0027a9a6a6b5016a3d95a85e566ea1859aac824c /scripts/gcc-plugins/randomize_layout_plugin.c
parentsparc: vDSO: remove an extra tab (diff)
downloadkernel-2d85ec8acb01601a216b6c591cab63bfaacd2083.tar.gz
kernel-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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions