This causes it to be a global variable which causes linking issues when used by multiple files linked together. It results in multiple definition of `umad_reg_flags'.
Found-by: Rafi Weiner <[email protected]> Signed-off-by: Hal Rosenstock <[email protected]> --- diff --git a/include/infiniband/umad.h b/include/infiniband/umad.h index 6c3e7dc..1db4505 100644 --- a/include/infiniband/umad.h +++ b/include/infiniband/umad.h @@ -201,7 +201,7 @@ int umad_unregister(int portid, int agentid); enum { UMAD_USER_RMPP = (1 << 0) -} umad_reg_flags; +}; struct umad_reg_attr { uint8_t mgmt_class; -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
