[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <99840e11-e0e6-b3f4-e35b-56ef4ec39417@web.de>
Date: Mon, 8 Jul 2019 17:21:48 +0200
From: Markus Elfring <Markus.Elfring@....de>
To: Wen Yang <wen.yang99@....com.cn>, linuxppc-dev@...ts.ozlabs.org
Cc: Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Cheng Shengyu <cheng.shengyu@....com.cn>,
Kumar Gala <galak@...nel.crashing.org>,
Michael Ellerman <mpe@...erman.id.au>,
Paul Mackerras <paulus@...ba.org>,
Scott Wood <oss@...error.net>,
Xue Zhihong <xue.zhihong@....com.cn>,
Yi Wang <wang.yi59@....com.cn>, linux-kernel@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: powerpc/83xx: fix use-after-free on mpc831x_usb_cfg()
> The np variable is still being used after the of_node_put() call,
> which may result in use-after-free.
> We fix this issue by calling of_node_put() after the last usage.
I imagine that this commit description can be improved a bit more
(by mentioning the influence of “immr_node”?).
How do you think about to omit the word “We” here?
> This patatch also do some cleanup.
Should the renaming of a jump label be contributed in a separate update
step of a small patch series besides a wording without a typo?
Regards,
Markus
Powered by blists - more mailing lists