Thread (146 messages) 146 messages, 7 authors, 2017-04-14

Re: [PATCH v8 4/9] eal/bus: support for scanning of bus

From: Thomas Monjalon <hidden>
Date: 2017-01-17 23:37:18

2017-01-17 19:07, Shreyansh Jain:
+ * Generic bus object passed only as a helper for implementation to find
+ * their respective registered bus object. Implementations can choose not
+ * to use this variable.
I think this comment is obsolete.
+ *
+ * @return
+ *     0 for successful scan
+ *     !0 (<0) for unsuccessful scan with error value
What do you mean with !0 (<0) ?
I guess <0 is enough.
+ */
+typedef int (*rte_bus_scan_t)(void);
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help