linux_dsm_epyc7002/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: Move NVM variable out of AQ struct 2016-04-06 18:45:11 -07:00
i40e_alloc.h i40evf: Fix the headers and update copyright year. 2014-05-21 01:54:43 -07:00
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: use BIT and BIT_ULL macros 2015-07-23 05:33:55 -07:00
i40e_lan_hmc.h i40e/i40evf: Big endian fixes for handling HMC 2014-06-26 04:44:57 -07:00
i40e_osdep.h move io-64-nonatomic*.h out of asm-generic 2015-10-15 00:21:07 +02:00
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 i40evf: Remove PF specific register definitions from the VF 2015-08-26 15:05:17 -07:00
i40e_status.h i40evf: Fix the headers and update copyright year. 2014-05-21 01:54:43 -07:00
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 i40evf: Fix the headers and update copyright year. 2014-05-21 01:54:43 -07:00