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-12-23 10:19:11 +01:00
2015-06-29 16:41:23 +02:00
2017-01-30 17:46:36 +01:00
2015-05-11 15:36:37 +02:00
2017-02-10 14:23:27 +01:00
2017-01-30 10:58:40 +01:00
2017-01-30 10:36:18 +01:00
2016-10-12 18:40:52 +02:00
2016-11-07 21:27:50 +01:00
2016-06-30 18:51:20 +02:00
2016-11-07 21:50:27 +01:00
2017-01-13 19:28:26 +01:00
2016-11-06 23:46:03 +01:00
2017-01-30 10:08:54 +01:00
2017-01-29 23:38:33 +01:00
2016-09-21 22:56:03 +02:00
2017-01-04 20:40:15 +01:00
2017-01-30 17:04:46 +01:00
2016-09-13 15:35:28 +02:00
2016-10-13 11:42:37 +02:00
2016-07-11 17:23:32 +02:00
2016-09-13 15:35:28 +02:00
2016-12-06 15:25:01 +01:00
2017-02-09 18:46:52 +01:00
2017-01-30 11:08:47 +01:00
2016-10-05 12:02:53 +02:00
2017-01-30 13:47:20 +01:00
2017-01-18 20:53:28 +01:00