Bug ID: 229722
           Summary: src/sys/arm/broadcom/bcm2835/bcm2835_sdhost.c:1022:
                    faulty logic ?
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern

src/sys/arm/broadcom/bcm2835/bcm2835_sdhost.c:1026]: (warning) Opposite inner
'if' condition leads to a dead code block.

Source code is

       for (i = 0; i < count;) {
                edm = RD4(sc, HC_DEBUG);
                avail = ((edm >> 4) & 0x1f);
                if (i + avail > count) {
                        if (i >= count)
                                avail = count - i;

return statement can never execute.

You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________ mailing list
To unsubscribe, send any mail to ""

Reply via email to