| Fix gcc(1) warning "suggest parentheses around operand of '!' or change '|' to '||' or '!' to '~'". |
| |
| diff -ru --exclude-from freebsd-src-diff-exclude-names /usr/src/sys/dev/ic/i82586.h freebsd-11.1/sys/dev/ic/i82586.h |
| --- /usr/src/sys/dev/ic/i82586.h 2017-07-21 07:41:52.000000000 +0800 |
| +++ freebsd-11.1/sys/dev/ic/i82586.h 2020-01-25 22:19:13.514758000 +0800 |
| @@ -303,7 +303,7 @@ |
| cmd->ie_ifs = 0x60; |
| cmd->ie_slot_low = 0; |
| cmd->ie_slot_high = 0xf2; |
| - cmd->ie_promisc = !!promiscuous | manchester << 2; |
| + cmd->ie_promisc = (!!promiscuous) | (manchester << 2); |
| cmd->ie_crs_cdt = 0; |
| cmd->ie_min_len = 64; |
| cmd->ie_junk = 0xff; |