Thread (3 messages) 3 messages, 3 authors, 2025-01-10

Re: [PATCH v2] wifi: brcmfmac: Check the return value of of_property_read_string_index

From: Arend Van Spriel <arend.vanspriel@broadcom.com>
Date: 2025-01-07 17:45:16

On January 6, 2025 6:10:13 PM Stefan Dösinger [off-list ref] wrote:
Somewhen between 6.10 and 6.11 the driver started to crash on my
MacBookPro14,3. The property doesn't exist and 'tmp' remains
uninitialized, so we pass a random pointer to devm_kstrdup().
Acked-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: Stefan Dösinger <redacted>

---

v2: Don't assign err, inline of_property_read_string_index into the if
statement.
[snip]

---
drivers/net/wireless/broadcom/brcm80211/brcmfmac/of.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help