net/szedata2: fix check of mmap return value
authorMatej Vido <vido@cesnet.cz>
Thu, 7 Dec 2017 14:54:42 +0000 (15:54 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 16 Jan 2018 17:47:49 +0000 (18:47 +0100)
commita648d49e78fdbc88952903a736a9a57d6353eb43
tree1e22320026f0be9a394f5bae50e9b3f6c0b9554a
parentc453a198f6966b3dc15c772515f10b65676d126c
net/szedata2: fix check of mmap return value

Fixes: 9eddbdb4b094 ("szedata2: support link state operations")
Cc: stable@dpdk.org
Signed-off-by: Matej Vido <vido@cesnet.cz>
drivers/net/szedata2/rte_eth_szedata2.c