[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20121214222254.266747144@linuxfoundation.org>
Date: Fri, 14 Dec 2012 15:00:43 -0800
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-kernel@...r.kernel.org, stable@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
alan@...rguk.ukuu.org.uk,
Samuel Iglesias Gonsálvez
<siglesias@...lia.com>
Subject: [ 06/37] Staging: ipack/bridges/tpci200: avoid kernel bug when uninstalling a device
3.6-stable review patch. If anyone has any objections, please let me know.
------------------
From: Samuel Iglesias Gonsálvez <siglesias@...lia.com>
commit 9e58d05a1b24d2c0471c3b4df8f473a7543d7647 upstream.
Signed-off-by: Samuel Iglesias Gonsálvez <siglesias@...lia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
---
drivers/staging/ipack/bridges/tpci200.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/drivers/staging/ipack/bridges/tpci200.c
+++ b/drivers/staging/ipack/bridges/tpci200.c
@@ -604,8 +604,8 @@ static int tpci200_slot_unregister(struc
if (mutex_lock_interruptible(&tpci200->mutex))
return -ERESTARTSYS;
- ipack_device_unregister(dev);
tpci200->slots[dev->slot].dev = NULL;
+ ipack_device_unregister(dev);
mutex_unlock(&tpci200->mutex);
return 0;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists