* [PATCH] amdkfd: fix spelling mistake in kfd_ioctl_dbg_unrgesiter
@ 2016-11-12 17:33 Colin King
2016-11-17 19:37 ` Oded Gabbay
0 siblings, 1 reply; 2+ messages in thread
From: Colin King @ 2016-11-12 17:33 UTC (permalink / raw)
To: Oded Gabbay, Alex Deucher, Christian König, David Airlie, dri-devel
Cc: linux-kernel
From: Colin Ian King <colin.king@canonical.com>
Trivial fix to spelling mistake, rename kfd_ioctl_dbg_unrgesiter
to kfd_ioctl_dbg_unregister
Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
drivers/gpu/drm/amd/amdkfd/kfd_chardev.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_chardev.c b/drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
index ee3e04e..6316aad 100644
--- a/drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
+++ b/drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
@@ -486,7 +486,7 @@ static int kfd_ioctl_dbg_register(struct file *filep,
return status;
}
-static int kfd_ioctl_dbg_unrgesiter(struct file *filep,
+static int kfd_ioctl_dbg_unregister(struct file *filep,
struct kfd_process *p, void *data)
{
struct kfd_ioctl_dbg_unregister_args *args = data;
@@ -498,7 +498,7 @@ static int kfd_ioctl_dbg_unrgesiter(struct file *filep,
return -EINVAL;
if (dev->device_info->asic_family == CHIP_CARRIZO) {
- pr_debug("kfd_ioctl_dbg_unrgesiter not supported on CZ\n");
+ pr_debug("kfd_ioctl_dbg_unregister not supported on CZ\n");
return -EINVAL;
}
@@ -892,7 +892,7 @@ static const struct amdkfd_ioctl_desc amdkfd_ioctls[] = {
kfd_ioctl_dbg_register, 0),
AMDKFD_IOCTL_DEF(AMDKFD_IOC_DBG_UNREGISTER,
- kfd_ioctl_dbg_unrgesiter, 0),
+ kfd_ioctl_dbg_unregister, 0),
AMDKFD_IOCTL_DEF(AMDKFD_IOC_DBG_ADDRESS_WATCH,
kfd_ioctl_dbg_address_watch, 0),
--
2.10.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] amdkfd: fix spelling mistake in kfd_ioctl_dbg_unrgesiter
2016-11-12 17:33 [PATCH] amdkfd: fix spelling mistake in kfd_ioctl_dbg_unrgesiter Colin King
@ 2016-11-17 19:37 ` Oded Gabbay
0 siblings, 0 replies; 2+ messages in thread
From: Oded Gabbay @ 2016-11-17 19:37 UTC (permalink / raw)
To: Colin King
Cc: Alex Deucher, Christian König, David Airlie,
Maling list - DRI developers, Linux-Kernel@Vger. Kernel. Org
On Sat, Nov 12, 2016 at 7:33 PM, Colin King <colin.king@canonical.com> wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> Trivial fix to spelling mistake, rename kfd_ioctl_dbg_unrgesiter
> to kfd_ioctl_dbg_unregister
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
> drivers/gpu/drm/amd/amdkfd/kfd_chardev.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_chardev.c b/drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
> index ee3e04e..6316aad 100644
> --- a/drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
> +++ b/drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
> @@ -486,7 +486,7 @@ static int kfd_ioctl_dbg_register(struct file *filep,
> return status;
> }
>
> -static int kfd_ioctl_dbg_unrgesiter(struct file *filep,
> +static int kfd_ioctl_dbg_unregister(struct file *filep,
> struct kfd_process *p, void *data)
> {
> struct kfd_ioctl_dbg_unregister_args *args = data;
> @@ -498,7 +498,7 @@ static int kfd_ioctl_dbg_unrgesiter(struct file *filep,
> return -EINVAL;
>
> if (dev->device_info->asic_family == CHIP_CARRIZO) {
> - pr_debug("kfd_ioctl_dbg_unrgesiter not supported on CZ\n");
> + pr_debug("kfd_ioctl_dbg_unregister not supported on CZ\n");
> return -EINVAL;
> }
>
> @@ -892,7 +892,7 @@ static const struct amdkfd_ioctl_desc amdkfd_ioctls[] = {
> kfd_ioctl_dbg_register, 0),
>
> AMDKFD_IOCTL_DEF(AMDKFD_IOC_DBG_UNREGISTER,
> - kfd_ioctl_dbg_unrgesiter, 0),
> + kfd_ioctl_dbg_unregister, 0),
>
> AMDKFD_IOCTL_DEF(AMDKFD_IOC_DBG_ADDRESS_WATCH,
> kfd_ioctl_dbg_address_watch, 0),
> --
> 2.10.2
>
Thanks!
Applied to my -next tree
Oded
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-11-17 19:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-12 17:33 [PATCH] amdkfd: fix spelling mistake in kfd_ioctl_dbg_unrgesiter Colin King
2016-11-17 19:37 ` Oded Gabbay
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).