On Thu, Aug 15, 2019 at 7:36 PM Wei Yongjun <weiyongjun1@xxxxxxxxxx> wrote: > > In case of error, the function kobject_create_and_add() returns NULL > pointer not ERR_PTR(). The IS_ERR() test in the return value check > should be replaced with NULL test. > > Fixes: 341dfcf8d78e ("btf: expose BTF info through sysfs") > Signed-off-by: Wei Yongjun <weiyongjun1@xxxxxxxxxx> > Acked-by: Andrii Nakryiko <andriin@xxxxxx> Applied. Thanks. Please spell out [PATCH v2 bpf-next] in the subject next time.