summaryrefslogtreecommitdiff
path: root/include/linux/assoc_array.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2015-04-17 15:15:40 -0400
committerLuis Henriques <luis.henriques@canonical.com>2015-11-16 11:27:23 +0000
commit98ebed2ebfd22cb367ac231b5242567fa64ee558 (patch)
tree2979f88ec5905174ff88ddbd7d2fa44c73c67b8b /include/linux/assoc_array.h
parent6790b65983bd1d1621ab9ca6f995e78f64c79b57 (diff)
sfc: Fix memcpy() with const destination compiler warning.
commit 1d20a16062e771b6e26b843c0cde3b17c1146e00 upstream. 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 <davem@davemloft.net> Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
Diffstat (limited to 'include/linux/assoc_array.h')
0 files changed, 0 insertions, 0 deletions