From: Libo Chen <libo.chen...@windriver.com> drivers/staging/fsl_qbman/fsl_usdpaa.c:1916:20: error: implicit declaration of function 'fcheck_files' [-Werror=implicit-function-declaration] drivers/staging/fsl_qbman/fsl_usdpaa.c:1916:18: error: assignment to 'struct file *' from 'int' makes pointer from integer without a cast [-Werror=int-conversion]
Signed-off-by: Libo Chen <libo.chen...@windriver.com> --- drivers/staging/fsl_qbman/fsl_usdpaa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/fsl_qbman/fsl_usdpaa.c b/drivers/staging/fsl_qbman/fsl_usdpaa.c index 8ad5d74dca73..ac850d198aea 100644 --- a/drivers/staging/fsl_qbman/fsl_usdpaa.c +++ b/drivers/staging/fsl_qbman/fsl_usdpaa.c @@ -1913,7 +1913,7 @@ static int setup_eventfd(struct task_struct *userspace_task, struct eventfd_list *ev_mem; rcu_read_lock(); - efd_file = fcheck_files(userspace_task->files, args->efd); + efd_file = files_lookup_fd_locked(userspace_task->files, args->efd); rcu_read_unlock(); /* check if device is already registered */ -- 2.25.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#14358): https://lists.yoctoproject.org/g/linux-yocto/message/14358 Mute This Topic: https://lists.yoctoproject.org/mt/108280050/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-