diff options
author | Peter Huewe <peterhuewe@gmx.de> | 2013-02-15 14:22:22 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-02-15 18:23:49 (GMT) |
commit | 86b02be043c42e1d7450be025177e3e248a2e8c1 (patch) | |
tree | 675a7aba81ad0029f132695e031137cd5ddc43e4 /arch/sparc/kernel/hvtramp.S | |
parent | 36d2041a3d57b9542bb93c94df4f9ebf3a1aee32 (diff) | |
download | linux-fsl-qoriq-86b02be043c42e1d7450be025177e3e248a2e8c1.tar.xz |
staging/ozwpan: Fix NULL vs zero in ozpd.c (sparse warning)
This patch fixes the warning "Using plain integer as NULL pointer",
generated by sparse, by replacing the offending 0s with NULL.
If the initialization with NULL was unnecessary (due to unconditional
assignment before first use) it was removed.
Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/sparc/kernel/hvtramp.S')
0 files changed, 0 insertions, 0 deletions