From: David S. Miller Date: Fri, 17 Apr 2015 19:15:40 +0000 (-0400) Subject: sfc: Fix memcpy() with const destination compiler warning. X-Git-Tag: omap-for-v4.1/fixes-rc1~108^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d20a16062e771b6e26b843c0cde3b17c1146e00;p=pandora-kernel.git sfc: Fix memcpy() with const destination compiler warning. drivers/net/ethernet/sfc/selftest.c: In function ‘efx_iterate_state’: drivers/net/ethernet/sfc/selftest.c:388:9: warning: passing argument 1 of ‘memcpy’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-array-qualifiers] This is because the msg[] member of struct efx_loopback_payload is marked as 'const'. Remove that. Signed-off-by: David S. Miller --- Reading git-diff-tree failed