Re: [PATCH -next] NTB: Drop kfree for memory allocated with devm_kzalloc

2021-02-12 Thread Lorenzo Pieralisi
On Wed, Feb 10, 2021 at 07:53:45AM +, Wei Yongjun wrote: > It's not necessary to free memory allocated with devm_kzalloc > and using kfree leads to a double free. > > Fixes: 363baf7d6051 ("NTB: Add support for EPF PCI-Express Non-Transparent > Bridge") Squashed it in the commit it is fixing

Re: [PATCH -next] NTB: Drop kfree for memory allocated with devm_kzalloc

2021-02-12 Thread Kishon Vijay Abraham I
On 10/02/21 1:23 pm, Wei Yongjun wrote: > It's not necessary to free memory allocated with devm_kzalloc > and using kfree leads to a double free. > > Fixes: 363baf7d6051 ("NTB: Add support for EPF PCI-Express Non-Transparent > Bridge") > Reported-by: Hulk Robot > Signed-off-by: Wei Yongjun >