From: Don Skidmore Date: Sat, 29 Nov 2014 05:22:48 +0000 (+0000) Subject: ixgbe: cleanup checksum to allow error results X-Git-Tag: omap-for-v3.19/fixes-rc1~125^2~100^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=735c35afed09f07c57abc9171f40202ec5f1630f;p=pandora-kernel.git ixgbe: cleanup checksum to allow error results Currently the shared code checksum calculation function only returns a u16 and cannot return an error code. Unfortunately a variety of errors can happen that completely prevent the calculation of a checksum. So, change the function return value from a u16 to an s32 and return a negative value on error, or the positive checksum value when there is no error. Signed-off-by: Don Skidmore Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed