drivers-rtc-rtc-pl031c-pass-correct-pointer-to-free_irq.patch removed from -mm tree
Subsystems (2)
Subject: [merged] drivers-rtc-rtc-pl031c-pass-correct-pointer-to-free_irq.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Tue, 28 May 2013 12:37:07 -0700
The patch titled
Subject: drivers/rtc/rtc-pl031.c: pass correct pointer to free_irq()
has been removed from the -mm tree. Its filename was
drivers-rtc-rtc-pl031c-pass-correct-pointer-to-free_irq.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Lars-Peter Clausen <[email protected]>
Subject: drivers/rtc/rtc-pl031.c: pass correct pointer to free_irq()
free_irq() expects the same pointer that was passed to request_irq(), otherwise the IRQ is not freed.
The issue was found using the following coccinelle script:
<smpl>
@r1@
type T;
T devid;
@@request_irq(..., devid)
@r2@
type r1.T;
T devid;
position p;
@@
free_irq@p(..., devid)
@@
position p != r2.p;
@@
*free_irq@p(...)
</smpl>
---
drivers/rtc/rtc-pl031.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/rtc/rtc-pl031.c renamed from drivers/rtc/rtc-pl031.c~drivers-rtc-rtc-pl031c-pass-correct-pointer-to-free_irq +1 -1
@@ -306,7 +306,7 @@ static int pl031_remove(struct amba_devistruct pl031_local *ldata =dev_get_drvdata (&adev->dev);amba_set_drvdata (adev,NULL ); -free_irq (adev->irq[0 ], ldata->rtc); +free_irq (adev->irq[0 ], ldata);rtc_device_unregister (ldata->rtc);iounmap (ldata->base);kfree (ldata);
_
Patches currently in -mm which might be from [email protected] are
origin.patch
linux-next.patch rtc-rtc-ab3100-remove-unnecessary-platform_set_drvdata.patch rtc-rtc-hid-sensor-time-allow-full-years-16bit-in-hid-reports.patch rtc-rtc-hid-sensor-time-allow-16-and-32-bit-values-for-all-attributes.patch rtc-rtc-hid-sensor-time-add-option-hctosys-to-set-time-at-boot.patch rtc-rtc-hid-sensor-time-add-support-for-milliseconds.patch