Description of problem: The current kernel-2.6.26-0.131.rc9.git9.fc10 srpm reveals a number of warnings for various kernel drivers. These errors include... drivers/net/via-velocity.c: In function 'velocity_resume': include/asm/io_64.h:261: warning: array subscript is above array bounds include/asm/io_64.h:261: warning: array subscript is above array bounds include/asm/io_64.h:261: warning: array subscript is above array bounds drivers/scsi/lpfc/lpfc_sli.c: In function 'lpfc_sli_poll_fcp_ring': drivers/scsi/lpfc/lpfc_sli.c:1369: warning: array subscript is above array bound s drivers/scsi/lpfc/lpfc_sli.c:1369: warning: array subscript is above array bound s drivers/scsi/lpfc/lpfc_sli.c: In function 'lpfc_sli_handle_fast_ring_event': drivers/scsi/lpfc/lpfc_sli.c:1545: warning: array subscript is above array bound s drivers/scsi/lpfc/lpfc_sli.c:1545: warning: array subscript is above array bound s drivers/video/aty/atyfb_base.c: In function 'aty_bl_update_status': drivers/video/aty/atyfb_base.c:167: warning: array subscript is above array boun ds drivers/video/aty/atyfb_base.c:152: warning: array subscript is above array boun ds drivers/net/wireless/ipw2200.c: In function 'ipw_ethtool_set_eeprom': drivers/net/wireless/ipw2200.c:10597: warning: array subscript is above array bo unds drivers/net/wireless/ipw2200.c: In function 'ipw_load': drivers/net/wireless/ipw2200.c:2663: warning: array subscript is above array bou nds Version-Release number of selected component (if applicable): kernel-2.6.26-0.131.rc9.git9.fc10 How reproducible: Always Steps to Reproduce: 1. Install the kernel srpm for kernel-2.6.26-0.131.rc9.git9.fc10 and rebuild. 2. Look for "warning: array subscript is above array bounds" in the build log. Actual results: The warnings... drivers/net/via-velocity.c: In function 'velocity_resume': include/asm/io_64.h:261: warning: array subscript is above array bounds include/asm/io_64.h:261: warning: array subscript is above array bounds include/asm/io_64.h:261: warning: array subscript is above array bounds drivers/scsi/lpfc/lpfc_sli.c: In function 'lpfc_sli_poll_fcp_ring': drivers/scsi/lpfc/lpfc_sli.c:1369: warning: array subscript is above array bound s drivers/scsi/lpfc/lpfc_sli.c:1369: warning: array subscript is above array bound s drivers/scsi/lpfc/lpfc_sli.c: In function 'lpfc_sli_handle_fast_ring_event': drivers/scsi/lpfc/lpfc_sli.c:1545: warning: array subscript is above array bound s drivers/scsi/lpfc/lpfc_sli.c:1545: warning: array subscript is above array bound s drivers/video/aty/atyfb_base.c: In function 'aty_bl_update_status': drivers/video/aty/atyfb_base.c:167: warning: array subscript is above array boun ds drivers/video/aty/atyfb_base.c:152: warning: array subscript is above array boun ds drivers/net/wireless/ipw2200.c: In function 'ipw_ethtool_set_eeprom': drivers/net/wireless/ipw2200.c:10597: warning: array subscript is above array bo unds drivers/net/wireless/ipw2200.c: In function 'ipw_load': drivers/net/wireless/ipw2200.c:2663: warning: array subscript is above array bou nds ...appear in the build log. Expected results: I would expect no array subscript is above array bounds warnings if the arrays are of proper size in all of the kernel drivers. Additional info:
reporting these upstream to linux-kernel.org is probably the best way to get the relevant developers attention.
Thank you for the bug report. At the moment, the Fedora developers are busy fixing other issues and do not have time to work on this one. The best way to make sure your problem will get looked on is to report it to the authors of the program. Most upstream authors use a bug tracking system like bugzilla, and more people who know the code will be looking at the bug report there. The upstream bug tracking system to use is: http://bugzilla.kernel.org/enter_bug.cgi You are requested to add the bugzilla link here for tracking purposes. Please make sure the bug isn't already in the upstream bug tracker before filing it, and look at these bugs: http://bugzilla.kernel.org/show_bug.cgi?id=10588 http://bugzilla.kernel.org/show_bug.cgi?id=11322