commit | ba346a4367a824a2c6337d4031fc9a82397a2abd | [log] [tgz] |
---|---|---|
author | Peter Huewe <peterhuewe@gmx.de> | Fri Feb 15 15:22:27 2013 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Feb 15 10:25:11 2013 -0800 |
tree | 0b27255eee54e744ebbf8e977edfb9ccb4126b71 | |
parent | bc501c551ca28dcac01627b6c390e2ee6bbb1179 [diff] |
staging/ozwpan: Fix NULL vs zero in ozusbsvc.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>