[dpdk-dev] [dpdk-stable] [PATCH v2] eal: fix unlock in rte_eal_memzone_init
gfree.wind at vip.163.com
Thu Dec 20 12:47:12 CET 2018
At 2018-12-20 19:36:14, "Thomas Monjalon" <thomas at monjalon.net> wrote:
>20/12/2018 12:20, Thomas Monjalon:
>> 07/12/2018 09:57, Burakov, Anatoly:
>> > On 07-Dec-18 1:20 AM, Gao Feng wrote:
>> > > The RTE_PROC_PRIMARY error handler lost the unlock statement in the
>> > > current codes. Now unlock and return in one place to fix it.
>> > >
>> > > Fixes: 49df3db84883 ("memzone: replace memzone array with fbarray")
>> > > Cc: stable at dpdk.org
>> > >
>> > > Signed-off-by: Gao Feng <davidfgao at tencent.com>
>> > > ---
>> > Acked-by: Anatoly Burakov <anatoly.burakov at intel.com>
>> Applied, thanks
>> I changed your author email (From:) to match the Signed-off-by one.
>> Please configure your git to use the Tencent email if possible.
>> Note you can have a "git From" address and use another one for sending.
>One more tip about patch formatting:
>I reworded the title to:
> memzone: fix unlock on initialization failure
>The prefix "memzone" gives the scope of the change.
>We decided that memzone is important enough to have its own scope prefix.
>You can find other prefixes in the git history.
>Then the rest of the title is written in plain english,
>detailing more the scope with "on initialization failure".
>Hope it helps, and welcome :)
Thanks your enhancement, I think it's better.
More information about the dev