[merged] lis3lv02d-correct-memory-leak-in-module-unload.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     lis3lv02d: correct memory leak in module unload
has been removed from the -mm tree.  Its filename was
     lis3lv02d-correct-memory-leak-in-module-unload.patch

This patch was dropped because it was merged into mainline or a subsystem tree

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: lis3lv02d: correct memory leak in module unload
From: Samu Onkalo <samu.p.onkalo@xxxxxxxxx>

polled input device itself was not free'd.

Signed-off-by: Samu Onkalo <samu.p.onkalo@xxxxxxxxx>
Tested-by: Éric Piel <eric.piel@xxxxxxxxxxxxxxxx>
Acked-by: Éric Piel <eric.piel@xxxxxxxxxxxxxxxx>
Cc: Pavel Machek <pavel@xxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 drivers/hwmon/lis3lv02d.c |    1 +
 1 file changed, 1 insertion(+)

diff -puN drivers/hwmon/lis3lv02d.c~lis3lv02d-correct-memory-leak-in-module-unload drivers/hwmon/lis3lv02d.c
--- a/drivers/hwmon/lis3lv02d.c~lis3lv02d-correct-memory-leak-in-module-unload
+++ a/drivers/hwmon/lis3lv02d.c
@@ -333,6 +333,7 @@ void lis3lv02d_joystick_disable(void)
 	if (lis3_dev.irq)
 		misc_deregister(&lis3lv02d_misc_device);
 	input_unregister_polled_device(lis3_dev.idev);
+	input_free_polled_device(lis3_dev.idev);
 	lis3_dev.idev = NULL;
 }
 EXPORT_SYMBOL_GPL(lis3lv02d_joystick_disable);
_

Patches currently in -mm which might be from samu.p.onkalo@xxxxxxxxx are

origin.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

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux