* Human-readable error message.
*
* @return
- * Pointer to flow error structure.
+ * Error code.
*/
-static inline struct rte_flow_error *
+static inline int
rte_flow_error_set(struct rte_flow_error *error,
int code,
enum rte_flow_error_type type,
};
}
rte_errno = code;
- return error;
+ return code;
}
/**