Re: [patch V2 5/6] posix-cpu-timers: Return PTR_ERR() from lookup_task()
From: Frederic Weisbecker
Date: Mon Sep 23 2019 - 11:43:31 EST
On Mon, Sep 23, 2019 at 04:54:40PM +0200, Thomas Gleixner wrote:
> To prepare for changing the return code to -EPERM when the ptrace
> permission check fails, use PTR_ERR() to return the error information from
> lookup_task() and fixup all call sites.
>
> Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Reviewed-by: Frederic Weisbecker <frederic@xxxxxxxxxx>