aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc/mic
diff options
context:
space:
mode:
authorzhong jiang <zhongjiang@huawei.com>2018-10-04 13:02:53 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-10-11 12:15:03 +0200
commit3dac3583bf1a61db6aaf31dfd752c677a4400afd (patch)
tree9df66dbd15bf17fc7376e5c5ddf6b855aba1cf7a /drivers/misc/mic
parentmisc: mic: scif: remove redundant check on ret < 0 (diff)
downloadlinux-dev-3dac3583bf1a61db6aaf31dfd752c677a4400afd.tar.xz
linux-dev-3dac3583bf1a61db6aaf31dfd752c677a4400afd.zip
misc: cxl: Fix possible null pointer dereference
It is not safe to dereference an object before a null test. It is not needed and just remove them. Ftrace can be used instead. Signed-off-by: zhong jiang <zhongjiang@huawei.com> Acked-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com> Acked-by: Frederic Barrat <fbarrat@linux.ibm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/mic')
0 files changed, 0 insertions, 0 deletions