ravb: fix warning about memcpy length
authorNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Mon, 16 Jul 2018 12:19:26 +0000 (14:19 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Jul 2018 05:21:49 +0000 (14:21 +0900)
commit49f3303a6eaa86c64597c33323d03ab0cbdccbe5
treed5d12bc3d1e0dc29a79b5cc9ba7536bd3e61a222
parentc94f2fc4fc19a0ab29456b652975e08e0362c94a
ravb: fix warning about memcpy length

This fixes sparse warning:

ravb_main.c:1257 ravb_get_strings() error: memcpy() '*ravb_gstrings_stats' too small (32 vs 960)

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/renesas/ravb_main.c