Re: [PATCH v3 bpf] trace: bpf: Fix passing zero to PTR_ERR()

From: Yonghong Song
Date: Sat Nov 07 2020 - 13:09:46 EST




On 11/6/20 11:45 PM, Wang Qing wrote:
There is a bug when passing zero to PTR_ERR() and return.
Fix smatch err.

Signed-off-by: Wang Qing <wangqing@xxxxxxxx>

Acked-by: Yonghong Song <yhs@xxxxxx>