diff for duplicates of <200504260216.10560.dtor_core@ameritech.net> diff --git a/a/1.txt b/N1/1.txt index f0e1ea4..558989d 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -38,11 +38,11 @@ following fragment: > +static void cn_queue_wrapper(void *data) > +{ -> +???????struct cn_callback_entry *cbq = (struct cn_callback_entry *)data; +> + struct cn_callback_entry *cbq = (struct cn_callback_entry *)data; > + -> +???????atomic_inc_and_test(&cbq->cb->refcnt); -> +???????cbq->cb->callback(cbq->cb->priv); -> +???????atomic_dec_and_test(&cbq->cb->refcnt); +> + atomic_inc_and_test(&cbq->cb->refcnt); +> + cbq->cb->callback(cbq->cb->priv); +> + atomic_dec_and_test(&cbq->cb->refcnt); > What exactly this refcount protects? Can it be that other code decrements @@ -61,7 +61,8 @@ Dmitry 2 files changed, 23 insertions(+), 64 deletions(-) Index: linux-2.6.11/drivers/connector/cn_queue.c -=================================--- linux-2.6.11.orig/drivers/connector/cn_queue.c +=================================================================== +--- linux-2.6.11.orig/drivers/connector/cn_queue.c +++ linux-2.6.11/drivers/connector/cn_queue.c @@ -33,49 +33,12 @@ @@ -187,7 +188,8 @@ Index: linux-2.6.11/drivers/connector/cn_queue.c } } Index: linux-2.6.11/include/linux/connector.h -=================================--- linux-2.6.11.orig/include/linux/connector.h +=================================================================== +--- linux-2.6.11.orig/include/linux/connector.h +++ linux-2.6.11/include/linux/connector.h @@ -115,8 +115,6 @@ struct cn_callback struct cb_id id; diff --git a/a/content_digest b/N1/content_digest index 0d87fbe..ec0b840 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,9 +1,9 @@ "ref\0200504210207.02421.dtor_core@ameritech.net\0" "ref\0200504260150.00948.dtor_core@ameritech.net\0" "ref\01114499202.8527.85.camel@uganda\0" - "From\0dtor_core@ameritech.net (Dmitry Torokhov)\0" - "Subject\0[RFC/PATCH 0/22] W1: sysfs, lifetime and other fixes\0" - "Date\0Thu, 19 May 2005 06:25:54 +0000\0" + "From\0Dmitry Torokhov <dtor_core@ameritech.net>\0" + "Subject\0Re: [RFC/PATCH 0/22] W1: sysfs, lifetime and other fixes\0" + "Date\0Tue, 26 Apr 2005 02:16:10 -0500\0" "To\0johnpol@2ka.mipt.ru\0" "Cc\0sensors@stimpy.netroedge.com" LKML <linux-kernel@vger.kernel.org> @@ -50,11 +50,11 @@ "\n" "> +static void cn_queue_wrapper(void *data)\n" "> +{\n" - "> +???????struct cn_callback_entry *cbq = (struct cn_callback_entry *)data;\n" + "> +\302\240\302\240\302\240\302\240\302\240\302\240\302\240struct cn_callback_entry *cbq = (struct cn_callback_entry *)data;\n" "> +\n" - "> +???????atomic_inc_and_test(&cbq->cb->refcnt);\n" - "> +???????cbq->cb->callback(cbq->cb->priv);\n" - "> +???????atomic_dec_and_test(&cbq->cb->refcnt);\n" + "> +\302\240\302\240\302\240\302\240\302\240\302\240\302\240atomic_inc_and_test(&cbq->cb->refcnt);\n" + "> +\302\240\302\240\302\240\302\240\302\240\302\240\302\240cbq->cb->callback(cbq->cb->priv);\n" + "> +\302\240\302\240\302\240\302\240\302\240\302\240\302\240atomic_dec_and_test(&cbq->cb->refcnt);\n" "> \n" "\n" "What exactly this refcount protects? Can it be that other code decrements\n" @@ -73,7 +73,8 @@ " 2 files changed, 23 insertions(+), 64 deletions(-)\n" "\n" "Index: linux-2.6.11/drivers/connector/cn_queue.c\n" - "=================================--- linux-2.6.11.orig/drivers/connector/cn_queue.c\n" + "===================================================================\n" + "--- linux-2.6.11.orig/drivers/connector/cn_queue.c\n" "+++ linux-2.6.11/drivers/connector/cn_queue.c\n" "@@ -33,49 +33,12 @@\n" " \n" @@ -199,7 +200,8 @@ " \t}\n" " }\n" "Index: linux-2.6.11/include/linux/connector.h\n" - "=================================--- linux-2.6.11.orig/include/linux/connector.h\n" + "===================================================================\n" + "--- linux-2.6.11.orig/include/linux/connector.h\n" "+++ linux-2.6.11/include/linux/connector.h\n" "@@ -115,8 +115,6 @@ struct cn_callback\n" " \tstruct cb_id\t\tid;\n" @@ -211,4 +213,4 @@ " \n" struct cn_callback_entry -45100dab4833ae450d47c6e0ccb931f9796d0f8c9c7ef92d00a2b8ba2e175aa0 +beb9ab8c717afda33828f5eb5d5f469f09b14a9579b5ee2cdc4b5394f2330d4d
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.