diff for duplicates of <20161013085508.GJ16198@mwanda> diff --git a/a/1.txt b/N1/1.txt index 2df4445..1f082a0 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -1,7 +1,7 @@ We want to read 3 bytes here, but because the parenthesis are in the wrong place we instead read: - sizeof(intel_dp->edp_dpcd) = sizeof(intel_dp->edp_dpcd) + sizeof(intel_dp->edp_dpcd) == sizeof(intel_dp->edp_dpcd) which is one byte. @@ -16,9 +16,14 @@ index 14a3cf0..ee8aa95 100644 /* Read the eDP Display control capabilities registers */ if ((intel_dp->dpcd[DP_EDP_CONFIGURATION_CAP] & DP_DPCD_DISPLAY_CONTROL_CAPABLE) && drm_dp_dpcd_read(&intel_dp->aux, DP_EDP_DPCD_REV, -- intel_dp->edp_dpcd, sizeof(intel_dp->edp_dpcd) = +- intel_dp->edp_dpcd, sizeof(intel_dp->edp_dpcd) == - sizeof(intel_dp->edp_dpcd))) -+ intel_dp->edp_dpcd, sizeof(intel_dp->edp_dpcd)) = ++ intel_dp->edp_dpcd, sizeof(intel_dp->edp_dpcd)) == + sizeof(intel_dp->edp_dpcd)) DRM_DEBUG_KMS("EDP DPCD : %*ph\n", (int) sizeof(intel_dp->edp_dpcd), intel_dp->edp_dpcd); + +_______________________________________________ +Intel-gfx mailing list +Intel-gfx@lists.freedesktop.org +https://lists.freedesktop.org/mailman/listinfo/intel-gfx diff --git a/a/content_digest b/N1/content_digest index bedb88b..157dab2 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,6 +1,6 @@ "From\0Dan Carpenter <dan.carpenter@oracle.com>\0" "Subject\0[patch] drm/i915: fix a read size argument\0" - "Date\0Thu, 13 Oct 2016 08:55:08 +0000\0" + "Date\0Thu, 13 Oct 2016 11:55:08 +0300\0" "To\0Daniel Vetter <daniel.vetter@intel.com>" " Ville Syrj\303\244l\303\244 <ville.syrjala@linux.intel.com>\0" "Cc\0David Airlie <airlied@linux.ie>" @@ -13,7 +13,7 @@ "We want to read 3 bytes here, but because the parenthesis are in the\n" "wrong place we instead read:\n" "\n" - "\tsizeof(intel_dp->edp_dpcd) = sizeof(intel_dp->edp_dpcd)\n" + "\tsizeof(intel_dp->edp_dpcd) == sizeof(intel_dp->edp_dpcd)\n" "\n" "which is one byte.\n" "\n" @@ -28,11 +28,16 @@ " \t/* Read the eDP Display control capabilities registers */\n" " \tif ((intel_dp->dpcd[DP_EDP_CONFIGURATION_CAP] & DP_DPCD_DISPLAY_CONTROL_CAPABLE) &&\n" " \t drm_dp_dpcd_read(&intel_dp->aux, DP_EDP_DPCD_REV,\n" - "-\t\t\t intel_dp->edp_dpcd, sizeof(intel_dp->edp_dpcd) =\n" + "-\t\t\t intel_dp->edp_dpcd, sizeof(intel_dp->edp_dpcd) ==\n" "-\t\t\t sizeof(intel_dp->edp_dpcd)))\n" - "+\t\t\t intel_dp->edp_dpcd, sizeof(intel_dp->edp_dpcd)) =\n" + "+\t\t\t intel_dp->edp_dpcd, sizeof(intel_dp->edp_dpcd)) ==\n" "+\t\t\t sizeof(intel_dp->edp_dpcd))\n" " \t\tDRM_DEBUG_KMS(\"EDP DPCD : %*ph\\n\", (int) sizeof(intel_dp->edp_dpcd),\n" - " \t\t\t intel_dp->edp_dpcd);" + " \t\t\t intel_dp->edp_dpcd);\n" + " \n" + "_______________________________________________\n" + "Intel-gfx mailing list\n" + "Intel-gfx@lists.freedesktop.org\n" + https://lists.freedesktop.org/mailman/listinfo/intel-gfx -dd37a27ed4968193b9cc1ce08d4e8cfe1dac9d4806e81ccf98ad24bcda25456e +98d013100d065570287d18c52e3e45d056304ec874d658cbb171806292574932
diff --git a/a/1.txt b/N2/1.txt index 2df4445..a7c9ff7 100644 --- a/a/1.txt +++ b/N2/1.txt @@ -1,7 +1,7 @@ We want to read 3 bytes here, but because the parenthesis are in the wrong place we instead read: - sizeof(intel_dp->edp_dpcd) = sizeof(intel_dp->edp_dpcd) + sizeof(intel_dp->edp_dpcd) == sizeof(intel_dp->edp_dpcd) which is one byte. @@ -16,9 +16,9 @@ index 14a3cf0..ee8aa95 100644 /* Read the eDP Display control capabilities registers */ if ((intel_dp->dpcd[DP_EDP_CONFIGURATION_CAP] & DP_DPCD_DISPLAY_CONTROL_CAPABLE) && drm_dp_dpcd_read(&intel_dp->aux, DP_EDP_DPCD_REV, -- intel_dp->edp_dpcd, sizeof(intel_dp->edp_dpcd) = +- intel_dp->edp_dpcd, sizeof(intel_dp->edp_dpcd) == - sizeof(intel_dp->edp_dpcd))) -+ intel_dp->edp_dpcd, sizeof(intel_dp->edp_dpcd)) = ++ intel_dp->edp_dpcd, sizeof(intel_dp->edp_dpcd)) == + sizeof(intel_dp->edp_dpcd)) DRM_DEBUG_KMS("EDP DPCD : %*ph\n", (int) sizeof(intel_dp->edp_dpcd), intel_dp->edp_dpcd); diff --git a/a/content_digest b/N2/content_digest index bedb88b..94ba3d0 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -1,19 +1,20 @@ "From\0Dan Carpenter <dan.carpenter@oracle.com>\0" "Subject\0[patch] drm/i915: fix a read size argument\0" - "Date\0Thu, 13 Oct 2016 08:55:08 +0000\0" + "Date\0Thu, 13 Oct 2016 11:55:08 +0300\0" "To\0Daniel Vetter <daniel.vetter@intel.com>" " Ville Syrj\303\244l\303\244 <ville.syrjala@linux.intel.com>\0" - "Cc\0David Airlie <airlied@linux.ie>" + "Cc\0Jani Nikula <jani.nikula@linux.intel.com>" + David Airlie <airlied@linux.ie> intel-gfx@lists.freedesktop.org - kernel-janitors@vger.kernel.org + dri-devel@lists.freedesktop.org linux-kernel@vger.kernel.org - " dri-devel@lists.freedesktop.org\0" + " kernel-janitors@vger.kernel.org\0" "\00:1\0" "b\0" "We want to read 3 bytes here, but because the parenthesis are in the\n" "wrong place we instead read:\n" "\n" - "\tsizeof(intel_dp->edp_dpcd) = sizeof(intel_dp->edp_dpcd)\n" + "\tsizeof(intel_dp->edp_dpcd) == sizeof(intel_dp->edp_dpcd)\n" "\n" "which is one byte.\n" "\n" @@ -28,11 +29,11 @@ " \t/* Read the eDP Display control capabilities registers */\n" " \tif ((intel_dp->dpcd[DP_EDP_CONFIGURATION_CAP] & DP_DPCD_DISPLAY_CONTROL_CAPABLE) &&\n" " \t drm_dp_dpcd_read(&intel_dp->aux, DP_EDP_DPCD_REV,\n" - "-\t\t\t intel_dp->edp_dpcd, sizeof(intel_dp->edp_dpcd) =\n" + "-\t\t\t intel_dp->edp_dpcd, sizeof(intel_dp->edp_dpcd) ==\n" "-\t\t\t sizeof(intel_dp->edp_dpcd)))\n" - "+\t\t\t intel_dp->edp_dpcd, sizeof(intel_dp->edp_dpcd)) =\n" + "+\t\t\t intel_dp->edp_dpcd, sizeof(intel_dp->edp_dpcd)) ==\n" "+\t\t\t sizeof(intel_dp->edp_dpcd))\n" " \t\tDRM_DEBUG_KMS(\"EDP DPCD : %*ph\\n\", (int) sizeof(intel_dp->edp_dpcd),\n" " \t\t\t intel_dp->edp_dpcd);" -dd37a27ed4968193b9cc1ce08d4e8cfe1dac9d4806e81ccf98ad24bcda25456e +1ae6fcea97a8b1bc3e4ae0461d2210a52e2aa3e1b7bebaa5203e6455c6912af8
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.