Re: 2.6.28-rc3: usb_hcd_poll_rh_status: array subscript is abovearray bounds

From: Alan Stern
Date: Mon Nov 03 2008 - 09:53:21 EST


On Mon, 3 Nov 2008, Andrey Borzenkov wrote:

> CC [M] drivers/usb/core/hcd.o
> /home/bor/src/linux-git/drivers/usb/core/hcd.c: In function â??usb_hcd_poll_rh_statusâ??:
> /home/bor/src/linux-git/arch/x86/include/asm/string_32.h:75: warning: array subscript is above array bounds
>
> It is likely that issue is actually in string_32.h as similar errors are
> in oher places as well.

I think this is actually a compiler bug. It certainly has nothing to
do with USB. There was a discussion about it a month or so ago on
LKML.

Alan Stern

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