diff options
author | Malcolm Priestley <tvboxspy@gmail.com> | 2012-05-07 16:22:52 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-05-15 13:17:41 +0200 |
commit | 9ab494b010e1b4c4693afa297ffbcf0f09bb9063 (patch) | |
tree | b18e7a2186751874001884eb831f6243f7d4f7ac /drivers/usb/host/ehci-hcd.c | |
parent | [media] staging/media/as102: removed else statements (diff) | |
download | linux-9ab494b010e1b4c4693afa297ffbcf0f09bb9063.tar.xz linux-9ab494b010e1b4c4693afa297ffbcf0f09bb9063.zip |
[media] it913x.: Fix a misuse of ||
On Mon, 2012-05-07 at 07:45 -0300, Mauro Carvalho Chehab wrote:
> Malcolm,
>
> Em 04-04-2012 20:00, Joe Perches escreveu:
> > Likely these should be && not ||
> >
> > drivers/scsi/FlashPoint.c: if(bit_cnt != 0 || bit_cnt != 8)
>
> > drivers/media/dvb/dvb-usb/it913x.c: if (ret == 0 || ret != -EBUSY || ret != -ETIMEDOUT)
> > drivers/media/dvb/dvb-usb/it913x.c: if (ret == 0 || ret != -EBUSY || ret != -ETIMEDOUT)
>
> Could you please take a look on the above?
Hmm... yes, thanks, also a bug.
Just check for -EBUSY && -ETIMEDOUT
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/usb/host/ehci-hcd.c')
0 files changed, 0 insertions, 0 deletions