- drivers-isdn-misdn-teic-use-rwlock-runtime-init.patch removed from -mm tree

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

 



The patch titled
     drivers/isdn/mISDN/tei.c: use rwlock runtime init 
has been removed from the -mm tree.  Its filename was
     drivers-isdn-misdn-teic-use-rwlock-runtime-init.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: drivers/isdn/mISDN/tei.c: use rwlock runtime init 
From: Steven Rostedt <rostedt@xxxxxxxxxxx>

__RW_LOCK_UNLOCKED(lock) is meant for compile time initializations. 
rwlock_init(&lock) is used for run time initialization.

This patch converts drivers/isdn/mISDN/tei.c to initialize the mrg->lock
rwlock.

Signed-off-by: Steven Rostedt <srostedt@xxxxxxxxxx>
Cc: Karsten Keil <kkeil@xxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 drivers/isdn/mISDN/tei.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/isdn/mISDN/tei.c~drivers-isdn-misdn-teic-use-rwlock-runtime-init drivers/isdn/mISDN/tei.c
--- a/drivers/isdn/mISDN/tei.c~drivers-isdn-misdn-teic-use-rwlock-runtime-init
+++ a/drivers/isdn/mISDN/tei.c
@@ -1287,7 +1287,7 @@ create_teimanager(struct mISDNdevice *de
 	if (!mgr)
 		return -ENOMEM;
 	INIT_LIST_HEAD(&mgr->layer2);
-	mgr->lock = __RW_LOCK_UNLOCKED(mgr->lock);
+	rwlock_init(&mgr->lock);
 	skb_queue_head_init(&mgr->sendq);
 	mgr->nextid = 1;
 	mgr->lastid = MISDN_ID_NONE;
_

Patches currently in -mm which might be from rostedt@xxxxxxxxxxx are

linux-next.patch
dvb-remove-deprecated-use-of-rw_lock_unlocked-in-frontends.patch
net-ipv4-netfilter-nf_nat_rulec-update-rwlock-initialization-for-nat_table.patch
checkpatch-struct-file_operations-should-normally-be-const.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