diff options
author | David S. Miller <davem@davemloft.net> | 2015-04-17 15:15:40 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-04-17 15:15:40 -0400 |
commit | 1d20a16062e771b6e26b843c0cde3b17c1146e00 (patch) | |
tree | 5c86fcb00ba298eac8553209856c160e5fabd673 /drivers/infiniband/ulp/ipoib/ipoib_vlan.c | |
parent | altera tse: Fix network-delays and -retransmissions after high throughput. (diff) | |
download | linux-dev-1d20a16062e771b6e26b843c0cde3b17c1146e00.tar.xz linux-dev-1d20a16062e771b6e26b843c0cde3b17c1146e00.zip |
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 <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions