Re: [PATCH] 2.5.59 : drivers/scsi/advansys.c

From: Dave Jones (davej@codemonkey.org.uk)
Date: Fri Feb 07 2003 - 12:35:16 EST


On Fri, Feb 07, 2003 at 12:24:54PM -0500, Frank Davis wrote:

> if (scp->request_bufflen != 0 && qdonep->remain_bytes != 0 &&
> - qdonep->remain_bytes <= scp->request_bufflen != 0) {
> + qdonep->remain_bytes <= scp->request_bufflen && scp->request_bufflen!= 0) {

you now have two scp->request_bufflen != 0 checks.

                Dave

-- 
| Dave Jones.        http://www.codemonkey.org.uk
| SuSE Labs
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Feb 07 2003 - 22:00:24 EST