diff options
| author | Colin Ian King <[email protected]> | 2015-07-23 15:47:59 +0000 |
|---|---|---|
| committer | Mike Snitzer <[email protected]> | 2015-07-27 11:58:15 +0000 |
| commit | 134bf30c06f057d6b8d90132e8f8b3cd2be79572 (patch) | |
| tree | 18e54851abf6c3300448b933c150c802894f800b /tools/perf/util/scripting-engines/trace-event-perl.c | |
| parent | dm thin: return -ENOSPC when erroring retry list due to out of data space (diff) | |
| download | kernel-134bf30c06f057d6b8d90132e8f8b3cd2be79572.tar.gz kernel-134bf30c06f057d6b8d90132e8f8b3cd2be79572.zip | |
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 <[email protected]>
Signed-off-by: Mike Snitzer <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions
