* [PATCH] staging: wilc1000: Destroy mutex object in deinitialization
@ 2018-03-12 13:19 ` hariprasath.elango
0 siblings, 0 replies; 4+ messages in thread
From: hariprasath.elango @ 2018-03-12 13:19 UTC (permalink / raw)
To: aditya.shankar
Cc: hariprasath.elango, vbabu3, Ganesh Krishna, Greg Kroah-Hartman,
linux-wireless, devel, linux-kernel
From: HariPrasath Elango <hariprasath.elango@gmail.com>
Destroy the mutex object that is initialized in wlan_init_locks()
Signed-off-by: HariPrasath Elango <hariprasath.elango@gmail.com>
---
drivers/staging/wilc1000/linux_wlan.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/staging/wilc1000/linux_wlan.c b/drivers/staging/wilc1000/linux_wlan.c
index 1af3c14..38a83bd 100644
--- a/drivers/staging/wilc1000/linux_wlan.c
+++ b/drivers/staging/wilc1000/linux_wlan.c
@@ -678,6 +678,7 @@ static int wlan_deinit_locks(struct net_device *dev)
mutex_destroy(&wilc->hif_cs);
mutex_destroy(&wilc->rxq_cs);
+ mutex_destroy(&wilc->txq_add_to_head_cs);
return 0;
}
--
2.10.0.GIT
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH] staging: wilc1000: Destroy mutex object in deinitialization
@ 2018-03-12 13:19 ` hariprasath.elango
0 siblings, 0 replies; 4+ messages in thread
From: hariprasath.elango @ 2018-03-12 13:19 UTC (permalink / raw)
To: aditya.shankar
Cc: devel, vbabu3, Greg Kroah-Hartman, linux-wireless, linux-kernel,
hariprasath.elango, Ganesh Krishna
From: HariPrasath Elango <hariprasath.elango@gmail.com>
Destroy the mutex object that is initialized in wlan_init_locks()
Signed-off-by: HariPrasath Elango <hariprasath.elango@gmail.com>
---
drivers/staging/wilc1000/linux_wlan.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/staging/wilc1000/linux_wlan.c b/drivers/staging/wilc1000/linux_wlan.c
index 1af3c14..38a83bd 100644
--- a/drivers/staging/wilc1000/linux_wlan.c
+++ b/drivers/staging/wilc1000/linux_wlan.c
@@ -678,6 +678,7 @@ static int wlan_deinit_locks(struct net_device *dev)
mutex_destroy(&wilc->hif_cs);
mutex_destroy(&wilc->rxq_cs);
+ mutex_destroy(&wilc->txq_add_to_head_cs);
return 0;
}
--
2.10.0.GIT
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] staging: wilc1000: Destroy mutex object in deinitialization
2018-03-12 13:19 ` hariprasath.elango
@ 2018-03-13 7:41 ` Ajay Singh
-1 siblings, 0 replies; 4+ messages in thread
From: Ajay Singh @ 2018-03-13 7:41 UTC (permalink / raw)
To: hariprasath.elango, linux-kernel
Cc: aditya.shankar, vbabu3, Ganesh Krishna, Greg Kroah-Hartman,
linux-wireless, devel
On Mon, 12 Mar 2018 18:49:49 +0530
<hariprasath.elango@gmail.com> wrote:
> From: HariPrasath Elango <hariprasath.elango@gmail.com>
>
> Destroy the mutex object that is initialized in wlan_init_locks()
>
> Signed-off-by: HariPrasath Elango <hariprasath.elango@gmail.com>
Reviewed-by: Ajay Singh <ajay.kathat@microchip.com>
Regards,
Ajay
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] staging: wilc1000: Destroy mutex object in deinitialization
@ 2018-03-13 7:41 ` Ajay Singh
0 siblings, 0 replies; 4+ messages in thread
From: Ajay Singh @ 2018-03-13 7:41 UTC (permalink / raw)
To: hariprasath.elango, linux-kernel
Cc: devel, vbabu3, Greg Kroah-Hartman, linux-wireless,
Ganesh Krishna, aditya.shankar
On Mon, 12 Mar 2018 18:49:49 +0530
<hariprasath.elango@gmail.com> wrote:
> From: HariPrasath Elango <hariprasath.elango@gmail.com>
>
> Destroy the mutex object that is initialized in wlan_init_locks()
>
> Signed-off-by: HariPrasath Elango <hariprasath.elango@gmail.com>
Reviewed-by: Ajay Singh <ajay.kathat@microchip.com>
Regards,
Ajay
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-03-13 7:41 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-12 13:19 [PATCH] staging: wilc1000: Destroy mutex object in deinitialization hariprasath.elango
2018-03-12 13:19 ` hariprasath.elango
2018-03-13 7:41 ` Ajay Singh
2018-03-13 7:41 ` Ajay Singh
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.