diff options
author | Hannes Eder <hannes@hanneseder.net> | 2008-12-13 00:11:28 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-13 00:11:28 -0500 |
commit | bcf91745091ba3b0813fa79afb5d10b090ea745d (patch) | |
tree | c4357b8036b19cdf7d0582637e567a0234fb53f4 /drivers/isdn/hardware/mISDN/hfcmulti.c | |
parent | 7a3c66e2d322c638e9306e739d96b2192dacde88 (diff) |
mISDN: use NULL pointer instead of plain integer
Fix more than 100 (all remaining in mISDN) sparse warnings:
drivers/isdn/hardware/mISDN/hfcmulti.c:***:**: warning: Using plain integer as NULL pointer
drivers/isdn/mISDN/dsp_tones.c:***:**: warning: Using plain integer as NULL pointer
drivers/isdn/mISDN/dsp_pipeline.c:***:**: warning: Using plain integer as NULL pointer
Signed-off-by: Hannes Eder <hannes@hanneseder.net>
Acked-by: Karsten Keil <kkeil@suse.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/isdn/hardware/mISDN/hfcmulti.c')
-rw-r--r-- | drivers/isdn/hardware/mISDN/hfcmulti.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/isdn/hardware/mISDN/hfcmulti.c b/drivers/isdn/hardware/mISDN/hfcmulti.c index 1eac03f39d00..46684e136181 100644 --- a/drivers/isdn/hardware/mISDN/hfcmulti.c +++ b/drivers/isdn/hardware/mISDN/hfcmulti.c | |||
@@ -887,7 +887,7 @@ vpm_echocan_off(struct hfc_multi *hc, int ch) | |||
887 | static inline void | 887 | static inline void |
888 | hfcmulti_resync(struct hfc_multi *locked, struct hfc_multi *newmaster, int rm) | 888 | hfcmulti_resync(struct hfc_multi *locked, struct hfc_multi *newmaster, int rm) |
889 | { | 889 | { |
890 | struct hfc_multi *hc, *next, *pcmmaster = 0; | 890 | struct hfc_multi *hc, *next, *pcmmaster = NULL; |
891 | u_int *plx_acc_32, pv; | 891 | u_int *plx_acc_32, pv; |
892 | u_long flags; | 892 | u_long flags; |
893 | 893 | ||