aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/node.c
diff options
context:
space:
mode:
authorVladimir Zapolskiy <[email protected]>2016-04-28 23:19:06 +0000
committerLinus Torvalds <[email protected]>2016-04-29 02:34:04 +0000
commit99f23c2cded85a377325aa9fd374ffa3d55d1088 (patch)
tree9bf18f1185d2c316ac58a2f9ca504c39c136b775 /net/tipc/node.c
parentmm/memory-failure: fix race with compound page split/merge (diff)
downloadkernel-99f23c2cded85a377325aa9fd374ffa3d55d1088.tar.gz
kernel-99f23c2cded85a377325aa9fd374ffa3d55d1088.zip
rapidio: fix potential NULL pointer dereference
The change fixes improper check for a returned error value by class_create() function, which on error returns ERR_PTR() value, thus the original check always results in a dead code on error path. Signed-off-by: Vladimir Zapolskiy <[email protected]> Signed-off-by: Alexandre Bounine <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/tipc/node.c')
0 files changed, 0 insertions, 0 deletions