Messages in this thread | | | Date | Fri, 2 Feb 2024 07:48:12 +0100 | Subject | Re: [RFC] perf: Reconsider an error code selection in bpf_map__fprintf() | From | Markus Elfring <> |
| |
> A null pointer check is performed for the input parameter “map”. > It looks suspicious that the function “PTR_ERR” is applied then for > a corresponding return statement.
Are contributions also by YueHaibing still waiting on further development considerations?
[PATCH -next] perf: Fix pass 0 to PTR_ERR https://lore.kernel.org/lkml/20220611040719.8160-1-yuehaibing@huawei.com/ https://lkml.org/lkml/2022/6/11/3
Regards, Markus
| |