Thread (37 messages) 37 messages, 4 authors, 2022-01-20

Re: [PATCH v3 2/9] brcmfmac: firmware: Allocate space for default boardrev in nvram

From: Andy Shevchenko <hidden>
Date: 2022-01-19 21:37:31
Also in: linux-acpi, linux-devicetree, lkml, netdev

On Mon, Jan 17, 2022 at 4:30 PM Hector Martin [off-list ref] wrote:
If boardrev is missing from the NVRAM we add a default one, but this
might need more space in the output buffer than was allocated. Ensure
we have enough padding for this in the buffer.
Do you know this ahead (before allocation happens)?
If yes, the size change should happen conditionally.

Alternatively, krealloc() may be used.

-- 
With Best Regards,
Andy Shevchenko
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help