Please consider this one liner getting rid of a gcc "possible unitialized
variable" warning in the advansys.c scsi driver. A quick look showed gcc
to be wrong on this occasion but having the warning not nice...
Best regards,
Anton
-- Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @) Linux NTFS maintainer / WWW: http://linux-ntfs.sf.net/ ICQ: 8561279 / WWW: http://www-stu.christs.cam.ac.uk/~aia21/--- advansys_patchlet.diff ---
diff -urN linux-2.4.15-pre4-vanilla/drivers/scsi/advansys.c linux-2.4.15-pre4-up/drivers/scsi/advansys.c --- linux-2.4.15-pre4-vanilla/drivers/scsi/advansys.c Mon Nov 12 20:21:07 2001 +++ linux-2.4.15-pre4-up/drivers/scsi/advansys.c Mon Nov 12 20:01:26 2001 @@ -5552,7 +5552,7 @@ } } else { ADV_CARR_T *carrp; - int req_cnt; + int req_cnt = 0; adv_req_t *reqp = NULL; int sg_cnt = 0;
- 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/