diff for duplicates of <20211212210309.9851-5-digetx@gmail.com> diff --git a/a/1.txt b/N1/1.txt index 0d06b62..125b70b 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -435,8 +435,8 @@ index 35f0cde641c1..3085873a876f 100644 + +static int unregister_power_off_handler(struct notifier_block *nb) +{ -+ if (nb == pm_power_off_nb) { -+ if (pm_power_off == dummy_pm_power_off) ++ if (nb = pm_power_off_nb) { ++ if (pm_power_off = dummy_pm_power_off) + pm_power_off = NULL; + + pm_power_off_nb = NULL; @@ -576,7 +576,7 @@ index 35f0cde641c1..3085873a876f 100644 + return -EBUSY; + + if (handler->power_off_cb || handler->power_off_prepare_cb) { -+ if (handler->power_off_priority == POWEROFF_PRIO_RESERVED) ++ if (handler->power_off_priority = POWEROFF_PRIO_RESERVED) + priority = POWEROFF_PRIO_DEFAULT; + else + priority = handler->power_off_priority; @@ -590,7 +590,7 @@ index 35f0cde641c1..3085873a876f 100644 + } + + if (handler->restart_cb) { -+ if (handler->restart_priority == RESTART_PRIO_RESERVED) ++ if (handler->restart_priority = RESTART_PRIO_RESERVED) + priority = RESTART_PRIO_DEFAULT; + else + priority = handler->restart_priority; @@ -725,7 +725,7 @@ index 35f0cde641c1..3085873a876f 100644 + if (!handler) + return -ENOMEM; + -+ if (priority == POWEROFF_PRIO_RESERVED) ++ if (priority = POWEROFF_PRIO_RESERVED) + priority = POWEROFF_PRIO_DEFAULT; + + priv = sys_off_handler_private_data(handler); @@ -764,7 +764,7 @@ index 35f0cde641c1..3085873a876f 100644 + if (!handler) + return -ENOMEM; + -+ if (priority == RESTART_PRIO_RESERVED) ++ if (priority = RESTART_PRIO_RESERVED) + priority = RESTART_PRIO_DEFAULT; + + handler->restart_priority = priority; @@ -912,8 +912,8 @@ index 35f0cde641c1..3085873a876f 100644 /* Instead of trying to make the power_off code look like * halt when pm_power_off is not set do it the easy way. */ -- if ((cmd == LINUX_REBOOT_CMD_POWER_OFF) && !pm_power_off) -+ if (cmd == LINUX_REBOOT_CMD_POWER_OFF && !kernel_can_power_off()) +- if ((cmd = LINUX_REBOOT_CMD_POWER_OFF) && !pm_power_off) ++ if (cmd = LINUX_REBOOT_CMD_POWER_OFF && !kernel_can_power_off()) cmd = LINUX_REBOOT_CMD_HALT; mutex_lock(&system_transition_mutex); diff --git a/a/content_digest b/N1/content_digest index 7521318..f8e3b91 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 04/21] kernel: Add combined power-off+restart handler call chain API\0" - "Date\0Mon, 13 Dec 2021 00:02:52 +0300\0" + "Date\0Sun, 12 Dec 2021 21:02:52 +0000\0" "To\0Thierry Reding <thierry.reding@gmail.com>" Jonathan Hunter <jonathanh@nvidia.com> Russell King <linux@armlinux.org.uk> @@ -504,8 +504,8 @@ "+\n" "+static int unregister_power_off_handler(struct notifier_block *nb)\n" "+{\n" - "+\tif (nb == pm_power_off_nb) {\n" - "+\t\tif (pm_power_off == dummy_pm_power_off)\n" + "+\tif (nb = pm_power_off_nb) {\n" + "+\t\tif (pm_power_off = dummy_pm_power_off)\n" "+\t\t\tpm_power_off = NULL;\n" "+\n" "+\t\tpm_power_off_nb = NULL;\n" @@ -645,7 +645,7 @@ "+\t\treturn -EBUSY;\n" "+\n" "+\tif (handler->power_off_cb || handler->power_off_prepare_cb) {\n" - "+\t\tif (handler->power_off_priority == POWEROFF_PRIO_RESERVED)\n" + "+\t\tif (handler->power_off_priority = POWEROFF_PRIO_RESERVED)\n" "+\t\t\tpriority = POWEROFF_PRIO_DEFAULT;\n" "+\t\telse\n" "+\t\t\tpriority = handler->power_off_priority;\n" @@ -659,7 +659,7 @@ "+\t}\n" "+\n" "+\tif (handler->restart_cb) {\n" - "+\t\tif (handler->restart_priority == RESTART_PRIO_RESERVED)\n" + "+\t\tif (handler->restart_priority = RESTART_PRIO_RESERVED)\n" "+\t\t\tpriority = RESTART_PRIO_DEFAULT;\n" "+\t\telse\n" "+\t\t\tpriority = handler->restart_priority;\n" @@ -794,7 +794,7 @@ "+\tif (!handler)\n" "+\t\treturn -ENOMEM;\n" "+\n" - "+\tif (priority == POWEROFF_PRIO_RESERVED)\n" + "+\tif (priority = POWEROFF_PRIO_RESERVED)\n" "+\t\tpriority = POWEROFF_PRIO_DEFAULT;\n" "+\n" "+\tpriv = sys_off_handler_private_data(handler);\n" @@ -833,7 +833,7 @@ "+\tif (!handler)\n" "+\t\treturn -ENOMEM;\n" "+\n" - "+\tif (priority == RESTART_PRIO_RESERVED)\n" + "+\tif (priority = RESTART_PRIO_RESERVED)\n" "+\t\tpriority = RESTART_PRIO_DEFAULT;\n" "+\n" "+\thandler->restart_priority = priority;\n" @@ -981,12 +981,12 @@ " \t/* Instead of trying to make the power_off code look like\n" " \t * halt when pm_power_off is not set do it the easy way.\n" " \t */\n" - "-\tif ((cmd == LINUX_REBOOT_CMD_POWER_OFF) && !pm_power_off)\n" - "+\tif (cmd == LINUX_REBOOT_CMD_POWER_OFF && !kernel_can_power_off())\n" + "-\tif ((cmd = LINUX_REBOOT_CMD_POWER_OFF) && !pm_power_off)\n" + "+\tif (cmd = LINUX_REBOOT_CMD_POWER_OFF && !kernel_can_power_off())\n" " \t\tcmd = LINUX_REBOOT_CMD_HALT;\n" " \n" " \tmutex_lock(&system_transition_mutex);\n" "-- \n" 2.33.1 -16b78e354347c11d2721e687ce202a3fb6d5036aded5a45cd1cfa9257f1009af +f827a6c8bb44f0a49b628c81913ca53dd7124a936ff2ed79c70c302cf28329b9
diff --git a/a/1.txt b/N2/1.txt index 0d06b62..20d4430 100644 --- a/a/1.txt +++ b/N2/1.txt @@ -919,3 +919,9 @@ index 35f0cde641c1..3085873a876f 100644 mutex_lock(&system_transition_mutex); -- 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 7521318..b4b3f29 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -987,6 +987,12 @@ " \n" " \tmutex_lock(&system_transition_mutex);\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 -16b78e354347c11d2721e687ce202a3fb6d5036aded5a45cd1cfa9257f1009af +d962e639ef345213c95b5f8fd9f4abf44b69f2dea6acac098ca2332c6caa4af3
diff --git a/a/content_digest b/N3/content_digest index 7521318..a9e9eb0 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" "SoC platforms often have multiple ways of how to perform system's\n" @@ -989,4 +989,4 @@ "-- \n" 2.33.1 -16b78e354347c11d2721e687ce202a3fb6d5036aded5a45cd1cfa9257f1009af +e1e12ed3930ee336320ff495984299da982169243f44edff05a6f5acaf52d559
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.