[RTEMS Project] #2239: i2c/spi-sd-card.c:920: bad expression ?
RTEMS trac
trac at rtems.org
Fri Jan 20 14:22:23 UTC 2017
#2239: i2c/spi-sd-card.c:920: bad expression ?
---------------------+--------------------------------------------------
Reporter: dcb | Owner: Sebastian Huber <sebastian.huber@…>
Type: defect | Status: closed
Priority: normal | Milestone: 4.11
Component: General | Version: 4.10
Severity: normal | Resolution: fixed
Keywords: |
---------------------+--------------------------------------------------
Comment (by dcb):
Doesn't look fixed to me. I am now getting
src/c/src/libchip/i2c/spi-sd-card.c:920]: (style) Expression '(X &
0x6000000) == 0x40000000' is always false.
(X & Something with six zeros) == Something with seven zeros looks
somewhat doubtful.
--
Ticket URL: <http://devel.rtems.org/ticket/2239#comment:2>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list