net/vdev_netvsc: readlink inputs cannot be aliased
authorAndy Green <andy@warmcat.com>
Mon, 14 May 2018 05:00:52 +0000 (13:00 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 14 May 2018 21:32:23 +0000 (23:32 +0200)
commit2e4d2e563f23930b06c24b7bc543bf04321d81f7
treecbad147e0a91ae2c73cc4e211456ed751f209144
parented5b98483a30c034ab7ba666af2c26161828323d
net/vdev_netvsc: readlink inputs cannot be aliased

drivers/net/vdev_netvsc/vdev_netvsc.c:335:2:error:
passing argument 2 to restrict-qualified parameter aliases with argument 1
  ret = readlink(buf, buf, size);
  ^~~

Fixes: e7dc5d7becc5 ("net/vdev_netvsc: implement core functionality")
Cc: stable@dpdk.org
Signed-off-by: Andy Green <andy@warmcat.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
drivers/net/vdev_netvsc/vdev_netvsc.c