Skip to content

Commit dd2fde1

Browse files
committed
habanalabs: rename mmu_write() to mmu_asid_va_write()
The function name conflicts with a static inline function in arch/m68k/include/asm/mcfmmu.h Reported-by: kernel test robot <[email protected]> Reviewed-by: Tomer Tayar <[email protected]> Signed-off-by: Oded Gabbay <[email protected]>
1 parent cfd4176 commit dd2fde1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/misc/habanalabs/debugfs.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ static int mmu_show(struct seq_file *s, void *data)
480480
return 0;
481481
}
482482

483-
static ssize_t mmu_write(struct file *file, const char __user *buf,
483+
static ssize_t mmu_asid_va_write(struct file *file, const char __user *buf,
484484
size_t count, loff_t *f_pos)
485485
{
486486
struct seq_file *s = file->private_data;
@@ -1125,7 +1125,7 @@ static const struct hl_info_list hl_debugfs_list[] = {
11251125
{"command_submission_jobs", command_submission_jobs_show, NULL},
11261126
{"userptr", userptr_show, NULL},
11271127
{"vm", vm_show, NULL},
1128-
{"mmu", mmu_show, mmu_write},
1128+
{"mmu", mmu_show, mmu_asid_va_write},
11291129
{"engines", engines_show, NULL}
11301130
};
11311131

0 commit comments

Comments
 (0)