diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2008-08-23 01:22:22 +0200 |
---|---|---|
committer | Hans Verkuil <hverkuil@xs4all.nl> | 2008-08-23 01:22:22 +0200 |
commit | 19050620d7676a007898ae8404ad4edc757f9d2f (patch) | |
tree | ba596ec5d3206f3e46cd899eb02473922d26abba /linux/drivers/media/dvb/dvb-usb/cxusb.c | |
parent | 7e579fead10182b9f9494e0f2b483dd62e4e6c75 (diff) | |
download | mediapointer-dvb-s2-19050620d7676a007898ae8404ad4edc757f9d2f.tar.gz mediapointer-dvb-s2-19050620d7676a007898ae8404ad4edc757f9d2f.tar.bz2 |
v4l-dvb: fix a bunch of sparse warnings
From: Hans Verkuil <hverkuil@xs4all.nl>
Fixed a lot of sparse warnings: mostly warnings about shadowed variables
and signed/unsigned mismatches.
Priority: normal
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/drivers/media/dvb/dvb-usb/cxusb.c')
-rw-r--r-- | linux/drivers/media/dvb/dvb-usb/cxusb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/dvb-usb/cxusb.c b/linux/drivers/media/dvb/dvb-usb/cxusb.c index 49985f992..bffb44380 100644 --- a/linux/drivers/media/dvb/dvb-usb/cxusb.c +++ b/linux/drivers/media/dvb/dvb-usb/cxusb.c @@ -232,7 +232,7 @@ static int cxusb_aver_power_ctrl(struct dvb_usb_device *d, int onoff) if (d->state == DVB_USB_STATE_INIT && usb_set_interface(d->udev, 0, 0) < 0) err("set interface failed"); - do; while (!(ret = cxusb_ctrl_msg(d, CMD_POWER_ON, NULL, 0, NULL, 0)) && + do {} while (!(ret = cxusb_ctrl_msg(d, CMD_POWER_ON, NULL, 0, NULL, 0)) && !(ret = cxusb_ctrl_msg(d, 0x15, NULL, 0, NULL, 0)) && !(ret = cxusb_ctrl_msg(d, 0x17, NULL, 0, NULL, 0)) && 0); if (!ret) { |