[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20191111.143830.839461521636004353.davem@davemloft.net>
Date: Mon, 11 Nov 2019 14:38:30 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: grygorii.strashko@...com
Cc: f.fainelli@...il.com, netdev@...r.kernel.org,
ilias.apalodimas@...aro.org, andrew@...n.ch,
ivan.khoronzhuk@...aro.org, jiri@...nulli.us, nsekhar@...com,
linux-kernel@...r.kernel.org, linux-omap@...r.kernel.org,
m-karicheri2@...com, ivecera@...hat.com, robh+dt@...nel.org,
devicetree@...r.kernel.org
Subject: Re: [PATCH v6 net-next 02/13] net: ethernet: ti: cpsw: allow
untagged traffic on host port
From: Grygorii Strashko <grygorii.strashko@...com>
Date: Sat, 9 Nov 2019 17:15:14 +0200
> + 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.
Powered by blists - more mailing lists