Re: [PATCH v4.3-rc7] be2iscsi : Fix bogus WARN_ON length check
From: Johannes Thumshirn
Date: Fri Oct 30 2015 - 16:59:33 EST
Hi Tim,
tim.gardner@xxxxxxxxxxxxx writes:
> From: Tim Gardner <tim.gardner@xxxxxxxxxxxxx>
>
> drivers/scsi/be2iscsi/be_main.c: In function 'be_sgl_create_contiguous':
> drivers/scsi/be2iscsi/be_main.c:3187:18: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
> WARN_ON(!length > 0);
>
> gcc version 5.2.1
This patch (or similar) was already posted on Oct 1 by Joel Stanley.
See http://comments.gmane.org/gmane.linux.scsi/105462
Thanks,
Johannes
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/