The patch titled handle-failure-of-irqchip-set_type-in-setup_irq update has been added to the -mm tree. Its filename is handle-failure-of-irqchip-set_type-in-setup_irq-update.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: handle-failure-of-irqchip-set_type-in-setup_irq update From: Uwe Kleine-König <Uwe.Kleine-Koenig@xxxxxxxx> This uses the new feature of printk introduced in 0fe1ef24f7bd0020f29ffe287dfdb9ead33ca0b2. The actual output is unchanged. Signed-off-by: Uwe Kleine-König <Uwe.Kleine-Koenig@xxxxxxxx> Cc: Ingo Molnar <mingo@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- kernel/irq/manage.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff -puN kernel/irq/manage.c~handle-failure-of-irqchip-set_type-in-setup_irq-update kernel/irq/manage.c --- a/kernel/irq/manage.c~handle-failure-of-irqchip-set_type-in-setup_irq-update +++ a/kernel/irq/manage.c @@ -310,14 +310,9 @@ static int __irq_set_trigger(struct irq_ ret = chip->set_type(irq, flags & IRQF_TRIGGER_MASK); - if (ret) { - char buf[100]; - - snprintf(buf, sizeof(buf), KERN_ERR - "setting flow type for irq %u failed (%%s)\n", - irq); - print_fn_descriptor_symbol(buf, chip->set_type); - } + if (ret) + pr_err("setting flow type for irq %u failed (%pF)\n", + irq, chip->set_type); return ret; } _ Patches currently in -mm which might be from Uwe.Kleine-Koenig@xxxxxxxx are fix-name-of-russell-king-in-various-comments.patch linux-next.patch handle-failure-of-irqchip-set_type-in-setup_irq.patch handle-failure-of-irqchip-set_type-in-setup_irq-update.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html