commit55f1cf83d5upstream. The pio_dev[] array has MAX_NR_PIO_DEVICES elements so the > should be >=. Fixes:5f97f7f940('[PATCH] avr32 architecture') Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>