Messages in this thread | | | Date | Fri, 7 Feb 2003 17:35:16 +0000 | From | Dave Jones <> | Subject | Re: [PATCH] 2.5.59 : drivers/scsi/advansys.c |
| |
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/
| |