Messages in this thread | | | From | Arnd Bergmann <> | Date | Fri, 17 Apr 2020 16:58:47 +0200 | Subject | Re: [PATCH] soc: fsl: dpio: avoid stack usage warning |
| |
On Wed, Apr 8, 2020 at 10:24 PM Russell King - ARM Linux admin <linux@armlinux.org.uk> wrote: > On Wed, Apr 08, 2020 at 08:58:16PM +0200, Arnd Bergmann wrote: > > - int i; > > - struct qbman_eq_desc ed[32]; > > + struct qbman_eq_desc *ed = kcalloc(sizeof(struct qbman_eq_desc), 32, GFP_KERNEL); > > I think you need to rearrange this to be more compliant with the coding > style.
Ok, I've updated this now to move the allocation into a new line and applied this and the other fsl patch into the arm/fixes branch for v5.7.
Arnd
| |