[PATCH 477/961] staging: ath6kl: Fixing memory leak
Greg Kroah-Hartman
gregkh at suse.de
Wed Mar 16 14:02:00 PDT 2011
From: Vipin Mehta <vmehta at atheros.com>
The patch fixes a mismatch in the allocation and free of scatter HIF bus
requests in the suspend/resume path.
Signed-off-by: Vipin Mehta <vmehta at atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh at suse.de>
---
.../staging/ath6kl/hif/sdio/linux_sdio/src/hif.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/staging/ath6kl/hif/sdio/linux_sdio/src/hif.c b/drivers/staging/ath6kl/hif/sdio/linux_sdio/src/hif.c
index 4d6feea..8504724 100644
--- a/drivers/staging/ath6kl/hif/sdio/linux_sdio/src/hif.c
+++ b/drivers/staging/ath6kl/hif/sdio/linux_sdio/src/hif.c
@@ -1092,6 +1092,7 @@ static int hifDeviceSuspend(struct device *dev)
device->is_suspend = false;
}
}
+ CleanupHIFScatterResources(device);
AR_DEBUG_PRINTF(ATH_DEBUG_TRACE, ("AR6000: -hifDeviceSuspend\n"));
switch (status) {
--
1.7.4.1
More information about the devel
mailing list