diff for duplicates of <20160616075410.GH32247@mwanda> diff --git a/a/1.txt b/N1/1.txt index 120ff28..f8c30e9 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -17,7 +17,7 @@ On Thu, Jun 16, 2016 at 09:26:03AM +0200, walter harms wrote: > > +++ 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); @@ -40,3 +40,8 @@ means the comparison is type promoted to size_t which is unsigned long. regards, dan carpenter + +_______________________________________________ +dri-devel mailing list +dri-devel@lists.freedesktop.org +https://lists.freedesktop.org/mailman/listinfo/dri-devel diff --git a/a/content_digest b/N1/content_digest index e568c31..dafa88f 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -2,7 +2,7 @@ "ref\05762548B.6060906@bfs.de\0" "From\0Dan Carpenter <dan.carpenter@oracle.com>\0" "Subject\0Re: [patch] drm/amdgpu: missing bounds check in amdgpu_set_pp_force_state()\0" - "Date\0Thu, 16 Jun 2016 07:54:10 +0000\0" + "Date\0Thu, 16 Jun 2016 10:54:10 +0300\0" "To\0walter harms <wharms@bfs.de>\0" "Cc\0Jammy Zhou <Jammy.Zhou@amd.com>" kernel-janitors@vger.kernel.org @@ -32,7 +32,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" @@ -54,6 +54,11 @@ "means the comparison is type promoted to size_t which is unsigned long.\n" "\n" "regards,\n" - dan carpenter + "dan carpenter\n" + "\n" + "_______________________________________________\n" + "dri-devel mailing list\n" + "dri-devel@lists.freedesktop.org\n" + https://lists.freedesktop.org/mailman/listinfo/dri-devel -275db424beb9dd28132fd579a759217425d1974c2f85447136856560a88bb9fc +18c2957a8580a7a493e53f9b697276b18a8aa85ceae08d0aaa64ed86e9d5d131
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.