Date: Thu, 12 Jul 2018 11:02:23 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 229722] src/sys/arm/broadcom/bcm2835/bcm2835_sdhost.c:1022: faulty logic ? Message-ID: <bug-229722-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229722 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 Assignee: bugs@FreeBSD.org Reporter: dcb314@hotmail.com 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) return; else avail = count - i; return statement can never execute. -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-229722-227>
