RE: [PATCH] x86/mce: Dynamically size space for machine check records

Luck, Tony
2024-02-29T00:44:11Z

>> + ret = gen_pool_add(tmpp, (unsigned long)mce_pool, mce_poolsz, -1);
>> if (ret) {
>> gen_pool_destroy(tmpp);
>
> Is this missing a kfree(mce_pool) here?
>
>> goto out;

Yes. Will add.

Thanks

-Tony