All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20211212210309.9851-3-digetx@gmail.com>

diff --git a/a/1.txt b/N1/1.txt
index 00a39f3..75c242a 100644
--- a/a/1.txt
+++ b/N1/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);
  
diff --git a/a/content_digest b/N1/content_digest
index 1daf1b7..846d4f5 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,7 +1,7 @@
  "ref\020211212210309.9851-1-digetx@gmail.com\0"
  "From\0Dmitry Osipenko <digetx@gmail.com>\0"
  "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>"
   Jonathan Hunter <jonathanh@nvidia.com>
   Russell King <linux@armlinux.org.uk>
@@ -105,12 +105,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"
@@ -177,7 +177,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"
@@ -237,7 +237,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"
@@ -250,4 +250,4 @@
  "-- \n"
  2.33.1
 
-1f42c81f75e1da91f59d01fb4c999c61bca70bd0dcd22011dcb203cb23b7cce1
+5f1a1d8c80f5ce996db26d4cd26c5f8a3592561838270cb94d0975176bf10439

diff --git a/a/1.txt b/N2/1.txt
index 00a39f3..f519a07 100644
--- a/a/1.txt
+++ b/N2/1.txt
@@ -180,3 +180,9 @@ index e30d24ee88e9..77e5112ff05b 100644
  }
 -- 
 2.33.1
+
+
+_______________________________________________
+linux-riscv mailing list
+linux-riscv@lists.infradead.org
+http://lists.infradead.org/mailman/listinfo/linux-riscv
diff --git a/a/content_digest b/N2/content_digest
index 1daf1b7..8c5eb40 100644
--- a/a/content_digest
+++ b/N2/content_digest
@@ -248,6 +248,12 @@
  " \treturn ret;\n"
  " }\n"
  "-- \n"
- 2.33.1
+ "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
 
-1f42c81f75e1da91f59d01fb4c999c61bca70bd0dcd22011dcb203cb23b7cce1
+ae5aa9819251bf99a34d26a8a0357017315f489465217aca49b3596f4e481d2c

diff --git a/a/content_digest b/N3/content_digest
index 1daf1b7..d2299c5 100644
--- a/a/content_digest
+++ b/N3/content_digest
@@ -52,19 +52,19 @@
   alankao@andestech.com
   K . C . Kuen-Chern Lin <kclin@andestech.com>
  " 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"
  "\00:1\0"
  "b\0"
  "Add variant of atomic/blocking_notifier_chain_register() functions that\n"
@@ -250,4 +250,4 @@
  "-- \n"
  2.33.1
 
-1f42c81f75e1da91f59d01fb4c999c61bca70bd0dcd22011dcb203cb23b7cce1
+dfa668220f9120ad5183d129be8d1949742177ef8b660a02a1f43b42e2f77cb4

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.