Re: [PATCH] gpio: xra1403: Switch to a fixed upper bound for registers

2018-04-12 Thread Linus Walleij
On Mon, Apr 9, 2018 at 11:07 PM, Laura Abbott wrote: > Geert Uytterhoeven pointed out that the number of register was a > fixed upper bound so there's no need to use a dynamically allocated > array in place of a VLA. Use the defined upper bound. > > Suggested-by: Geert Uytterhoeven > Signed-off-

Re: [PATCH] gpio: xra1403: Switch to a fixed upper bound for registers

2018-04-10 Thread Geert Uytterhoeven
Hi Laura, On Mon, Apr 9, 2018 at 11:07 PM, Laura Abbott wrote: > Geert Uytterhoeven pointed out that the number of register was a > fixed upper bound so there's no need to use a dynamically allocated > array in place of a VLA. Use the defined upper bound. > > Suggested-by: Geert Uytterhoeven > S