Searched hist:"134 bf30c06f057d6b8d90132e8f8b3cd2be79572" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/md/ |
H A D | dm-cache-policy-smq.c | diff 134bf30c06f057d6b8d90132e8f8b3cd2be79572 Thu Jul 23 10:47:59 CDT 2015 Colin Ian King <colin.king@canonical.com> dm cache policy smq: fix alloc_bitset check that always evaluates as false
static analysis by cppcheck has found a check on alloc_bitset that always evaluates as false and hence never finds an allocation failure:
[drivers/md/dm-cache-policy-smq.c:1689]: (warning) Logical conjunction always evaluates to false: !EXPR && EXPR.
Fix this by removing the incorrect mq->cache_hit_bits check
Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
|