[dm-devel] linux-4.2-rc4/drivers/md/dm-cache-policy-smq.c:1689: bad if test ?

David Binderman dcb314 at hotmail.com
Mon Jul 27 07:00:41 UTC 2015


Hello there,

[linux-4.2-rc4/drivers/md/dm-cache-policy-smq.c:1689]: (warning) Logical conjunction always evaluates to false: !EXPR && EXPR.

Source code is

  if (!mq->cache_hit_bits && mq->cache_hit_bits) {

Maybe

  if (!mq->cache_hit_bits) {

was intended.


Regards

David Binderman


 		 	   		  




More information about the dm-devel mailing list