1 From 8d1d6c6778c00d47eee8073bb991c6799d757c35 Mon Sep 17 00:00:00 2001
2 From: Ioana Radulescu <ruxandra.radulescu@nxp.com>
3 Date: Fri, 19 Oct 2018 17:00:17 +0300
4 Subject: [PATCH] staging: fsl-dpaa2/mac: Fix uninitialized variable
8 Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com>
10 drivers/staging/fsl-dpaa2/mac/mac.c | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
13 --- a/drivers/staging/fsl-dpaa2/mac/mac.c
14 +++ b/drivers/staging/fsl-dpaa2/mac/mac.c
15 @@ -355,7 +355,7 @@ static irqreturn_t dpaa2_mac_irq_handler
16 struct device *dev = (struct device *)arg;
17 struct fsl_mc_device *mc_dev = to_fsl_mc_device(dev);
18 struct dpaa2_mac_priv *priv = dev_get_drvdata(dev);
19 - struct dpmac_link_cfg link_cfg;
20 + struct dpmac_link_cfg link_cfg = { 0 };