From patchwork Wed Oct 3 23:57:54 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hal Rosenstock X-Patchwork-Id: 1543971 X-Patchwork-Delegate: alexne@voltaire.com Return-Path: X-Original-To: patchwork-linux-rdma@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id BB1CDDFF71 for ; Wed, 3 Oct 2012 23:57:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932987Ab2JCX55 (ORCPT ); Wed, 3 Oct 2012 19:57:57 -0400 Received: from mail-qa0-f53.google.com ([209.85.216.53]:58056 "EHLO mail-qa0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932871Ab2JCX54 (ORCPT ); Wed, 3 Oct 2012 19:57:56 -0400 Received: by mail-qa0-f53.google.com with SMTP id s11so2037402qaa.19 for ; Wed, 03 Oct 2012 16:57:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :content-type:content-transfer-encoding:x-gm-message-state; bh=Weygly1J3NcOjHAKdxVtBxc0ZXQCd6krL0+xQivMnng=; b=TOflb6lqcTc2xbhPCMS1VzKZSr3Mt1Sju2zxTmzDP4nIc8cYb+BBTr4Zaa6LXD8BYu NqSJDHD2rUfp0tfGvKlqT6CohkExCvUoyh/Evo/TLIGOEH3FRYL84jJnNQ7CFG3KLDIl necEEx/vzo2CQpK+ynnwO8xFEtas2PFzTE/vGuYE8cqNF2YotprS8fDRwi2LV+DR2KsO 8JPl/S9N3Z1xMfDow91CusbD28RHJNCAt6YEArHt3QkW2M8HJoCVBLIud2cSYvhmAS19 Hlc/sS31yh1m1tzPano6jv1joUe+5HaK2KnWr2JwLGBgg6J0QdXvvmULEin6ABKqOlSi ae0Q== Received: by 10.224.19.80 with SMTP id z16mr9982630qaa.74.1349308676212; Wed, 03 Oct 2012 16:57:56 -0700 (PDT) Received: from [192.168.1.103] (c-71-192-10-85.hsd1.ma.comcast.net. [71.192.10.85]) by mx.google.com with ESMTPS id gz7sm5715889qab.8.2012.10.03.16.57.54 (version=SSLv3 cipher=OTHER); Wed, 03 Oct 2012 16:57:55 -0700 (PDT) Message-ID: <506CD102.4010403@dev.mellanox.co.il> Date: Wed, 03 Oct 2012 19:57:54 -0400 From: Hal Rosenstock User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 MIME-Version: 1.0 To: Alex Netes CC: "linux-rdma (linux-rdma@vger.kernel.org)" Subject: [PATCH][MINOR] opensm/osm_helper.c: Add some missing new lines to log message output X-Gm-Message-State: ALoCoQkl9vobUT/fBWJblcMzaVqdap3f+CZF/4RyzvXKcI+Un0vKcSK4mD/EUwtkNPMCwXSogB2e Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org Accidentally removed when _v2 routines added with _to_buf routines Signed-off-by: Hal Rosenstock --- opensm/osm_helper.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/opensm/osm_helper.c b/opensm/osm_helper.c index 6803777..9ddf19d 100644 --- a/opensm/osm_helper.c +++ b/opensm/osm_helper.c @@ -2814,7 +2814,7 @@ void osm_dump_dr_path(IN osm_log_t * p_log, IN const osm_dr_path_t * p_path, osm_dump_dr_path_to_buf(p_path, buf); - osm_log(p_log, log_level, buf); + osm_log(p_log, log_level, "%s\n", buf); } } @@ -2826,7 +2826,7 @@ void osm_dump_dr_path_v2(IN osm_log_t * p_log, IN const osm_dr_path_t * p_path, osm_dump_dr_path_to_buf(p_path, buf); - osm_log_v2(p_log, log_level, file_id, buf); + osm_log_v2(p_log, log_level, file_id, "%s\n", buf); } } @@ -2858,7 +2858,7 @@ void osm_dump_smp_dr_path(IN osm_log_t * p_log, IN const ib_smp_t * p_smp, osm_dump_smp_dr_path_to_buf(p_smp, buf); - osm_log(p_log, log_level, buf); + osm_log(p_log, log_level, "%s\n", buf); } } @@ -2870,7 +2870,7 @@ void osm_dump_smp_dr_path_v2(IN osm_log_t * p_log, IN const ib_smp_t * p_smp, osm_dump_smp_dr_path_to_buf(p_smp, buf); - osm_log_v2(p_log, log_level, file_id, buf); + osm_log_v2(p_log, log_level, file_id, "%s\n", buf); } }