From patchwork Thu Oct 1 17:17:00 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sasha Khapyorsky X-Patchwork-Id: 50988 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n91HFFmC008412 for ; Thu, 1 Oct 2009 17:15:15 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754311AbZJARPK (ORCPT ); Thu, 1 Oct 2009 13:15:10 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755622AbZJARPJ (ORCPT ); Thu, 1 Oct 2009 13:15:09 -0400 Received: from mail-ew0-f211.google.com ([209.85.219.211]:54911 "EHLO mail-ew0-f211.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754311AbZJARPI (ORCPT ); Thu, 1 Oct 2009 13:15:08 -0400 Received: by ewy7 with SMTP id 7so409404ewy.17 for ; Thu, 01 Oct 2009 10:15:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:received:date:from:to :cc:subject:message-id:references:mime-version:content-type :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=H84SkKbdNaNsYekGPzEfsOfv/9varVyhVSrPRlUEmGQ=; b=AiWzS5IGCbJMHaGovb8F7YWPkhJ9cCoxWQcIq1sDPCW3C2LUVchlzy8W3pqT/fvpG4 IfTqXMG0nIjYfbCidLHJ+s1dvXuuAuNOzdJcfAxBfDEEZom7bfhmirNmJEzFG5rmavl6 +nRO4DY0Wnrc8arP/yOGQLQRQ02fpSWhigerQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:content-transfer-encoding :in-reply-to:user-agent; b=ndvb9M/A+a8EhneLgpw6mDtEeI8NBR9ErqsxPCqln/x23oi8b83TvwN123t1XjJbri BPye6kM6jbJcUQutws9Cw16sXqJrOfBgH5+v8LZRXcfldaDGsj4VIo6BAhPsxmSs6d/R axZ5whp5X05u2uOBx3Upnht7ihHpPiIEmyETw= Received: by 10.210.9.13 with SMTP id 13mr1789547ebi.7.1254417311179; Thu, 01 Oct 2009 10:15:11 -0700 (PDT) Received: from me.localdomain (85.64.35.106.dynamic.barak-online.net [85.64.35.106]) by mx.google.com with ESMTPS id 5sm111071eyh.16.2009.10.01.10.15.10 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 01 Oct 2009 10:15:10 -0700 (PDT) Received: by me.localdomain (Postfix, from userid 1000) id 392805C16A; Thu, 1 Oct 2009 19:17:00 +0200 (IST) Date: Thu, 1 Oct 2009 19:17:00 +0200 From: Sasha Khapyorsky To: linux-rdma Cc: "Stan C. Smith" , ofw@lists.openfabrics.org Subject: [PATCH] opensm/osm_helper.c: fix compiler warning Message-ID: <20091001171700.GU17846@me> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org diff --git a/opensm/opensm/osm_helper.c b/opensm/opensm/osm_helper.c index 35da131..ea9e21f 100644 --- a/opensm/opensm/osm_helper.c +++ b/opensm/opensm/osm_helper.c @@ -548,7 +548,7 @@ const char *ib_get_trap_str(ib_net16_t trap_num) return "Unknown"; } -const ib_gid_t ib_zero_gid = { 0 }; +const ib_gid_t ib_zero_gid = { { 0 } }; /********************************************************************** **********************************************************************/