From: Peter Huewe Date: Fri, 15 Feb 2013 14:22:22 +0000 (+0100) Subject: staging/ozwpan: Fix NULL vs zero in ozpd.c (sparse warning) X-Git-Tag: v3.9-rc1~127^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=86b02be043c42e1d7450be025177e3e248a2e8c1;p=pandora-kernel.git 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 Reviewed-by: Dan Carpenter Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed