Re: [PATCH v3 1/3] genirq: enhance error recovery code in free irq

2019-08-15 Thread Thomas Gleixner
On Thu, 15 Aug 2019, Ben Luo wrote: > Per Thomas Gleixner's comments: > 1) free_irq/free_percpu_irq returns if called from IRQ context > 2) move WARN out of the locked region and print out dev_id Please do not describe WHAT the patch is doing, please describe WHY. > Signed-off-by: Ben Luo > --

[PATCH v3 1/3] genirq: enhance error recovery code in free irq

2019-08-15 Thread Ben Luo
Per Thomas Gleixner's comments: 1) free_irq/free_percpu_irq returns if called from IRQ context 2) move WARN out of the locked region and print out dev_id Signed-off-by: Ben Luo --- kernel/irq/manage.c | 32 1 file changed, 20 insertions(+), 12 deletions(-) diff