drivers-mailbox-omap-make-mbox-irq-signed-for-error-handling.patch removed from -mm tree
Subject: [merged] drivers-mailbox-omap-make-mbox-irq-signed-for-error-handling.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Fri, 24 Jan 2014 10:59:55 -0800
The patch titled
Subject: drivers/mailbox/omap: make mbox->irq signed for error handling
has been removed from the -mm tree. Its filename was
drivers-mailbox-omap-make-mbox-irq-signed-for-error-handling.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Dan Carpenter <[email protected]>
Subject: drivers/mailbox/omap: make mbox->irq signed for error handling
There is a bug in omap2_mbox_probe() where we try do:
mbox->irq = platform_get_irq(pdev, info->irq_id);
if (mbox->irq < 0) {The problem is that mbox->irq is unsigned so the error handling doesn't work. I've changed it to a signed integer.
---
drivers/mailbox/omap-mbox.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mailbox/omap-mbox.h renamed from drivers/mailbox/omap-mbox.h~drivers-mailbox-omap-make-mbox-irq-signed-for-error-handling +1 -1
@@ -52,7 +52,7 @@ struct omap_mbox_queue {struct omap_mbox {const char *name; -unsigned int irq; +int irq;struct omap_mbox_queue *txq, *rxq;struct omap_mbox_ops *ops;struct device *dev;
_
Patches currently in -mm which might be from [email protected] are
origin.patch drivers-scsi-megaraid-megaraid_mmc-missing-bounds-check-in-mimd_to_kioc.patch linux-next.patch zram-fix-race-between-reset-and-flushing-pending-work.patch