]> www.infradead.org Git - users/willy/linux.git/commitdiff
habanalabs: rename mmu_write() to mmu_asid_va_write()
authorOded Gabbay <oded.gabbay@gmail.com>
Sun, 7 Jun 2020 05:21:48 +0000 (08:21 +0300)
committerOded Gabbay <oded.gabbay@gmail.com>
Wed, 24 Jun 2020 06:09:10 +0000 (09:09 +0300)
The function name conflicts with a static inline function in
arch/m68k/include/asm/mcfmmu.h

Reported-by: kernel test robot <lkp@intel.com>
Reviewed-by: Tomer Tayar <ttayar@habana.ai>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
drivers/misc/habanalabs/debugfs.c

index 3c8dcdfba20cf1312834599b8a6f62493f2e1d16..fc4372c18ce20798317e4022bd119001201f5a55 100644 (file)
@@ -480,7 +480,7 @@ out:
        return 0;
 }
 
-static ssize_t mmu_write(struct file *file, const char __user *buf,
+static ssize_t mmu_asid_va_write(struct file *file, const char __user *buf,
                size_t count, loff_t *f_pos)
 {
        struct seq_file *s = file->private_data;
@@ -1125,7 +1125,7 @@ static const struct hl_info_list hl_debugfs_list[] = {
        {"command_submission_jobs", command_submission_jobs_show, NULL},
        {"userptr", userptr_show, NULL},
        {"vm", vm_show, NULL},
-       {"mmu", mmu_show, mmu_write},
+       {"mmu", mmu_show, mmu_asid_va_write},
        {"engines", engines_show, NULL}
 };