kernel_optimize_test/drivers/net/ethernet/intel/i40evf
Jacob Keller b9c015d421 i40e: mark the value passed to csum_replace_by_diff as __wsum
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>
2017-02-18 20:35:36 -08:00
..
i40e_adminq_cmd.h i40e: Add FEC for 25g 2016-12-06 21:01:43 -08:00
i40e_adminq.c i40e: Implementation of ERROR state for NVM update state machine 2016-10-31 14:26:40 -07:00
i40e_adminq.h
i40e_alloc.h
i40e_common.c i40e: refactor AQ CMD buffer debug printing 2017-02-18 20:35:36 -08:00
i40e_devids.h i40e: Remove FPK HyperV VF device ID 2017-02-02 22:41:40 -08:00
i40e_hmc.h
i40e_lan_hmc.h
i40e_osdep.h
i40e_prototype.h i40e: Add functions which apply correct PHY access method for read and write operation 2016-12-06 21:09:39 -08:00
i40e_register.h
i40e_status.h
i40e_txrx.c i40e: mark the value passed to csum_replace_by_diff as __wsum 2017-02-18 20:35:36 -08:00
i40e_txrx.h i40e/i40evf: Moves skb from i40e_rx_buffer to i40e_ring 2017-02-11 20:39:01 -08:00
i40e_type.h i40e: Save link FEC info from link up event 2017-02-11 20:39:01 -08:00
i40e_virtchnl.h i40evf: track outstanding client request 2017-02-11 20:39:00 -08:00
i40evf_ethtool.c i40e: Add support for 25G devices 2016-12-06 20:59:43 -08:00
i40evf_main.c i40evf: add comment 2017-02-18 20:35:35 -08:00
i40evf_virtchnl.c i40evf: track outstanding client request 2017-02-11 20:39:00 -08:00
i40evf.h i40evf: track outstanding client request 2017-02-11 20:39:00 -08:00
Makefile