diff options
| author | 2020-01-21 09:31:53 +0800 | |
|---|---|---|
| committer | 2020-01-26 00:11:35 +1100 | |
| commit | 1e3531982ee70adf1880715a968d9c3365f321ed (patch) | |
| tree | 604e33ae1077f90d071b0097bffb058003972d3c /arch/powerpc/sysdev/fsl_pci.c | |
| parent | powerpc/pseries/vio: Fix iommu_table use-after-free refcount warning (diff) | |
| download | wireguard-linux-1e3531982ee70adf1880715a968d9c3365f321ed.tar.xz wireguard-linux-1e3531982ee70adf1880715a968d9c3365f321ed.zip | |
powerpc/maple: Fix comparing pointer to 0
Fixes coccicheck warning:
arch/powerpc/platforms/maple/setup.c:232:15-16:
WARNING comparing pointer to 0
Compare pointer-typed values to NULL rather than 0.
Signed-off-by: Chen Zhou <chenzhou10@huawei.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200121013153.9937-1-chenzhou10@huawei.com
Diffstat (limited to 'arch/powerpc/sysdev/fsl_pci.c')
0 files changed, 0 insertions, 0 deletions
