diff options
author | Peter Huewe <peterhuewe@gmx.de> | 2013-02-15 15:22:26 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-02-15 10:25:11 -0800 |
commit | bc501c551ca28dcac01627b6c390e2ee6bbb1179 (patch) | |
tree | b6f8567d67312a5a4002f6de8fef9c36940c1e6f /net/sunrpc/xdr.c | |
parent | 41ebb8a1c5f1f567b9c30c9b50aace91387537f8 (diff) | |
download | linux-bc501c551ca28dcac01627b6c390e2ee6bbb1179.tar.bz2 |
staging/ozwpan: Fix NULL vs zero in ozcdev.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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/sunrpc/xdr.c')
0 files changed, 0 insertions, 0 deletions