From: Dan Carpenter Date: Wed, 13 Jul 2016 10:08:55 +0000 (+0300) Subject: avr32: off by one in at32_init_pio() X-Git-Tag: v3.2.84~107 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2546f7baa08278d3d065359e4a1951c89a385297;p=pandora-kernel.git avr32: off by one in at32_init_pio() commit 55f1cf83d5cf885c75267269729805852039c834 upstream. The pio_dev[] array has MAX_NR_PIO_DEVICES elements so the > should be >=. Fixes: 5f97f7f9400d ('[PATCH] avr32 architecture') Signed-off-by: Dan Carpenter Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed