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
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
>
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
---
drivers/ntb/hw/epf/ntb_hw_epf.c | 1 -
1 file changed
3 matches
Mail list logo