amdkfd: fix spelling mistake in kfd_ioctl_dbg_unrgesiter
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> Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
This commit is contained in:
parent
282d0a35c8
commit
a7522cd938
|
@ -486,7 +486,7 @@ static int kfd_ioctl_dbg_register(struct file *filep,
|
||||||
return status;
|
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_process *p, void *data)
|
||||||
{
|
{
|
||||||
struct kfd_ioctl_dbg_unregister_args *args = data;
|
struct kfd_ioctl_dbg_unregister_args *args = data;
|
||||||
|
@ -498,7 +498,7 @@ static int kfd_ioctl_dbg_unrgesiter(struct file *filep,
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
|
|
||||||
if (dev->device_info->asic_family == CHIP_CARRIZO) {
|
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;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -892,7 +892,7 @@ static const struct amdkfd_ioctl_desc amdkfd_ioctls[] = {
|
||||||
kfd_ioctl_dbg_register, 0),
|
kfd_ioctl_dbg_register, 0),
|
||||||
|
|
||||||
AMDKFD_IOCTL_DEF(AMDKFD_IOC_DBG_UNREGISTER,
|
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,
|
AMDKFD_IOCTL_DEF(AMDKFD_IOC_DBG_ADDRESS_WATCH,
|
||||||
kfd_ioctl_dbg_address_watch, 0),
|
kfd_ioctl_dbg_address_watch, 0),
|
||||||
|
|
Loading…
Reference in a new issue