forked from Minki/linux
f2edaaaa39
In the polling routines for i40e and i40evf we were using bitwise operators
to avoid the side effects of the logical operators, specifically the fact
that if the first case is true with "||" we skip the second case, or if it
is false with "&&" we skip the second case. This fixes an earlier patch
that converted the bitwise operators over to the logical operators and
instead replaces the entire thing with just an if statement since it should
be more readable what we are trying to do this way.
Fixes:
|
||
---|---|---|
.. | ||
i40e_adminq_cmd.h | ||
i40e_adminq.c | ||
i40e_adminq.h | ||
i40e_alloc.h | ||
i40e_common.c | ||
i40e_devids.h | ||
i40e_hmc.h | ||
i40e_lan_hmc.h | ||
i40e_osdep.h | ||
i40e_prototype.h | ||
i40e_register.h | ||
i40e_status.h | ||
i40e_txrx.c | ||
i40e_txrx.h | ||
i40e_type.h | ||
i40e_virtchnl.h | ||
i40evf_ethtool.c | ||
i40evf_main.c | ||
i40evf_virtchnl.c | ||
i40evf.h | ||
Makefile |