From patchwork Tue Dec 1 13:14:56 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hal Rosenstock X-Patchwork-Id: 63944 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 nB1DHHwL032356 for ; Tue, 1 Dec 2009 13:17:17 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753933AbZLANRJ (ORCPT ); Tue, 1 Dec 2009 08:17:09 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754070AbZLANRJ (ORCPT ); Tue, 1 Dec 2009 08:17:09 -0500 Received: from qmta03.westchester.pa.mail.comcast.net ([76.96.62.32]:35081 "EHLO QMTA03.westchester.pa.mail.comcast.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753933AbZLANRJ (ORCPT ); Tue, 1 Dec 2009 08:17:09 -0500 Received: from OMTA16.westchester.pa.mail.comcast.net ([76.96.62.88]) by QMTA03.westchester.pa.mail.comcast.net with comcast id Bp1S1d0061uE5Es53pHG8z; Tue, 01 Dec 2009 13:17:16 +0000 Received: from hal.comcast.net ([75.69.247.31]) by OMTA16.westchester.pa.mail.comcast.net with comcast id BpTT1d00Q0hNrtn3cpTTz4; Tue, 01 Dec 2009 13:27:28 +0000 Received: from hal.comcast.net (localhost.localdomain [127.0.0.1]) by hal.comcast.net (8.14.3/8.14.3) with ESMTP id nB1DFI8O012798; Tue, 1 Dec 2009 08:15:24 -0500 Received: (from hnrose@localhost) by hal.comcast.net (8.14.3/8.14.3/Submit) id nB1DEul7012767; Tue, 1 Dec 2009 08:14:56 -0500 Date: Tue, 1 Dec 2009 08:14:56 -0500 From: Hal Rosenstock To: sashak@voltaire.com Cc: linux-rdma@vger.kernel.org Subject: [PATCH] opensm/osm_vendor_ibumad.c: Change LID format to decimal in log message Message-ID: <20091201131456.GB12753@comcast.net> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.19 (2009-01-05) Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org diff --git a/opensm/libvendor/osm_vendor_ibumad.c b/opensm/libvendor/osm_vendor_ibumad.c index 5ea79cb..8f9bbf5 100644 --- a/opensm/libvendor/osm_vendor_ibumad.c +++ b/opensm/libvendor/osm_vendor_ibumad.c @@ -334,7 +334,7 @@ static void *umad_receiver(void *p_ptr) if (mad->mgmt_class != IB_MCLASS_SUBN_DIR) { /* LID routed */ OSM_LOG(p_vend->p_log, OSM_LOG_ERROR, - "ERR 5410: class 0x%x LID 0x%x\n", + "ERR 5410: class 0x%x LID %u\n", mad->mgmt_class, cl_ntoh16(ib_mad_addr->lid)); } else {