Yong Wang 511a4c74b8 pci: fix UIO interrupt file descriptor check before close
The "dev->intr_handle.fd" is possibly a negative value while it is
passed as an argument to function "close". Fix the check to the fd.

Fixes: 5a60a7ffc801 ("pci: introduce functions to alloc and free uio resource")

Signed-off-by: Yong Wang <wang.yong19@zte.com.cn>
2017-02-10 14:23:27 +01:00
..
2017-01-30 11:15:11 +01:00
2016-11-06 23:34:40 +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
2017-01-04 20:40:15 +01:00
2017-01-30 17:04:46 +01:00
2016-10-13 11:42:37 +02:00
2017-01-30 11:08:47 +01:00
2016-10-05 12:02:53 +02:00