diff for duplicates of <20211212210309.9851-3-digetx@gmail.com>
diff --git a/a/1.txt b/N1/1.txt
index 73b92e5..ff01910 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -179,10 +179,4 @@ index e30d24ee88e9..77e5112ff05b 100644
return ret;
}
--
-2.33.1
-
-
-_______________________________________________
-linux-riscv mailing list
-linux-riscv@lists.infradead.org
-http://lists.infradead.org/mailman/listinfo/linux-riscv
\ No newline at end of file
+2.33.1
\ No newline at end of file
diff --git a/a/content_digest b/N1/content_digest
index 96310d4..f87fbfe 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -265,13 +265,7 @@
" \treturn ret;\n",
" }\n",
"-- \n",
- "2.33.1\n",
- "\n",
- "\n",
- "_______________________________________________\n",
- "linux-riscv mailing list\n",
- "linux-riscv\@lists.infradead.org\n",
- "http://lists.infradead.org/mailman/listinfo/linux-riscv"
+ "2.33.1"
]
-ae5aa9819251bf99a34d26a8a0357017315f489465217aca49b3596f4e481d2c
+1f42c81f75e1da91f59d01fb4c999c61bca70bd0dcd22011dcb203cb23b7cce1
diff --git a/a/1.txt b/N2/1.txt
index 73b92e5..ff01910 100644
--- a/a/1.txt
+++ b/N2/1.txt
@@ -179,10 +179,4 @@ index e30d24ee88e9..77e5112ff05b 100644
return ret;
}
--
-2.33.1
-
-
-_______________________________________________
-linux-riscv mailing list
-linux-riscv@lists.infradead.org
-http://lists.infradead.org/mailman/listinfo/linux-riscv
\ No newline at end of file
+2.33.1
\ No newline at end of file
diff --git a/a/content_digest b/N2/content_digest
index 96310d4..5972f84 100644
--- a/a/content_digest
+++ b/N2/content_digest
@@ -63,19 +63,19 @@
" Micha\305\202 Miros\305\202aw <mirq-linux\@rere.qmqm.pl>\0"
]
[
- "Cc\0linux-kernel\@vger.kernel.org",
- " linux-csky\@vger.kernel.org",
- " linux-ia64\@vger.kernel.org",
- " linux-m68k\@lists.linux-m68k.org",
- " linux-mips\@vger.kernel.org",
+ "Cc\0linux-ia64\@vger.kernel.org",
" linux-parisc\@vger.kernel.org",
- " linuxppc-dev\@lists.ozlabs.org",
- " linux-riscv\@lists.infradead.org",
" linux-sh\@vger.kernel.org",
- " xen-devel\@lists.xenproject.org",
- " linux-acpi\@vger.kernel.org",
" linux-pm\@vger.kernel.org",
- " linux-tegra\@vger.kernel.org\0"
+ " linux-kernel\@vger.kernel.org",
+ " linux-csky\@vger.kernel.org",
+ " linux-mips\@vger.kernel.org",
+ " linux-acpi\@vger.kernel.org",
+ " linux-m68k\@lists.linux-m68k.org",
+ " linux-tegra\@vger.kernel.org",
+ " xen-devel\@lists.xenproject.org",
+ " linux-riscv\@lists.infradead.org",
+ " linuxppc-dev\@lists.ozlabs.org\0"
]
[
"\0000:1\0"
@@ -265,13 +265,7 @@
" \treturn ret;\n",
" }\n",
"-- \n",
- "2.33.1\n",
- "\n",
- "\n",
- "_______________________________________________\n",
- "linux-riscv mailing list\n",
- "linux-riscv\@lists.infradead.org\n",
- "http://lists.infradead.org/mailman/listinfo/linux-riscv"
+ "2.33.1"
]
-ae5aa9819251bf99a34d26a8a0357017315f489465217aca49b3596f4e481d2c
+dfa668220f9120ad5183d129be8d1949742177ef8b660a02a1f43b42e2f77cb4
diff --git a/a/1.txt b/N3/1.txt
index 73b92e5..13385a4 100644
--- a/a/1.txt
+++ b/N3/1.txt
@@ -36,12 +36,12 @@ index e30d24ee88e9..77e5112ff05b 100644
+ struct notifier_block *n, bool unique_priority)
{
while ((*nl) != NULL) {
- if (unlikely((*nl) == n)) {
+ if (unlikely((*nl) = n)) {
@@ -29,6 +29,8 @@ static int notifier_chain_register(struct notifier_block **nl,
}
if (n->priority > (*nl)->priority)
break;
-+ if (n->priority == (*nl)->priority && unique_priority)
++ if (n->priority = (*nl)->priority && unique_priority)
+ return -EBUSY;
nl = &((*nl)->next);
}
@@ -108,7 +108,7 @@ index e30d24ee88e9..77e5112ff05b 100644
@@ -229,15 +245,48 @@ int blocking_notifier_chain_register(struct blocking_notifier_head *nh,
* such times we must not call down_write().
*/
- if (unlikely(system_state == SYSTEM_BOOTING))
+ if (unlikely(system_state = SYSTEM_BOOTING))
- return notifier_chain_register(&nh->head, n);
+ return notifier_chain_register(&nh->head, n, unique_priority);
@@ -168,7 +168,7 @@ index e30d24ee88e9..77e5112ff05b 100644
@@ -432,10 +481,10 @@ int srcu_notifier_chain_register(struct srcu_notifier_head *nh,
* such times we must not call mutex_lock().
*/
- if (unlikely(system_state == SYSTEM_BOOTING))
+ if (unlikely(system_state = SYSTEM_BOOTING))
- return notifier_chain_register(&nh->head, n);
+ return notifier_chain_register(&nh->head, n, false);
@@ -179,10 +179,4 @@ index e30d24ee88e9..77e5112ff05b 100644
return ret;
}
--
-2.33.1
-
-
-_______________________________________________
-linux-riscv mailing list
-linux-riscv@lists.infradead.org
-http://lists.infradead.org/mailman/listinfo/linux-riscv
\ No newline at end of file
+2.33.1
\ No newline at end of file
diff --git a/a/content_digest b/N3/content_digest
index 96310d4..d9e8081 100644
--- a/a/content_digest
+++ b/N3/content_digest
@@ -8,7 +8,7 @@
"Subject\0[PATCH v5 02/21] notifier: Add atomic/blocking_notifier_chain_register_unique_prio()\0"
]
[
- "Date\0Mon, 13 Dec 2021 00:02:50 +0300\0"
+ "Date\0Sun, 12 Dec 2021 21:02:50 +0000\0"
]
[
"To\0Thierry Reding <thierry.reding\@gmail.com>",
@@ -122,12 +122,12 @@
"+\t\tstruct notifier_block *n, bool unique_priority)\n",
" {\n",
" \twhile ((*nl) != NULL) {\n",
- " \t\tif (unlikely((*nl) == n)) {\n",
+ " \t\tif (unlikely((*nl) = n)) {\n",
"\@\@ -29,6 +29,8 \@\@ static int notifier_chain_register(struct notifier_block **nl,\n",
" \t\t}\n",
" \t\tif (n->priority > (*nl)->priority)\n",
" \t\t\tbreak;\n",
- "+\t\tif (n->priority == (*nl)->priority && unique_priority)\n",
+ "+\t\tif (n->priority = (*nl)->priority && unique_priority)\n",
"+\t\t\treturn -EBUSY;\n",
" \t\tnl = &((*nl)->next);\n",
" \t}\n",
@@ -194,7 +194,7 @@
"\@\@ -229,15 +245,48 \@\@ int blocking_notifier_chain_register(struct blocking_notifier_head *nh,\n",
" \t * such times we must not call down_write().\n",
" \t */\n",
- " \tif (unlikely(system_state == SYSTEM_BOOTING))\n",
+ " \tif (unlikely(system_state = SYSTEM_BOOTING))\n",
"-\t\treturn notifier_chain_register(&nh->head, n);\n",
"+\t\treturn notifier_chain_register(&nh->head, n, unique_priority);\n",
" \n",
@@ -254,7 +254,7 @@
"\@\@ -432,10 +481,10 \@\@ int srcu_notifier_chain_register(struct srcu_notifier_head *nh,\n",
" \t * such times we must not call mutex_lock().\n",
" \t */\n",
- " \tif (unlikely(system_state == SYSTEM_BOOTING))\n",
+ " \tif (unlikely(system_state = SYSTEM_BOOTING))\n",
"-\t\treturn notifier_chain_register(&nh->head, n);\n",
"+\t\treturn notifier_chain_register(&nh->head, n, false);\n",
" \n",
@@ -265,13 +265,7 @@
" \treturn ret;\n",
" }\n",
"-- \n",
- "2.33.1\n",
- "\n",
- "\n",
- "_______________________________________________\n",
- "linux-riscv mailing list\n",
- "linux-riscv\@lists.infradead.org\n",
- "http://lists.infradead.org/mailman/listinfo/linux-riscv"
+ "2.33.1"
]
-ae5aa9819251bf99a34d26a8a0357017315f489465217aca49b3596f4e481d2c
+5f1a1d8c80f5ce996db26d4cd26c5f8a3592561838270cb94d0975176bf10439
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.