lkml.org 
[lkml]   [2003]   [Feb]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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/

\
 
 \ /
  Last update: 2005-03-22 13:33    [W:0.175 / U:0.112 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site