Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Adding breaktrace & disabling timer migration
[kvmfornfv.git]
/
kernel
/
drivers
/
misc
/
mic
/
host
/
mic_virtio.h
diff --git
a/kernel/drivers/misc/mic/host/mic_virtio.h
b/kernel/drivers/misc/mic/host/mic_virtio.h
index
d574efb
..
a80631f
100644
(file)
--- a/
kernel/drivers/misc/mic/host/mic_virtio.h
+++ b/
kernel/drivers/misc/mic/host/mic_virtio.h
@@
-124,7
+124,7
@@
void mic_bh_handler(struct work_struct *work);
/* Helper API to obtain the MIC PCIe device */
static inline struct device *mic_dev(struct mic_vdev *mvdev)
{
- return
mvdev->mdev->sdev->parent
;
+ return
&mvdev->mdev->pdev->dev
;
}
/* Helper API to check if a virtio device is initialized */