[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20201127094646.121735-1-miaoqinglang@huawei.com>
Date: Fri, 27 Nov 2020 17:46:43 +0800
From: Qinglang Miao <miaoqinglang@...wei.com>
To: Corentin Labbe <clabbe.montjoie@...il.com>,
Herbert Xu <herbert@...dor.apana.org.au>,
"David S. Miller" <davem@...emloft.net>,
Maxime Ripard <mripard@...nel.org>,
Chen-Yu Tsai <wens@...e.org>,
"Jernej Skrabec" <jernej.skrabec@...l.net>
CC: <linux-crypto@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-kernel@...r.kernel.org>,
Qinglang Miao <miaoqinglang@...wei.com>
Subject: [PATCH 0/3] crypto: sun - fix reference leak
pm_runtime_get_sync will increment pm usage counter even it
failed. Forgetting to putting operation will result in a
reference leak here.
Use pm_runtime_resume_and_get to fix it.
Qinglang Miao (3):
crypto: sun4i - fix reference leak in sun4i-ss
crypto: sun8i - fix reference leak in sun8i-ce
crypto: sun8i - fix reference leak in sun8i-ss
drivers/crypto/allwinner/sun4i-ss/sun4i-ss-cipher.c | 2 +-
drivers/crypto/allwinner/sun4i-ss/sun4i-ss-core.c | 2 +-
drivers/crypto/allwinner/sun4i-ss/sun4i-ss-hash.c | 2 +-
drivers/crypto/allwinner/sun4i-ss/sun4i-ss-prng.c | 2 +-
drivers/crypto/allwinner/sun8i-ce/sun8i-ce-core.c | 2 +-
drivers/crypto/allwinner/sun8i-ss/sun8i-ss-cipher.c | 2 +-
drivers/crypto/allwinner/sun8i-ss/sun8i-ss-core.c | 2 +-
7 files changed, 7 insertions(+), 7 deletions(-)
--
2.23.0
Powered by blists - more mailing lists