From: Dan Carpenter Date: Thu, 25 Apr 2013 07:44:20 +0000 (+0300) Subject: net: calxedaxgmac: fix condition in xgmac_set_features() X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~65^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf62cb72d63944f4dcc7376efd84959afc9366cb;p=pandora-kernel.git net: calxedaxgmac: fix condition in xgmac_set_features() The "changed" variable should be a 64 bit type, otherwise it can't store all the features. The way the code is now the test for whether NETIF_F_RXCSUM changed is always false and we return immediately. Signed-off-by: Dan Carpenter Signed-off-by: David S. Miller --- Reading git-diff-tree failed