[PATCH] gpu: drm: amd: amdkfd: Remove unnecessary cast in kfree

2016-01-28 Thread Amitoj Kaur Chawla
On Thu, Jan 28, 2016 at 6:11 PM, Oded Gabbay wrote: > Thanks! > Applied to my -fixes tree. > For future reference, use "drm/amdkfd: ..." as the prefix of the > subject line. I fixed it for this patch. > >Oded Will do. Thanks, Amitoj

[PATCH] gpu: drm: amd: amdkfd: Remove unnecessary cast in kfree

2016-01-28 Thread Oded Gabbay
On Mon, Jan 25, 2016 at 7:33 PM, Amitoj Kaur Chawla wrote: > Remove an unnecassary cast in the argument to kfree. > > Found using Coccinelle. The semantic patch used to find this is as follows: > > // > @@ > type T; > expression *f; > @@ > > - kfree((T *)(f)); > + kfree(f); > // > > Signed-off-by:

[PATCH] gpu: drm: amd: amdkfd: Remove unnecessary cast in kfree

2016-01-25 Thread Amitoj Kaur Chawla
Remove an unnecassary cast in the argument to kfree. Found using Coccinelle. The semantic patch used to find this is as follows: // @@ type T; expression *f; @@ - kfree((T *)(f)); + kfree(f); // Signed-off-by: Amitoj Kaur Chawla --- drivers/gpu/drm/amd/amdkfd/kfd_process.c | 2 +- 1 file chan