From patchwork Mon May 24 19:42:51 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hal Rosenstock X-Patchwork-Id: 101928 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o4OJpqqw005597 for ; Mon, 24 May 2010 19:51:52 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756037Ab0EXTvt (ORCPT ); Mon, 24 May 2010 15:51:49 -0400 Received: from qmta11.westchester.pa.mail.comcast.net ([76.96.59.211]:35241 "EHLO QMTA11.westchester.pa.mail.comcast.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755863Ab0EXTvs (ORCPT ); Mon, 24 May 2010 15:51:48 -0400 X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Mon, 24 May 2010 19:51:52 +0000 (UTC) X-Greylist: delayed 352 seconds by postgrey-1.27 at vger.kernel.org; Mon, 24 May 2010 15:51:48 EDT Received: from omta04.westchester.pa.mail.comcast.net ([76.96.62.35]) by QMTA11.westchester.pa.mail.comcast.net with comcast id MPom1e0030ldTLk5BXlxVF; Mon, 24 May 2010 19:45:57 +0000 Received: from hal.comcast.net ([75.69.247.31]) by omta04.westchester.pa.mail.comcast.net with comcast id MXlw1e0030hNrtn3QXlw2e; Mon, 24 May 2010 19:45:57 +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 o4OJjSOv026962; Mon, 24 May 2010 15:45:33 -0400 Received: (from hnrose@localhost) by hal.comcast.net (8.14.3/8.14.3/Submit) id o4OJgpvu026922; Mon, 24 May 2010 15:42:51 -0400 Date: Mon, 24 May 2010 15:42:51 -0400 From: Hal Rosenstock To: sashak@voltaire.com Cc: linux-rdma@vger.kernel.org Subject: [PATCH] opensm/osm_sa_path_record.c: Add error code to newly added log message Message-ID: <20100524194251.GA26919@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/opensm/osm_sa_path_record.c b/opensm/opensm/osm_sa_path_record.c index 9fa0c1e..de97dcd 100644 --- a/opensm/opensm/osm_sa_path_record.c +++ b/opensm/opensm/osm_sa_path_record.c @@ -377,7 +377,7 @@ static ib_api_status_t pr_rcv_get_path_parms(IN osm_sa_t * sa, /* update number of hops traversed */ hops++; if (hops > MAX_HOPS) { - OSM_LOG(sa->p_log, OSM_LOG_ERROR, + OSM_LOG(sa->p_log, OSM_LOG_ERROR, "ERR 1F25: " "Path from GUID 0x%016" PRIx64 " (%s) to" " lid %u GUID 0x%016" PRIx64 " (%s) needs" " more than %d hops, max %d hops allowed\n",