Wei Dai f1d54e6dfb pci: fix check of mknod
In function pci_mknod_uio_dev() in lib/librte_eal/eal/eal_pci_uio.c,
The return value of mknod() is ret, not f got by fopen().
So the value of ret should be checked for mknod().

Fixes: f7f97c16048e ("pci: add option --create-uio-dev to run without hotplug")

Signed-off-by: Wei Dai <wei.dai@intel.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
2016-12-06 11:59:39 +01:00
..
2016-11-06 23:34:40 +01:00
2016-12-06 11:59:39 +01:00
2016-10-12 18:40:52 +02:00
2016-11-07 21:50:27 +01:00
2016-11-06 23:46:03 +01:00
2016-11-07 21:50:27 +01:00
2016-11-06 23:25:20 +01:00
2016-11-12 22:27:09 +01:00
2016-10-13 11:42:37 +02:00
2016-10-12 22:08:36 +02:00
2016-10-05 12:02:53 +02:00