raw/ifpga: check probing error
authorRosen Xu <rosen.xu@intel.com>
Tue, 23 Oct 2018 01:50:49 +0000 (09:50 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 26 Oct 2018 20:14:06 +0000 (22:14 +0200)
commitb6aadd7436bfc1fb2af67aa266588fdd80ca8988
treed54df641b2b39c24c585fda8b5c057bf9ffae77e
parent3a8207423a0ff20eebf5e841d0f2d803bd69414b
raw/ifpga: check probing error

Fixes not checking rte_eal_hotplug_add() return value issue.

Coverity issue: 323508
Fixes: ef1e8ede3da5 ("raw/ifpga: add Intel FPGA bus rawdev driver")
Cc: stable@dpdk.org
Signed-off-by: Rosen Xu <rosen.xu@intel.com>
Acked-by: Shreyansh Jain <shreyansh.jain@nxp.com>
drivers/raw/ifpga_rawdev/ifpga_rawdev.c