mirror of
https://github.com/openvswitch/ovs
synced 2025-09-05 08:45:23 +00:00
Fix incorrect byte order annotations.
These are not actual bugs, just deceptive use of the wrong function or type. Found by sparse.
This commit is contained in:
@@ -556,7 +556,7 @@ flow_wildcards_is_exact(const struct flow_wildcards *wc)
|
||||
}
|
||||
|
||||
for (i = 0; i < FLOW_N_REGS; i++) {
|
||||
if (wc->reg_masks[i] != htonl(UINT32_MAX)) {
|
||||
if (wc->reg_masks[i] != UINT32_MAX) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user