diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2008-09-04 08:33:43 +0200 |
---|---|---|
committer | Hans Verkuil <hverkuil@xs4all.nl> | 2008-09-04 08:33:43 +0200 |
commit | 9b4cd8c0a62769d3c668e00f4202dfd57b66f765 (patch) | |
tree | ba3b5e8333f92d2319d32891d6e43ec6ef0b18e1 /linux/drivers/media/video/pvrusb2 | |
parent | 2f41bc61c3b5864177690d7f88d36366c3a05c5c (diff) | |
download | mediapointer-dvb-s2-9b4cd8c0a62769d3c668e00f4202dfd57b66f765.tar.gz mediapointer-dvb-s2-9b4cd8c0a62769d3c668e00f4202dfd57b66f765.tar.bz2 |
v4l-dvb: fix assorted sparse warnings
From: Hans Verkuil <hverkuil@xs4all.nl>
Fix sparse warnings. None are serious, but cutting down on these helps find
future serious sparse warnings/errors.
Redid the av7710.c patch based on a suggestion by Oliver Endriss.
Priority: normal
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/drivers/media/video/pvrusb2')
-rw-r--r-- | linux/drivers/media/video/pvrusb2/pvrusb2-i2c-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/pvrusb2/pvrusb2-i2c-core.c b/linux/drivers/media/video/pvrusb2/pvrusb2-i2c-core.c index 9159686c3..06a15e03f 100644 --- a/linux/drivers/media/video/pvrusb2/pvrusb2-i2c-core.c +++ b/linux/drivers/media/video/pvrusb2/pvrusb2-i2c-core.c @@ -902,7 +902,7 @@ static unsigned int pvr2_i2c_client_describe(struct pvr2_i2c_client *cp, if ((detail & PVR2_I2C_DETAIL_CTLMASK) && cp->ctl_mask) { unsigned int idx; unsigned long msk,sm; - int spcfl; + bcnt = scnprintf(buf,maxlen," ["); ccnt += bcnt; buf += bcnt; maxlen -= bcnt; sm = 0; |