All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20160616064119.GA23129@mwanda>

diff --git a/a/1.txt b/N1/1.txt
index 673f21f..0c7685e 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -13,7 +13,7 @@ index 589b36e..ce9e97f 100644
 +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
 @@ -275,25 +275,23 @@ static ssize_t amdgpu_set_pp_force_state(struct device *dev,
  
- 	if (strlen(buf) = 1)
+ 	if (strlen(buf) == 1)
  		adev->pp_force_state_enabled = false;
 -	else {
 -		ret = kstrtol(buf, 0, &idx);
diff --git a/a/content_digest b/N1/content_digest
index 70c3735..0d24e10 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/amdgpu: missing bounds check in amdgpu_set_pp_force_state()\0"
- "Date\0Thu, 16 Jun 2016 06:41:19 +0000\0"
+ "Date\0Thu, 16 Jun 2016 09:41:19 +0300\0"
  "To\0Alex Deucher <alexander.deucher@amd.com>"
  " Eric Huang <JinHuiEric.Huang@amd.com>\0"
  "Cc\0Christian K\303\266nig <christian.koenig@amd.com>"
@@ -27,7 +27,7 @@
  "+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c\n"
  "@@ -275,25 +275,23 @@ static ssize_t amdgpu_set_pp_force_state(struct device *dev,\n"
  " \n"
- " \tif (strlen(buf) = 1)\n"
+ " \tif (strlen(buf) == 1)\n"
  " \t\tadev->pp_force_state_enabled = false;\n"
  "-\telse {\n"
  "-\t\tret = kstrtol(buf, 0, &idx);\n"
@@ -64,4 +64,4 @@
  " \t}\n"
   fail:
 
-ea8e5d552569b0b8e25d2edf7c2240960aa3fe3745c266d35926e7f9a0484038
+0299cb901c12bfcdf78a6122722e74db1191cdfedbe11fe91b8b5d43f6b06220

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.