[linux-next/drivers/s390/block/dasd.c:2321]: (warning) Comparison of a boolean expression with an integer other than 0 or 1. [linux-next/drivers/s390/block/dasd.c:2322]: (warning) Comparison of a boolean expression with an integer other than 0 or 1. if (!cqr->status == DASD_CQR_TERMINATED && !cqr->status == DASD_CQR_NEED_ERP) Maybe if (cqr->status != DASD_CQR_TERMINATED || cqr->status != DASD_CQR_NEED_ERP) was intended.