[<prev] [next>] [day] [month] [year] [list]
Message-ID: <6301315e-1613-0970-ce9b-019d18458819@web.de>
Date: Sat, 25 Jul 2020 13:35:54 +0200
From: Markus Elfring <Markus.Elfring@....de>
To: Yi Wang <wang.yi59@....com.cn>,
Liao Pingfang <liao.pingfang@....com.cn>,
linux-block@...r.kernel.org
Cc: kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org,
Jens Axboe <axboe@...nel.dk>,
Wang Liang <wang.liang82@....com.cn>,
Xue Zhihong <xue.zhihong@....com.cn>
Subject: Re: [PATCH] block: Fix reference count leak in blk_integrity_add
> kobject_init_and_add() takes reference even when it fails. If this
> function returns an error, kobject_put() must be called to properly
> clean up the memory associated with the object.
* An imperative wording can be preferred for the change description,
can't it?
* Would you like to add the tag “Fixes” to the commit message?
Regards,
Markus
Powered by blists - more mailing lists