While working on an ALi fir driver, I came across this which I think is a
typo in smc-ircc.c

line 817 in ircc_dma_receive_complete() 

says

        if ((len < 2) && (len > 2050)) {
                WARNING(__FUNCTION__ "(), bogus len=%d\n", len);
                return;
        }

where I assume it should be

        if ((len < 2) || (len > 2050)) {
                WARNING(__FUNCTION__ "(), bogus len=%d\n", len);
                return;
        }

Vince


_______________________________________________
Linux-IrDA mailing list  -  [EMAIL PROTECTED]
http://www4.pasta.cs.UiT.No/mailman/listinfo/linux-irda

Reply via email to