diff options
author | 2016-04-28 16:19:06 -0700 | |
---|---|---|
committer | 2016-04-28 19:34:04 -0700 | |
commit | 99f23c2cded85a377325aa9fd374ffa3d55d1088 (patch) | |
tree | 9bf18f1185d2c316ac58a2f9ca504c39c136b775 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mm/memory-failure: fix race with compound page split/merge (diff) | |
download | linux-dev-99f23c2cded85a377325aa9fd374ffa3d55d1088.tar.xz linux-dev-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 <vz@mleia.com>
Signed-off-by: Alexandre Bounine <alexandre.bounine@idt.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions