From: Guenter Roeck <linux@roeck-us.net>
To: Li Yang <leoli@freescale.com>
Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
"Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>,
linuxppc-dev@lists.ozlabs.org,
"David S. Miller" <davem@davemloft.net>,
"Guenter Roeck" <linux@roeck-us.net>
Subject: [PATCH] net: ugg_geth: Fix build error in -next
Date: Sun, 10 Aug 2014 09:19:14 -0700 [thread overview]
Message-ID: <1407687554-14539-1-git-send-email-linux@roeck-us.net> (raw)
powerpc:mpc83xx_defconfig and other builds fail with
drivers/net/ethernet/freescale/ucc_geth.c: In function 'ucc_geth_remove':
drivers/net/ethernet/freescale/ucc_geth.c:3927:19: error:
'struct ucc_geth_private' has no member named 'info'
of_node_put(ugeth->info->tbi_node);
^
drivers/net/ethernet/freescale/ucc_geth.c:3928:19: error:
'struct ucc_geth_private' has no member named 'info'
of_node_put(ugeth->info->phy_node);
^
Introduced by commit "net: ucc_geth: drop acquired references in probe error
path and remove".
>From the context, it appears that the variable is named ug_info.
Cc: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
---
Only seen in -next.
drivers/net/ethernet/freescale/ucc_geth.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/ethernet/freescale/ucc_geth.c b/drivers/net/ethernet/freescale/ucc_geth.c
index d6b64e3..3cf0478 100644
--- a/drivers/net/ethernet/freescale/ucc_geth.c
+++ b/drivers/net/ethernet/freescale/ucc_geth.c
@@ -3924,8 +3924,8 @@ static int ucc_geth_remove(struct platform_device* ofdev)
unregister_netdev(dev);
free_netdev(dev);
ucc_geth_memclean(ugeth);
- of_node_put(ugeth->info->tbi_node);
- of_node_put(ugeth->info->phy_node);
+ of_node_put(ugeth->ug_info->tbi_node);
+ of_node_put(ugeth->ug_info->phy_node);
return 0;
}
--
1.9.1
next reply other threads:[~2014-08-10 16:19 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-10 16:19 Guenter Roeck [this message]
2014-08-10 17:46 ` [PATCH] net: ugg_geth: Fix build error in -next Guenter Roeck
2014-08-10 18:36 ` Uwe Kleine-König
2014-08-10 18:42 ` Guenter Roeck
2014-08-11 5:35 ` Uwe Kleine-König
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1407687554-14539-1-git-send-email-linux@roeck-us.net \
--to=linux@roeck-us.net \
--cc=davem@davemloft.net \
--cc=leoli@freescale.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=netdev@vger.kernel.org \
--cc=u.kleine-koenig@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).