A priority value cannot be simultaneously higher than the maximum possible value and smaller than the minimum value. Rewrite the _VALID_PRIO() macro as a function so that this if either of these invariants are invalid, the priority is considered invalid. Coverity-CID: 182584 Coverity-CID: 182585 Signed-off-by: Leandro Pereira <leandro.pereira@intel.com> |
||
|---|---|---|
| .. | ||
| gen_offset.h | ||
| kernel_internal.h | ||
| kernel_offsets.h | ||
| kernel_structs.h | ||
| ksched.h | ||
| kswap.h | ||
| offsets_short.h | ||
| syscall_handler.h | ||
| timeout_q.h | ||
| wait_q.h | ||