umad.h: Remove umad_reg_flags from enum declaration
PATCH 1/1 umad.h: Remove umad_reg_flags from enum declaration
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'.
---
include/infiniband/umad.h +1 -1
@@ -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
A message that is not in the archive (sent off-list or not yet received): 54F61829.3070903-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org
Weiny, Ira
Reviewed-byQuoted 10 lines
-----Original Message-----
From: [email protected] [mailto:linux-rdma- [email protected]] On Behalf Of Hal Rosenstock
Sent: Tuesday, March 03, 2015 12:23 PM
To: linux-rdma ([email protected])
Cc: Weiny, Ira; rafiw-VPRAkNaXOzVWk0Htik3J/[email protected]
Subject: [PATCH libibumad]umad.h: Removeumad_reg_flagsfrom enum declaration
Quoted 6 lines
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'.
Quoted 2 lines
---
--
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