Re: [PATCH] cxl: Destroy cxl_adapter_idr on module_exit

2015-07-08 Thread Johannes Thumshirn
Ian Munsie writes: > Acked-by: Ian Munsie > > We are probably also missing an idr_destroy(&afu->contexts_idr); in > cxl_release_afu() as well if you wanted to send a patch for that. > > Cheers, > -Ian > Correct, patch is going out today. Thanks for the hint. -- Johannes Thumshirn

Re: [PATCH] cxl: Destroy cxl_adapter_idr on module_exit

2015-07-08 Thread Ian Munsie
Acked-by: Ian Munsie We are probably also missing an idr_destroy(&afu->contexts_idr); in cxl_release_afu() as well if you wanted to send a patch for that. Cheers, -Ian -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.or

[PATCH] cxl: Destroy cxl_adapter_idr on module_exit

2015-07-08 Thread Johannes Thumshirn
Destroy cxl_adapter_idr on module exit, reclaiming the allocated memory. This was detected by the following semantic patch (written by Luis Rodriguez ) @ defines_module_init @ declarer name module_init, module_exit; declarer name DEFINE_IDR; identifier init; @@ module_init(init); @ defines_modu