Re: [PATCH] IB/qib: if qib_init() fails, driver fails to clean up properly

2010-07-06 Thread Roland Dreier
thanks, applied -- Roland Dreier rola...@cisco.com || For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/index.html -- To unsubscribe from this list: send the line unsubscribe linux-rdma in the body of a message to majord...@vger.kernel.org More

[PATCH] IB/qib: if qib_init() fails, driver fails to clean up properly

2010-07-01 Thread Ralph Campbell
If qib_init() fails, the driver fails to free memory, unregister device files, and unregister with the PCIe framework. The driver will unload without error but a subsequent driver load will cause the system to panic. This was found by changing the 7220 code to load the serdes microcode separately