All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20200617171549.GA9686@kadam>

diff --git a/a/1.txt b/N1/1.txt
index 082f4bf..7a4fecf 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -36,7 +36,7 @@ index 40387d58c8e7..d2da5bf9f552 100644
 +{
 +	int ret;
 +
-+	if (drvdata->ctidev.cpu = -1)
++	if (drvdata->ctidev.cpu == -1)
 +		return 0;
 +
 +	if (nr_cti_cpu)
@@ -70,9 +70,9 @@ index 40387d58c8e7..d2da5bf9f552 100644
  static void cti_pm_release(struct cti_drvdata *drvdata)
  {
 -	if (drvdata->ctidev.cpu >= 0) {
--		if (--nr_cti_cpu = 0) {
+-		if (--nr_cti_cpu == 0) {
 -			cpu_pm_unregister_notifier(&cti_cpu_pm_nb);
-+	if (drvdata->ctidev.cpu = -1)
++	if (drvdata->ctidev.cpu == -1)
 +		return;
  
 -			cpuhp_remove_state_nocalls(
@@ -80,7 +80,7 @@ index 40387d58c8e7..d2da5bf9f552 100644
 -		}
 -		cti_cpu_drvdata[drvdata->ctidev.cpu] = NULL;
 +	cti_cpu_drvdata[drvdata->ctidev.cpu] = NULL;
-+	if (--nr_cti_cpu = 0) {
++	if (--nr_cti_cpu == 0) {
 +		cpu_pm_unregister_notifier(&cti_cpu_pm_nb);
 +		cpuhp_remove_state_nocalls(CPUHP_AP_ARM_CORESIGHT_CTI_STARTING);
  	}
@@ -183,3 +183,8 @@ index 40387d58c8e7..d2da5bf9f552 100644
  }
 -- 
 2.27.0
+
+_______________________________________________
+linux-arm-kernel mailing list
+linux-arm-kernel@lists.infradead.org
+http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
diff --git a/a/content_digest b/N1/content_digest
index cae5d8f..4deda9c 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,7 +1,7 @@
  "ref\0CAJ9a7Vjn-1gvOY0h5eiffXgqiNu4rz=Z18hgV33WExGnLEV-nA@mail.gmail.com\0"
  "From\0Dan Carpenter <dan.carpenter@oracle.com>\0"
  "Subject\0[PATCH v2] coresight: cti: Fix error handling in probe\0"
- "Date\0Wed, 17 Jun 2020 17:15:50 +0000\0"
+ "Date\0Wed, 17 Jun 2020 20:15:50 +0300\0"
  "To\0Mike Leach <mike.leach@linaro.org>\0"
  "Cc\0Mathieu Poirier <mathieu.poirier@linaro.org>"
   Suzuki K Poulose <suzuki.poulose@arm.com>
@@ -50,7 +50,7 @@
  "+{\n"
  "+\tint ret;\n"
  "+\n"
- "+\tif (drvdata->ctidev.cpu = -1)\n"
+ "+\tif (drvdata->ctidev.cpu == -1)\n"
  "+\t\treturn 0;\n"
  "+\n"
  "+\tif (nr_cti_cpu)\n"
@@ -84,9 +84,9 @@
  " static void cti_pm_release(struct cti_drvdata *drvdata)\n"
  " {\n"
  "-\tif (drvdata->ctidev.cpu >= 0) {\n"
- "-\t\tif (--nr_cti_cpu = 0) {\n"
+ "-\t\tif (--nr_cti_cpu == 0) {\n"
  "-\t\t\tcpu_pm_unregister_notifier(&cti_cpu_pm_nb);\n"
- "+\tif (drvdata->ctidev.cpu = -1)\n"
+ "+\tif (drvdata->ctidev.cpu == -1)\n"
  "+\t\treturn;\n"
  " \n"
  "-\t\t\tcpuhp_remove_state_nocalls(\n"
@@ -94,7 +94,7 @@
  "-\t\t}\n"
  "-\t\tcti_cpu_drvdata[drvdata->ctidev.cpu] = NULL;\n"
  "+\tcti_cpu_drvdata[drvdata->ctidev.cpu] = NULL;\n"
- "+\tif (--nr_cti_cpu = 0) {\n"
+ "+\tif (--nr_cti_cpu == 0) {\n"
  "+\t\tcpu_pm_unregister_notifier(&cti_cpu_pm_nb);\n"
  "+\t\tcpuhp_remove_state_nocalls(CPUHP_AP_ARM_CORESIGHT_CTI_STARTING);\n"
  " \t}\n"
@@ -196,6 +196,11 @@
  " \treturn ret;\n"
  " }\n"
  "-- \n"
- 2.27.0
+ "2.27.0\n"
+ "\n"
+ "_______________________________________________\n"
+ "linux-arm-kernel mailing list\n"
+ "linux-arm-kernel@lists.infradead.org\n"
+ http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
 
-f464fe8fd48cbde44ce5e8124dbff399a33d2ad23c84331bcc21c0c551d63547
+68550ddccc058be48c21df753f02964738a7cb6a88a5eb44806312e6da7c4e0a

diff --git a/a/1.txt b/N2/1.txt
index 082f4bf..c515d07 100644
--- a/a/1.txt
+++ b/N2/1.txt
@@ -36,7 +36,7 @@ index 40387d58c8e7..d2da5bf9f552 100644
 +{
 +	int ret;
 +
-+	if (drvdata->ctidev.cpu = -1)
++	if (drvdata->ctidev.cpu == -1)
 +		return 0;
 +
 +	if (nr_cti_cpu)
@@ -70,9 +70,9 @@ index 40387d58c8e7..d2da5bf9f552 100644
  static void cti_pm_release(struct cti_drvdata *drvdata)
  {
 -	if (drvdata->ctidev.cpu >= 0) {
--		if (--nr_cti_cpu = 0) {
+-		if (--nr_cti_cpu == 0) {
 -			cpu_pm_unregister_notifier(&cti_cpu_pm_nb);
-+	if (drvdata->ctidev.cpu = -1)
++	if (drvdata->ctidev.cpu == -1)
 +		return;
  
 -			cpuhp_remove_state_nocalls(
@@ -80,7 +80,7 @@ index 40387d58c8e7..d2da5bf9f552 100644
 -		}
 -		cti_cpu_drvdata[drvdata->ctidev.cpu] = NULL;
 +	cti_cpu_drvdata[drvdata->ctidev.cpu] = NULL;
-+	if (--nr_cti_cpu = 0) {
++	if (--nr_cti_cpu == 0) {
 +		cpu_pm_unregister_notifier(&cti_cpu_pm_nb);
 +		cpuhp_remove_state_nocalls(CPUHP_AP_ARM_CORESIGHT_CTI_STARTING);
  	}
diff --git a/a/content_digest b/N2/content_digest
index cae5d8f..8bef1e8 100644
--- a/a/content_digest
+++ b/N2/content_digest
@@ -1,15 +1,15 @@
  "ref\0CAJ9a7Vjn-1gvOY0h5eiffXgqiNu4rz=Z18hgV33WExGnLEV-nA@mail.gmail.com\0"
  "From\0Dan Carpenter <dan.carpenter@oracle.com>\0"
  "Subject\0[PATCH v2] coresight: cti: Fix error handling in probe\0"
- "Date\0Wed, 17 Jun 2020 17:15:50 +0000\0"
+ "Date\0Wed, 17 Jun 2020 20:15:50 +0300\0"
  "To\0Mike Leach <mike.leach@linaro.org>\0"
  "Cc\0Mathieu Poirier <mathieu.poirier@linaro.org>"
   Suzuki K Poulose <suzuki.poulose@arm.com>
   Alexander Shishkin <alexander.shishkin@linux.intel.com>
   Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-  kernel-janitors@vger.kernel.org
+  linux-arm-kernel@lists.infradead.org
   linux-kernel@vger.kernel.org
- " linux-arm-kernel@lists.infradead.org\0"
+ " kernel-janitors@vger.kernel.org\0"
  "\00:1\0"
  "b\0"
  "There were a couple problems with error handling in the probe function:\n"
@@ -50,7 +50,7 @@
  "+{\n"
  "+\tint ret;\n"
  "+\n"
- "+\tif (drvdata->ctidev.cpu = -1)\n"
+ "+\tif (drvdata->ctidev.cpu == -1)\n"
  "+\t\treturn 0;\n"
  "+\n"
  "+\tif (nr_cti_cpu)\n"
@@ -84,9 +84,9 @@
  " static void cti_pm_release(struct cti_drvdata *drvdata)\n"
  " {\n"
  "-\tif (drvdata->ctidev.cpu >= 0) {\n"
- "-\t\tif (--nr_cti_cpu = 0) {\n"
+ "-\t\tif (--nr_cti_cpu == 0) {\n"
  "-\t\t\tcpu_pm_unregister_notifier(&cti_cpu_pm_nb);\n"
- "+\tif (drvdata->ctidev.cpu = -1)\n"
+ "+\tif (drvdata->ctidev.cpu == -1)\n"
  "+\t\treturn;\n"
  " \n"
  "-\t\t\tcpuhp_remove_state_nocalls(\n"
@@ -94,7 +94,7 @@
  "-\t\t}\n"
  "-\t\tcti_cpu_drvdata[drvdata->ctidev.cpu] = NULL;\n"
  "+\tcti_cpu_drvdata[drvdata->ctidev.cpu] = NULL;\n"
- "+\tif (--nr_cti_cpu = 0) {\n"
+ "+\tif (--nr_cti_cpu == 0) {\n"
  "+\t\tcpu_pm_unregister_notifier(&cti_cpu_pm_nb);\n"
  "+\t\tcpuhp_remove_state_nocalls(CPUHP_AP_ARM_CORESIGHT_CTI_STARTING);\n"
  " \t}\n"
@@ -198,4 +198,4 @@
  "-- \n"
  2.27.0
 
-f464fe8fd48cbde44ce5e8124dbff399a33d2ad23c84331bcc21c0c551d63547
+1c4da91c917a952b2767ab7e3e8622030df38f01ae26de15f25e306ea732895e

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.