Re: [PATCH] platform-msi: Do not cache msi_desc in handler_data

2015-09-13 Thread Jiang Liu
On 2015/9/13 20:37, Marc Zyngier wrote: > The current implementation of platform MSI caches the msi_desc > pointer in irq_data::handler_data. This is a bit silly, as > we also have irq_data::msi_desc, which is perfectly valid. > > Remove the useless assignment and simplify the whole flow. > > Rep

[PATCH] platform-msi: Do not cache msi_desc in handler_data

2015-09-13 Thread Marc Zyngier
The current implementation of platform MSI caches the msi_desc pointer in irq_data::handler_data. This is a bit silly, as we also have irq_data::msi_desc, which is perfectly valid. Remove the useless assignment and simplify the whole flow. Reported-by: Ma Jun Signed-off-by: Marc Zyngier --- dr