--- zzzz-none-000/linux-3.10.107/arch/blackfin/kernel/trace.c 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/arch/blackfin/kernel/trace.c 2021-02-04 17:41:59.000000000 +0000 @@ -136,7 +136,7 @@ struct file *file = vma->vm_file; if (file) { - char *d_name = d_path(&file->f_path, _tmpbuf, + char *d_name = file_path(file, _tmpbuf, sizeof(_tmpbuf)); if (!IS_ERR(d_name)) name = d_name;