diff for duplicates of <20160104204201.GA19867@mwanda> diff --git a/a/1.txt b/N1/1.txt index 7b60d01..000f907 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -9,7 +9,7 @@ index 3b78982..872e586 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c @@ -147,8 +147,7 @@ static ssize_t amdgpu_set_dpm_forced_performance_level(struct device *dev, - } else if (strncmp("auto", buf, strlen("auto")) = 0) { + } else if (strncmp("auto", buf, strlen("auto")) == 0) { level = AMDGPU_DPM_FORCED_LEVEL_AUTO; } else { - count = -EINVAL; diff --git a/a/content_digest b/N1/content_digest index de0ecc5..24df139 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: double unlock in amdgpu_set_dpm_forced_performance_level()\0" - "Date\0Mon, 04 Jan 2016 20:42:01 +0000\0" + "Date\0Mon, 4 Jan 2016 23:42:01 +0300\0" "To\0David Airlie <airlied@linux.ie>" " Rex Zhu <Rex.Zhu@amd.com>\0" "Cc\0Alex Deucher <alexander.deucher@amd.com>" @@ -23,7 +23,7 @@ "--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c\n" "+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c\n" "@@ -147,8 +147,7 @@ static ssize_t amdgpu_set_dpm_forced_performance_level(struct device *dev,\n" - " \t} else if (strncmp(\"auto\", buf, strlen(\"auto\")) = 0) {\n" + " \t} else if (strncmp(\"auto\", buf, strlen(\"auto\")) == 0) {\n" " \t\tlevel = AMDGPU_DPM_FORCED_LEVEL_AUTO;\n" " \t} else {\n" "-\t\tcount = -EINVAL;\n" @@ -58,4 +58,4 @@ " \treturn count;\n" } -b7ce4d18893f7481b2e720d7e583a6a85f8fdd2e0614c023a6f14dc29f566953 +1dd64ecb8563c177adb0e6a899a044c958c7252ced89fb2344b5a2d471d1ceb1
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.