Re: [PATCH] hwrng: amd - Fix PCI device refcount leak

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 2022/12/2 17:43, Herbert Xu wrote:
> On Wed, Nov 23, 2022 at 05:39:49PM +0800, Xiongfeng Wang wrote:
>>
>> @@ -201,6 +207,8 @@ static void __exit amd_rng_mod_exit(void)
>>  	release_region(priv->pmbase + PMBASE_OFFSET, PMBASE_SIZE);
>>  
>>  	kfree(priv);
>> +
>> +	pci_dev_put(priv->pcidev);
> 
> Oops, this doesn't look right.  Please fix and resubmit.

Ah, Sorry, my mistake! I will send another version with the fix of geode-rng.

Thanks,
Xiongfeng

> 
> Thanks,
> 



[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]
  Powered by Linux