From patchwork Tue Jan 27 16:40:02 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ilya Nelkenbaum X-Patchwork-Id: 5718791 X-Patchwork-Delegate: hal@mellanox.com Return-Path: X-Original-To: patchwork-linux-rdma@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 8E3999F1D6 for ; Tue, 27 Jan 2015 16:42:09 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C7504200FE for ; Tue, 27 Jan 2015 16:42:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 58EB4200EC for ; Tue, 27 Jan 2015 16:42:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758191AbbA0QmG (ORCPT ); Tue, 27 Jan 2015 11:42:06 -0500 Received: from mailp.voltaire.com ([193.47.165.129]:34291 "EHLO mellanox.co.il" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1758164AbbA0QmF (ORCPT ); Tue, 27 Jan 2015 11:42:05 -0500 Received: from Internal Mail-Server by MTLPINE1 (envelope-from ilyan@dev.mellanox.co.il) with ESMTPS (AES256-SHA encrypted); 27 Jan 2015 18:40:03 +0200 Received: from dev-r-vrt-086.mtr.labs.mlnx. (dev-r-vrt-086.mtr.labs.mlnx [10.212.86.1]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id t0RGe3Bi003805; Tue, 27 Jan 2015 18:40:03 +0200 From: Ilya Nelkenbaum To: linux-rdma@vger.kernel.org Cc: hal@dev.mellanox.co.il, sashakot@mellanox.com, Ilya Nelkenbaum Subject: [PATCH opensm] osmeventplugin.c: Modify osm_event_plugin_t initialization Date: Tue, 27 Jan 2015 18:40:02 +0200 Message-Id: <1422376802-32161-1-git-send-email-ilyan@dev.mellanox.co.il> X-Mailer: git-send-email 1.8.3.4 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Ilya Nelkenbaum SM event plugin structure initialization was modified to be alligned with C89 standard. Signed-off-by: Ilya Nelkenbaum --- osmeventplugin/src/osmeventplugin.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 };