diff options
author | zhong jiang <zhongjiang@huawei.com> | 2018-10-04 13:02:53 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-10-11 12:15:03 +0200 |
commit | 3dac3583bf1a61db6aaf31dfd752c677a4400afd (patch) | |
tree | 9df66dbd15bf17fc7376e5c5ddf6b855aba1cf7a /drivers/nvmem | |
parent | e862faa968400206aae3bf8de0d4beb766498657 (diff) | |
download | linux-3dac3583bf1a61db6aaf31dfd752c677a4400afd.tar.gz linux-3dac3583bf1a61db6aaf31dfd752c677a4400afd.tar.bz2 linux-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/nvmem')
0 files changed, 0 insertions, 0 deletions