diff options
author | Márton Németh <nm127@freemail.hu> | 2009-11-22 18:52:31 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-12-05 18:41:46 -0200 |
commit | f58d7856695b6a3a03a56250c6c591022ac9918f (patch) | |
tree | e37ea6f292467a97f776127d24b830fc84243d3e | |
parent | 296372e3b04a41853df1be6623a5bd634051458c (diff) | |
download | kernel_samsung_smdk4412-f58d7856695b6a3a03a56250c6c591022ac9918f.zip kernel_samsung_smdk4412-f58d7856695b6a3a03a56250c6c591022ac9918f.tar.gz kernel_samsung_smdk4412-f58d7856695b6a3a03a56250c6c591022ac9918f.tar.bz2 |
V4L/DVB (13416): smssdio: initialize return value
The return value may be used uninitialized when the size parameter
happens to be 0.
Signed-off-by: Márton Németh <nm127@freemail.hu>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r-- | drivers/media/dvb/siano/smssdio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/siano/smssdio.c b/drivers/media/dvb/siano/smssdio.c index d1d652e..24206cb 100644 --- a/drivers/media/dvb/siano/smssdio.c +++ b/drivers/media/dvb/siano/smssdio.c @@ -78,7 +78,7 @@ struct smssdio_device { static int smssdio_sendrequest(void *context, void *buffer, size_t size) { - int ret; + int ret = 0; struct smssdio_device *smsdev; smsdev = context; |