[PCMCIA] Fix resource handling for memory probe
Add claim_region and free_region to claim/free resource regions. This ensures that we only attempt to probe memory regions which are directly related to the socket in question, rather than any memory region we happen to be able to request. This also fixes a memory leak where we don't kfree the resources we previously allocated.
Showing
Please register or sign in to comment