CL_TRACE_EXIT( AL_DBG_ERROR, g_al_dbg_lvl, ("IB_INVALID_CA_HANDLE\n") );\r
return IB_INVALID_CA_HANDLE;\r
}\r
- if( !p_ioc_profile || ph_ioc )\r
+ if( !p_ioc_profile || !ph_ioc )\r
{\r
CL_TRACE_EXIT( AL_DBG_ERROR, g_al_dbg_lvl, ("IB_INVALID_PARAMETER\n") );\r
return IB_INVALID_PARAMETER;\r
} ioc_state_t;\r
\r
\r
+#pragma warning(disable:4324)\r
typedef struct _al_ioc\r
{\r
al_obj_t obj; /* Child of ib_ca_t */\r
atomic32_t in_use_cnt;\r
\r
} al_ioc_t;\r
+#pragma warning(default:4324)\r
\r
\r
typedef struct _al_svc_entry\r
*********/\r
\r
\r
+#pragma warning(disable:4324)\r
typedef struct _iou_ioc\r
{\r
cl_map_item_t map_item;\r
iou_node_t *p_iou;\r
uint8_t slot;\r
- uint8_t pad[7]; /* Align IOC profile on 64-bit boundary */\r
ib_ioc_profile_t profile;\r
uint8_t num_valid_entries;\r
ib_svc_entry_t *p_svc_entries;\r
\r
} iou_ioc_t;\r
+#pragma warning(default:4324)\r
\r
\r
typedef enum _sweep_state\r
*\r
* SYNOPSIS\r
*/\r
+#pragma warning(disable:4324)\r
typedef struct _ib_cm_req_rec\r
{\r
const void* __ptr64 context;\r
const void* __ptr64 sidr_context;\r
\r
} ib_cm_req_rec_t;\r
+#pragma warning(default:4324)\r
/*\r
* FIELDS\r
* context\r
/*\r
* Information describing an I/O controller\r
*/\r
+#pragma warning(disable:4324)\r
typedef struct _ib_ioc_info\r
{\r
net64_t chassis_guid;\r
ib_ioc_profile_t profile;\r
\r
} ib_ioc_info_t;\r
+#pragma warning(default:4324)\r
+\r
\r
/*\r
* Defines known Communication management class versions\r
typedef struct _srp_session *p_srp_session_t;\r
\r
\r
+#pragma warning(disable:4324)\r
typedef struct _srp_path_record\r
{\r
cl_list_item_t list_item;\r
ib_path_rec_t path_rec;\r
\r
} srp_path_record_t;\r
+#pragma warning(default:4324)\r
+\r
\r
typedef struct _srp_hba\r
{\r