[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <cda4c596-b04e-f6c9-5232-f37ee3d23ae5@canonical.com>
Date: Wed, 13 Oct 2021 11:53:55 +0200
From: Krzysztof Kozlowski <krzysztof.kozlowski@...onical.com>
To: Ziyang Xuan <william.xuanziyang@...wei.com>
Cc: davem@...emloft.net, kuba@...nel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH net] nfc: fix error handling of nfc_proto_register()
On 13/10/2021 05:49, Ziyang Xuan wrote:
> When nfc proto id is using, nfc_proto_register() return -EBUSY error
> code, but forgot to unregister proto. Fix it by adding proto_unregister()
> in the error handling case.
>
> Fixes: c7fe3b52c128 ("NFC: add NFC socket family")
> Signed-off-by: Ziyang Xuan <william.xuanziyang@...wei.com>
> ---
> net/nfc/af_nfc.c | 3 +++
> 1 file changed, 3 insertions(+)
>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@...onical.com>
Best regards,
Krzysztof
Powered by blists - more mailing lists