You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
-Wbitwise-conditional-parentheses in kernel/resource.c #1159
kernel/resource.c:1281:53: warning: operator '?:' has lower precedence than '|'; '|' will be evaluated first [-Wbitwise-conditional-parentheses]
new_res = alloc_resource(GFP_KERNEL | alloc_nofail ? __GFP_NOFAIL : 0);
~~~~~~~~~~~~~~~~~~~~~~~~~ ^
kernel/resource.c:1281:53: note: place parentheses around the '|' expression to silence this warning
new_res = alloc_resource(GFP_KERNEL | alloc_nofail ? __GFP_NOFAIL : 0);
~~~~~~~~~~~~~~~~~~~~~~~~~ ^
kernel/resource.c:1281:53: note: place parentheses around the '?:' expression to evaluate it first
new_res = alloc_resource(GFP_KERNEL | alloc_nofail ? __GFP_NOFAIL : 0);
^
( )
1 warning generated.
Activity
kernel/resource: fix use of ternary condition in release_mem_region_a…
nathanchance commentedon Sep 24, 2020
Fixed (SHA won't be stable): https://git.kernel.org/next/linux-next/c/231fa8fb1ac8294dd1f89dce96ad3f2370223113
kernel/resource: fix use of ternary condition in release_mem_region_a…
kernel/resource: fix use of ternary condition in release_mem_region_a…
kernel/resource: fix use of ternary condition in release_mem_region_a…
kernel/resource: fix use of ternary condition in release_mem_region_a…
kernel/resource: fix use of ternary condition in release_mem_region_a…
kernel/resource: fix use of ternary condition in release_mem_region_a…
kernel/resource: fix use of ternary condition in release_mem_region_a…
kernel/resource: fix use of ternary condition in release_mem_region_a…
kernel/resource: fix use of ternary condition in release_mem_region_a…
kernel/resource: fix use of ternary condition in release_mem_region_a…
kernel/resource: fix use of ternary condition in release_mem_region_a…
kernel/resource: make release_mem_region_adjustable() never fail
kernel/resource: make release_mem_region_adjustable() never fail
kernel/resource: make release_mem_region_adjustable() never fail
kernel/resource: make release_mem_region_adjustable() never fail
kernel/resource: make release_mem_region_adjustable() never fail