forked from luck/tmp_suning_uos_patched
b9c015d421
Fix, or rather, avoid a sparse warning caused by the fact that csum_replace_by_diff expects to receive a __wsum value. Since the calculation appears to work, simply typecast the passed paylen value to __wsum to avoid the warning. This seems pretty fishy since __wsum was obviously annotated as a separate type on purpose, so this throws the entire calculation into question. Since it currently appears to behave as expected, the typecast is probably safe. Change-ID: I4fdc5cddd589abc16098176e8a61127e761488f4 Signed-off-by: Jacob Keller <jacob.e.keller@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> |
||
---|---|---|
.. | ||
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 |