diff mbox

[opensm] osmeventplugin.c: Modify osm_event_plugin_t initialization

Message ID 1422376802-32161-1-git-send-email-ilyan@dev.mellanox.co.il (mailing list archive)
State Accepted
Delegated to: Hal Rosenstock
Headers show

Commit Message

Ilya Nelkenbaum Jan. 27, 2015, 4:40 p.m. UTC
From: Ilya Nelkenbaum <ilyan@mellanox.com>

SM event plugin structure initialization was modified
to be alligned with C89 standard.

Signed-off-by: Ilya Nelkenbaum <ilyan@mellanox.com>
---
 osmeventplugin/src/osmeventplugin.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Comments

Hal Rosenstock Jan. 30, 2015, 2:10 p.m. UTC | #1
On 1/27/2015 11:40 AM, Ilya Nelkenbaum wrote:
> From: Ilya Nelkenbaum <ilyan@mellanox.com>
> 
> SM event plugin structure initialization was modified
> to be alligned with C89 standard.
> 
> Signed-off-by: Ilya Nelkenbaum <ilyan@mellanox.com>

Thanks. Applied.

-- Hal

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/osmeventplugin/src/osmeventplugin.c b/osmeventplugin/src/osmeventplugin.c
index d7975a3..cba69ea 100644
--- a/osmeventplugin/src/osmeventplugin.c
+++ b/osmeventplugin/src/osmeventplugin.c
@@ -227,8 +227,8 @@  static void report(void *_log, osm_epi_event_id_t event_id, void *event_data)
 #endif
 
 osm_event_plugin_t osm_event_plugin = {
-      osm_version:OSM_VERSION,
-      create:construct,
-      delete:destroy,
-      report:report
+      OSM_VERSION,
+      construct,
+      destroy,
+      report
 };