On Tue, 3 Oct 2023 22:46:02 +0200 Tomasz Duszynski <tduszyn...@marvell.com> wrote:
> + > +struct cnxk_gpio_params { > + char allowlist[CNXK_GPIO_BUFSZ]; > + int num; > +}; Should be using unsigned for number of params since can't be negative. You could also use a flex array to avoid any buf size issues.