Re: [PATCH v6 net-next 02/13] net: ethernet: ti: cpsw: allow untagged traffic on host port

From
David Miller <davem@davemloft.net>
Date
2019-11-12 20:12:09
Also in
linux-devicetree, linux-omap, lkml
Reply to
Grygorii Strashko, 2019-11-09
From: Grygorii Strashko <grygorii.strashko@ti.com>
Date: Sat, 9 Nov 2019 17:15:14 +0200
quoted hunk ↗ jump to hunk
+	ale->p0_untag_vid_mask =
+		devm_kmalloc_array(params->dev, BITS_TO_LONGS(VLAN_N_VID),
+				   sizeof(unsigned long),
+				   GFP_KERNEL);
+
devm_kmalloc_array() can fail and you must check the return value and
cleanup with -ENOMEM if necessary.
Thread (19 messages) 19 messages, 4 authors, last reply 2019-11-12
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help