Skip to content

Commit

Permalink
staging/ozwpan: Fix NULL vs zero in ozhcd.c (sparse warning)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Peter Huewe authored and Greg Kroah-Hartman committed Feb 15, 2013
1 parent ba346a4 commit 7be7d6d
Showing 1 changed file with 68 additions and 67 deletions.
Loading

0 comments on commit 7be7d6d

Please sign in to comment.