Bug 2016 - ./kernel/bpf/cgroup_iter.c:81:6-8: WARNING: possible condition with no effect (if == else)
Summary: ./kernel/bpf/cgroup_iter.c:81:6-8: WARNING: possible condition with no effect...
Status: RESOLVED FIXED
Alias: None
Product: Upstream
Classification: Unclassified
Component: bpf (show other bugs) bpf
Version: unspecified
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: abaci-robot
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-31 09:45 UTC by abaci-robot
Modified: 2022-09-07 14:37 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description abaci-robot alibaba_cloud_group 2022-08-31 09:45:26 UTC
ABACI reported the following bug by code static scanning:

./kernel/bpf/cgroup_iter.c:81:6-8: WARNING: possible condition with no effect (if == else).

In the following kernel version:

[+]kernel: http://kernel.source.codeaurora.cn/pub/scm/linux/kernel/git/next/linux-next.git
[+]branch: next-20220826
[+]commit: 8d0c42c9e80791e8baba2932d2cbd2dcead50d47