From: Richard Zhao <richard.zhao@freescale•com>
To: Stephen Rothwell <sfr@canb•auug.org.au>
Cc: "David Miller" <davem@davemloft•net>,
netdev@vger•kernel.org, "Arnd Bergmann" <arnd@arndb•de>,
linux-kernel@vger•kernel.org, linux-next@vger•kernel.org,
"Olof Johansson" <olof@lixom•net>,
"Richard Zhao" <richard.zhao@linaro•org>,
linux-arm-kernel@lists•infradead.org,
"Lothar Waßmann" <LW@KARO-electronics•de>
Subject: Re: linux-next: manual merge of the net-next tree with the arm-soc tree
Date: Wed, 4 Jan 2012 12:46:21 +0800 [thread overview]
Message-ID: <20120104044620.GL2414@b20223-02.ap.freescale.net> (raw)
In-Reply-To: <20120104150658.aafd5ae8ebce944e897f1079@canb.auug.org.au>
On Wed, Jan 04, 2012 at 03:06:58PM +1100, Stephen Rothwell wrote:
> Hi all,
>
> Today's linux-next merge of the net-next tree got a conflict in
> drivers/net/ethernet/freescale/fec.c between commit 0ebafefcaa7a ("net:
> fec: add clk_prepare/clk_unprepare") from the arm-soc tree and commit
> e163cc97f9ac ("net/fec: fix the .remove code") from the net-next tree.
>
> Just context changes. I fixed it up (see below) and can carry the fix as
> necessary.
It's good.
Thanks
Richard
> --
> Cheers,
> Stephen Rothwell sfr@canb•auug.org.au
>
> diff --cc drivers/net/ethernet/freescale/fec.c
> index 112af9b,b0b0445..0000000
> --- a/drivers/net/ethernet/freescale/fec.c
> +++ b/drivers/net/ethernet/freescale/fec.c
> @@@ -1638,13 -1657,18 +1657,18 @@@ fec_drv_remove(struct platform_device *
> struct net_device *ndev = platform_get_drvdata(pdev);
> struct fec_enet_private *fep = netdev_priv(ndev);
> struct resource *r;
> + int i;
>
> - fec_stop(ndev);
> + unregister_netdev(ndev);
> fec_enet_mii_remove(fep);
> + for (i = 0; i < FEC_IRQ_NUM; i++) {
> + int irq = platform_get_irq(pdev, i);
> + if (irq > 0)
> + free_irq(irq, ndev);
> + }
> - clk_disable(fep->clk);
> + clk_disable_unprepare(fep->clk);
> clk_put(fep->clk);
> iounmap(fep->hwp);
> - unregister_netdev(ndev);
> free_netdev(ndev);
>
> r = platform_get_resource(pdev, IORESOURCE_MEM, 0);
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel@lists•infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2012-01-04 4:46 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-04 4:06 linux-next: manual merge of the net-next tree with the arm-soc tree Stephen Rothwell
2012-01-04 4:46 ` Richard Zhao [this message]
-- strict thread matches above, loose matches on Subject: below --
2014-03-31 2:24 Stephen Rothwell
2014-09-10 4:48 Stephen Rothwell
2014-09-10 8:06 ` Arnd Bergmann
2014-09-25 2:58 Stephen Rothwell
2015-01-27 2:04 Stephen Rothwell
2016-05-10 0:18 Stephen Rothwell
2016-06-21 1:18 Stephen Rothwell
2016-06-21 8:56 ` Arnd Bergmann
2016-07-27 2:53 Stephen Rothwell
2016-07-27 20:41 ` Duc Dang
2016-12-01 1:31 Stephen Rothwell
2019-09-05 3:42 Stephen Rothwell
2021-02-16 2:04 Stephen Rothwell
2021-02-16 2:20 ` nobuhiro1.iwamatsu
2021-02-16 10:11 ` Arnd Bergmann
2021-02-16 11:53 ` Yoshihiro Shimoda
2021-02-16 12:28 ` Naresh Kamboju
2021-02-16 13:47 ` nobuhiro1.iwamatsu
2021-02-16 14:21 ` nobuhiro1.iwamatsu
2021-02-16 21:17 ` Stephen Rothwell
2021-02-17 0:23 ` Yoshihiro Shimoda
2022-07-13 2:55 Stephen Rothwell
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=20120104044620.GL2414@b20223-02.ap.freescale.net \
--to=richard.zhao@freescale$(echo .)com \
--cc=LW@KARO-electronics$(echo .)de \
--cc=arnd@arndb$(echo .)de \
--cc=davem@davemloft$(echo .)net \
--cc=linux-arm-kernel@lists$(echo .)infradead.org \
--cc=linux-kernel@vger$(echo .)kernel.org \
--cc=linux-next@vger$(echo .)kernel.org \
--cc=netdev@vger$(echo .)kernel.org \
--cc=olof@lixom$(echo .)net \
--cc=richard.zhao@linaro$(echo .)org \
--cc=sfr@canb$(echo .)auug.org.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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