Hello there,

drivers/staging/rdma/hfi1/sdma.c:740:17: warning: logical ‘and’ of mutually 
exclusive tests is always false [-Wlogical-op]

Source code is

    if (count < 64 && count> 32768)
        return SDMA_DESCQ_CNT;

Maybe better code

    if (count < 64 || count> 32768)
        return SDMA_DESCQ_CNT;


Regards

David Binderman

                                          --
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to