DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] vhost: eventfd_link's minor number shall be specified
@ 2015-11-06  6:04 Xiaobo Chi
  2015-11-09  4:22 ` Yuanhan Liu
  2015-11-11  6:57 ` [dpdk-dev] [PATCH v2] vhost: fix eventfd_link.ko insertion failure problem Xiaobo Chi
  0 siblings, 2 replies; 9+ messages in thread
From: Xiaobo Chi @ 2015-11-06  6:04 UTC (permalink / raw)
  To: dev; +Cc: Xiaobo Chi, changchun.ouyang

 eventfd_link_misc's minor number shall be MISC_DYNAMIC_MINOR to let Linux kernel dynamically assign one while loading.

Signed-off-by: Xiaobo Chi <xiaobo.chi@nokia.com>
---
 lib/librte_vhost/eventfd_link/eventfd_link.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/librte_vhost/eventfd_link/eventfd_link.c b/lib/librte_vhost/eventfd_link/eventfd_link.c
index c54a938..4b05b5a 100644
--- a/lib/librte_vhost/eventfd_link/eventfd_link.c
+++ b/lib/librte_vhost/eventfd_link/eventfd_link.c
@@ -249,6 +249,7 @@ static const struct file_operations eventfd_link_fops = {
 
 
 static struct miscdevice eventfd_link_misc = {
+	.minor = MISC_DYNAMIC_MINOR,
 	.name = "eventfd-link",
 	.fops = &eventfd_link_fops,
 };
-- 
1.9.4.msysgit.2

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2015-11-24 18:07 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-06  6:04 [dpdk-dev] [PATCH] vhost: eventfd_link's minor number shall be specified Xiaobo Chi
2015-11-09  4:22 ` Yuanhan Liu
2015-11-09 10:03   ` Chi, Xiaobo (Nokia - CN/Hangzhou)
2015-11-09 10:19     ` Chi, Xiaobo (Nokia - CN/Hangzhou)
2015-11-09 12:58       ` Yuanhan Liu
2015-11-10  2:24         ` Chi, Xiaobo (Nokia - CN/Hangzhou)
2015-11-11  6:57 ` [dpdk-dev] [PATCH v2] vhost: fix eventfd_link.ko insertion failure problem Xiaobo Chi
2015-11-11  7:07   ` Yuanhan Liu
2015-11-24 18:05     ` Thomas Monjalon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).