All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <87bmr7yhy6.fsf@intel.com>

diff --git a/a/1.txt b/N1/1.txt
index 8502de1..168c5b3 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -30,19 +30,19 @@ Jani.
 > --- a/drivers/gpu/drm/i915/i915_debugfs.c
 > +++ b/drivers/gpu/drm/i915/i915_debugfs.c
 > @@ -242,7 +242,7 @@ static int i915_gem_stolen_list_info(struct seq_file *m, void *data)
->  		if (count = total)
+>  		if (count == total)
 >  			break;
 >  
-> -		if (obj->stolen = NULL)
+> -		if (obj->stolen == NULL)
 > +		if (!obj->stolen)
 >  			continue;
 >  
 >  		objects[count++] = obj;
 > @@ -254,7 +254,7 @@ static int i915_gem_stolen_list_info(struct seq_file *m, void *data)
->  		if (count = total)
+>  		if (count == total)
 >  			break;
 >  
-> -		if (obj->stolen = NULL)
+> -		if (obj->stolen == NULL)
 > +		if (!obj->stolen)
 >  			continue;
 >  
@@ -51,7 +51,7 @@ Jani.
 >  
 >  		spin_lock_irq(&dev->event_lock);
 >  		work = crtc->flip_work;
-> -		if (work = NULL) {
+> -		if (work == NULL) {
 > +		if (!work) {
 >  			seq_printf(m, "No flip due on pipe %c (plane %c)\n",
 >  				   pipe, plane);
@@ -59,7 +59,7 @@ Jani.
 > @@ -3717,7 +3717,7 @@ static ssize_t i915_displayport_test_active_write(struct file *file,
 >  			continue;
 >  
->  		if (connector->status = connector_status_connected &&
+>  		if (connector->status == connector_status_connected &&
 > -		    connector->encoder != NULL) {
 > +		    connector->encoder) {
 >  			intel_dp = enc_to_intel_dp(connector->encoder);
@@ -68,7 +68,7 @@ Jani.
 > @@ -3756,7 +3756,7 @@ static int i915_displayport_test_active_show(struct seq_file *m, void *data)
 >  			continue;
 >  
->  		if (connector->status = connector_status_connected &&
+>  		if (connector->status == connector_status_connected &&
 > -		    connector->encoder != NULL) {
 > +		    connector->encoder) {
 >  			intel_dp = enc_to_intel_dp(connector->encoder);
@@ -77,16 +77,16 @@ Jani.
 > @@ -3801,7 +3801,7 @@ static int i915_displayport_test_data_show(struct seq_file *m, void *data)
 >  			continue;
 >  
->  		if (connector->status = connector_status_connected &&
+>  		if (connector->status == connector_status_connected &&
 > -		    connector->encoder != NULL) {
 > +		    connector->encoder) {
 >  			intel_dp = enc_to_intel_dp(connector->encoder);
->  			if (intel_dp->compliance.test_type =
+>  			if (intel_dp->compliance.test_type ==
 >  			    DP_TEST_LINK_EDID_READ)
 > @@ -3855,7 +3855,7 @@ static int i915_displayport_test_type_show(struct seq_file *m, void *data)
 >  			continue;
 >  
->  		if (connector->status = connector_status_connected &&
+>  		if (connector->status == connector_status_connected &&
 > -		    connector->encoder != NULL) {
 > +		    connector->encoder) {
 >  			intel_dp = enc_to_intel_dp(connector->encoder);
diff --git a/a/content_digest b/N1/content_digest
index cc29411..5301a2e 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -2,7 +2,7 @@
  "ref\00fb8a6a5-f9ee-1e5d-d52d-5faca3ecde0d@users.sourceforge.net\0"
  "From\0Jani Nikula <jani.nikula@linux.intel.com>\0"
  "Subject\0Re: [PATCH 5/9] drm/i915: Adjust seven checks for null pointers\0"
- "Date\0Fri, 05 May 2017 05:46:09 +0000\0"
+ "Date\0Fri, 05 May 2017 08:46:09 +0300\0"
  "To\0SF Markus Elfring <elfring@users.sourceforge.net>"
   dri-devel@lists.freedesktop.org
   intel-gfx@lists.freedesktop.org
@@ -45,19 +45,19 @@
  "> --- a/drivers/gpu/drm/i915/i915_debugfs.c\n"
  "> +++ b/drivers/gpu/drm/i915/i915_debugfs.c\n"
  "> @@ -242,7 +242,7 @@ static int i915_gem_stolen_list_info(struct seq_file *m, void *data)\n"
- ">  \t\tif (count = total)\n"
+ ">  \t\tif (count == total)\n"
  ">  \t\t\tbreak;\n"
  ">  \n"
- "> -\t\tif (obj->stolen = NULL)\n"
+ "> -\t\tif (obj->stolen == NULL)\n"
  "> +\t\tif (!obj->stolen)\n"
  ">  \t\t\tcontinue;\n"
  ">  \n"
  ">  \t\tobjects[count++] = obj;\n"
  "> @@ -254,7 +254,7 @@ static int i915_gem_stolen_list_info(struct seq_file *m, void *data)\n"
- ">  \t\tif (count = total)\n"
+ ">  \t\tif (count == total)\n"
  ">  \t\t\tbreak;\n"
  ">  \n"
- "> -\t\tif (obj->stolen = NULL)\n"
+ "> -\t\tif (obj->stolen == NULL)\n"
  "> +\t\tif (!obj->stolen)\n"
  ">  \t\t\tcontinue;\n"
  ">  \n"
@@ -66,7 +66,7 @@
  ">  \n"
  ">  \t\tspin_lock_irq(&dev->event_lock);\n"
  ">  \t\twork = crtc->flip_work;\n"
- "> -\t\tif (work = NULL) {\n"
+ "> -\t\tif (work == NULL) {\n"
  "> +\t\tif (!work) {\n"
  ">  \t\t\tseq_printf(m, \"No flip due on pipe %c (plane %c)\\n\",\n"
  ">  \t\t\t\t   pipe, plane);\n"
@@ -74,7 +74,7 @@
  "> @@ -3717,7 +3717,7 @@ static ssize_t i915_displayport_test_active_write(struct file *file,\n"
  ">  \t\t\tcontinue;\n"
  ">  \n"
- ">  \t\tif (connector->status = connector_status_connected &&\n"
+ ">  \t\tif (connector->status == connector_status_connected &&\n"
  "> -\t\t    connector->encoder != NULL) {\n"
  "> +\t\t    connector->encoder) {\n"
  ">  \t\t\tintel_dp = enc_to_intel_dp(connector->encoder);\n"
@@ -83,7 +83,7 @@
  "> @@ -3756,7 +3756,7 @@ static int i915_displayport_test_active_show(struct seq_file *m, void *data)\n"
  ">  \t\t\tcontinue;\n"
  ">  \n"
- ">  \t\tif (connector->status = connector_status_connected &&\n"
+ ">  \t\tif (connector->status == connector_status_connected &&\n"
  "> -\t\t    connector->encoder != NULL) {\n"
  "> +\t\t    connector->encoder) {\n"
  ">  \t\t\tintel_dp = enc_to_intel_dp(connector->encoder);\n"
@@ -92,16 +92,16 @@
  "> @@ -3801,7 +3801,7 @@ static int i915_displayport_test_data_show(struct seq_file *m, void *data)\n"
  ">  \t\t\tcontinue;\n"
  ">  \n"
- ">  \t\tif (connector->status = connector_status_connected &&\n"
+ ">  \t\tif (connector->status == connector_status_connected &&\n"
  "> -\t\t    connector->encoder != NULL) {\n"
  "> +\t\t    connector->encoder) {\n"
  ">  \t\t\tintel_dp = enc_to_intel_dp(connector->encoder);\n"
- ">  \t\t\tif (intel_dp->compliance.test_type =\n"
+ ">  \t\t\tif (intel_dp->compliance.test_type ==\n"
  ">  \t\t\t    DP_TEST_LINK_EDID_READ)\n"
  "> @@ -3855,7 +3855,7 @@ static int i915_displayport_test_type_show(struct seq_file *m, void *data)\n"
  ">  \t\t\tcontinue;\n"
  ">  \n"
- ">  \t\tif (connector->status = connector_status_connected &&\n"
+ ">  \t\tif (connector->status == connector_status_connected &&\n"
  "> -\t\t    connector->encoder != NULL) {\n"
  "> +\t\t    connector->encoder) {\n"
  ">  \t\t\tintel_dp = enc_to_intel_dp(connector->encoder);\n"
@@ -111,4 +111,4 @@
  "-- \n"
  Jani Nikula, Intel Open Source Technology Center
 
-30f1309256de0efbcd9c871bc33e66e2ddc6acd8e104eeb05d194dbc18b12c9a
+d67405d3bb0abbd9a3ba79712a0ecd54e13f52dc0d32cb0e024798fef14cb7c6

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.