Re: [PATCH] drivers/thermal/tegra: fix a doule free devce node

2018-08-27 Thread Daniel Lezcano
On 17/08/2018 04:25, zhong jiang wrote: > On 2018/8/14 14:39, Daniel Lezcano wrote: >> On 09/08/2018 15:40, zhong jiang wrote: >>> Device node iterators will get the return node. Meawhile, It is >>> also put the previous device node. An explicit put will cause >>> a double put. >> What about: >> >>

Re: [PATCH] drivers/thermal/tegra: fix a doule free devce node

2018-08-16 Thread zhong jiang
On 2018/8/14 14:39, Daniel Lezcano wrote: > On 09/08/2018 15:40, zhong jiang wrote: >> Device node iterators will get the return node. Meawhile, It is >> also put the previous device node. An explicit put will cause >> a double put. > What about: > > Subject: drivers/thermal/tegra: Fix a double fre

Re: [PATCH] drivers/thermal/tegra: fix a doule free devce node

2018-08-13 Thread zhong jiang
On 2018/8/14 14:39, Daniel Lezcano wrote: > On 09/08/2018 15:40, zhong jiang wrote: >> Device node iterators will get the return node. Meawhile, It is >> also put the previous device node. An explicit put will cause >> a double put. > What about: > > Subject: drivers/thermal/tegra: Fix a double fre

Re: [PATCH] drivers/thermal/tegra: fix a doule free devce node

2018-08-13 Thread Daniel Lezcano
On 09/08/2018 15:40, zhong jiang wrote: > Device node iterators will get the return node. Meawhile, It is > also put the previous device node. An explicit put will cause > a double put. What about: Subject: drivers/thermal/tegra: Fix a double free on the device node "The function 'for_each_child

Re: [PATCH] drivers/thermal/tegra: fix a doule free devce node

2018-08-13 Thread Jon Hunter
Adding linux-tegra ... On 13/08/18 19:30, Jon Hunter wrote: > > On 09/08/18 14:40, zhong jiang wrote: >> Device node iterators will get the return node. Meawhile, It is >> also put the previous device node. An explicit put will cause >> a double put. >> >> Signed-off-by: zhong jiang >> --- >> d

Re: [PATCH] drivers/thermal/tegra: fix a doule free devce node

2018-08-13 Thread Jon Hunter
On 09/08/18 14:40, zhong jiang wrote: > Device node iterators will get the return node. Meawhile, It is > also put the previous device node. An explicit put will cause > a double put. > > Signed-off-by: zhong jiang > --- > drivers/thermal/tegra/soctherm.c | 1 - > 1 file changed, 1 deletion(-)

[PATCH] drivers/thermal/tegra: fix a doule free devce node

2018-08-09 Thread zhong jiang
Device node iterators will get the return node. Meawhile, It is also put the previous device node. An explicit put will cause a double put. Signed-off-by: zhong jiang --- drivers/thermal/tegra/soctherm.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/thermal/tegra/soctherm.c b/driver