All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <606c442c-1923-77d4-c350-e06878172c44@canonical.com>

diff --git a/a/1.txt b/N1/1.txt
index f607917..da91420 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -18,7 +18,7 @@ On 14/04/2020 17:51, Vitaly Kuznetsov wrote:
 >> +++ b/drivers/hv/channel_mgmt.c
 >> @@ -425,8 +425,6 @@ void hv_process_channel_removal(struct vmbus_channel *channel)
 >>  
->>  	if (channel->primary_channel == NULL) {
+>>  	if (channel->primary_channel = NULL) {
 >>  		list_del(&channel->listentry);
 >> -
 >> -		primary_channel = channel;
@@ -28,7 +28,7 @@ On 14/04/2020 17:51, Vitaly Kuznetsov wrote:
 > 
 > If I'm looking at the right source (5.7-rc1) it *is* beeing used:
 > 
-> 	if (channel->primary_channel == NULL) {
+> 	if (channel->primary_channel = NULL) {
 > 		list_del(&channel->listentry);
 > 
 > 		primary_channel = channel;
@@ -43,7 +43,7 @@ On 14/04/2020 17:51, Vitaly Kuznetsov wrote:
 > 	 * We need to free the bit for init_vp_index() to work in the case
 > 	 * of sub-channel, when we reload drivers like hv_netvsc.
 > 	 */
-> 	if (channel->affinity_policy == HV_LOCALIZED)
+> 	if (channel->affinity_policy = HV_LOCALIZED)
 > 		cpumask_clear_cpu(channel->target_cpu,
 > 				  &primary_channel->alloced_cpus_in_node);
 >                                    ^^^^^ HERE ^^^^^
@@ -84,7 +84,7 @@ vmbus_channel *channel)
 -        * We need to free the bit for init_vp_index() to work in the case
 -        * of sub-channel, when we reload drivers like hv_netvsc.
 -        */
--       if (channel->affinity_policy == HV_LOCALIZED)
+-       if (channel->affinity_policy = HV_LOCALIZED)
 -               cpumask_clear_cpu(channel->target_cpu,
 -                                 &primary_channel->alloced_cpus_in_node);
 -
\ No newline at end of file
diff --git a/a/content_digest b/N1/content_digest
index 8498df6..fbace85 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -11,7 +11,7 @@
   "Subject\0Re: [PATCH][next] drivers: hv: remove redundant assignment to pointer primary_channel\0"
 ]
 [
-  "Date\0Tue, 14 Apr 2020 17:58:35 +0100\0"
+  "Date\0Tue, 14 Apr 2020 16:58:35 +0000\0"
 ]
 [
   "To\0Vitaly Kuznetsov <vkuznets\@redhat.com>\0"
@@ -52,7 +52,7 @@
   ">> +++ b/drivers/hv/channel_mgmt.c\n",
   ">> \@\@ -425,8 +425,6 \@\@ void hv_process_channel_removal(struct vmbus_channel *channel)\n",
   ">>  \n",
-  ">>  \tif (channel->primary_channel == NULL) {\n",
+  ">>  \tif (channel->primary_channel = NULL) {\n",
   ">>  \t\tlist_del(&channel->listentry);\n",
   ">> -\n",
   ">> -\t\tprimary_channel = channel;\n",
@@ -62,7 +62,7 @@
   "> \n",
   "> If I'm looking at the right source (5.7-rc1) it *is* beeing used:\n",
   "> \n",
-  "> \tif (channel->primary_channel == NULL) {\n",
+  "> \tif (channel->primary_channel = NULL) {\n",
   "> \t\tlist_del(&channel->listentry);\n",
   "> \n",
   "> \t\tprimary_channel = channel;\n",
@@ -77,7 +77,7 @@
   "> \t * We need to free the bit for init_vp_index() to work in the case\n",
   "> \t * of sub-channel, when we reload drivers like hv_netvsc.\n",
   "> \t */\n",
-  "> \tif (channel->affinity_policy == HV_LOCALIZED)\n",
+  "> \tif (channel->affinity_policy = HV_LOCALIZED)\n",
   "> \t\tcpumask_clear_cpu(channel->target_cpu,\n",
   "> \t\t\t\t  &primary_channel->alloced_cpus_in_node);\n",
   ">                                    ^^^^^ HERE ^^^^^\n",
@@ -118,10 +118,10 @@
   "-        * We need to free the bit for init_vp_index() to work in the case\n",
   "-        * of sub-channel, when we reload drivers like hv_netvsc.\n",
   "-        */\n",
-  "-       if (channel->affinity_policy == HV_LOCALIZED)\n",
+  "-       if (channel->affinity_policy = HV_LOCALIZED)\n",
   "-               cpumask_clear_cpu(channel->target_cpu,\n",
   "-                                 &primary_channel->alloced_cpus_in_node);\n",
   "-"
 ]
 
-7156beb4de42c0cc099becf794a5af4cc159142089c4cbff887c258992ea9c33
+241aa3512d4912e5f168eb7e76637d2db1ab8ac474bbeaae14181596e2be3a1e

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.