• Malcolm Priestley's avatar
    [media] it913x.: Fix a misuse of || · 9ab494b0
    Malcolm Priestley authored
    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: default avatarMalcolm Priestley <tvboxspy@gmail.com>
    Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
    9ab494b0
it913x.c 22.5 KB