* [PATCH] habanalabs: rename mmu_write() to mmu_asid_va_write()
@ 2020-06-07 5:31 Oded Gabbay
2020-06-07 11:20 ` Tomer Tayar
0 siblings, 1 reply; 2+ messages in thread
From: Oded Gabbay @ 2020-06-07 5:31 UTC (permalink / raw)
To: linux-kernel, SW_Drivers; +Cc: gregkh
The function name conflicts with a static inline function in
arch/m68k/include/asm/mcfmmu.h
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
---
drivers/misc/habanalabs/debugfs.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/misc/habanalabs/debugfs.c b/drivers/misc/habanalabs/debugfs.c
index 3c8dcdfba20c..fc4372c18ce2 100644
--- a/drivers/misc/habanalabs/debugfs.c
+++ b/drivers/misc/habanalabs/debugfs.c
@@ -480,7 +480,7 @@ static int mmu_show(struct seq_file *s, void *data)
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}
};
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* RE: [PATCH] habanalabs: rename mmu_write() to mmu_asid_va_write()
2020-06-07 5:31 [PATCH] habanalabs: rename mmu_write() to mmu_asid_va_write() Oded Gabbay
@ 2020-06-07 11:20 ` Tomer Tayar
0 siblings, 0 replies; 2+ messages in thread
From: Tomer Tayar @ 2020-06-07 11:20 UTC (permalink / raw)
To: Oded Gabbay, linux-kernel, SW_Drivers; +Cc: gregkh
On Sun, Jun 7, 2020 at 8:31 AM, Oded Gabbay <oded.gabbay@gmail.com> wrote:
> The function name conflicts with a static inline function in
> arch/m68k/include/asm/mcfmmu.h
>
> Reported-by: kernel test robot <lkp@intel.com>
> Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Reviewed-by: Tomer Tayar <ttayar@habana.ai>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-06-07 11:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-07 5:31 [PATCH] habanalabs: rename mmu_write() to mmu_asid_va_write() Oded Gabbay
2020-06-07 11:20 ` Tomer Tayar
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.