From: David Miller <davem@davemloft.net>
To: narmstrong@baylibre.com
Cc: f.fainelli@gmail.com, linux@roeck-us.net,
vivien.didelot@savoirfairelinux.com, andrew@lunn.ch,
fabf@skynet.be, pavel.nakonechny@skitlab.ru, joe@perches.com,
netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
nbd@openwrt.org, sergei.shtylyov@cogentembedded.com
Subject: Re: [PATCH v3 0/5] net: dsa: complete and fix the dsa unbinding
Date: Wed, 07 Oct 2015 04:56:33 -0700 (PDT) [thread overview]
Message-ID: <20151007.045633.344434060767220177.davem@davemloft.net> (raw)
In-Reply-To: <5613DD2E.1070209@baylibre.com>
From: Neil Armstrong <narmstrong@baylibre.com>
Date: Tue, 6 Oct 2015 15:39:42 +0100
> In order to cleanly unbind the dsa core, either as a module removal,
> or a platform device unbind, switch the allocation the their devm_
> counterparts and complete the destroy functions.
>
> First, the missing kfree were added, the remove function were
> completed then kfree were removed in favor to devm_ calls.
>
> The last patch is an way to cleanly exit the probe when no
> switch is found in the discover process.
>
> The patches are based on the current net.
>
> v3:
> - make checkpatch happy with 1/5 & 5/5
> - fix 5/5 exit path with a goto
Series applied, thanks Neil.
prev parent reply other threads:[~2015-10-07 11:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-06 14:39 [PATCH v3 0/5] net: dsa: complete and fix the dsa unbinding Neil Armstrong
2015-10-07 11:56 ` David Miller [this message]
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=20151007.045633.344434060767220177.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=andrew@lunn.ch \
--cc=f.fainelli@gmail.com \
--cc=fabf@skynet.be \
--cc=joe@perches.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=narmstrong@baylibre.com \
--cc=nbd@openwrt.org \
--cc=netdev@vger.kernel.org \
--cc=pavel.nakonechny@skitlab.ru \
--cc=sergei.shtylyov@cogentembedded.com \
--cc=vivien.didelot@savoirfairelinux.com \
/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).