From patchwork Thu May 1 14:22:00 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hal Rosenstock X-Patchwork-Id: 4099211 Return-Path: X-Original-To: patchwork-linux-rdma@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 9FC3DBFF02 for ; Thu, 1 May 2014 14:22:12 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7B3722034F for ; Thu, 1 May 2014 14:22:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0D0C62034C for ; Thu, 1 May 2014 14:22:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751468AbaEAOWI (ORCPT ); Thu, 1 May 2014 10:22:08 -0400 Received: from mail-wi0-f169.google.com ([209.85.212.169]:60163 "EHLO mail-wi0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751362AbaEAOWH (ORCPT ); Thu, 1 May 2014 10:22:07 -0400 Received: by mail-wi0-f169.google.com with SMTP id hi5so805349wib.0 for ; Thu, 01 May 2014 07:22:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:content-type:content-transfer-encoding; bh=3EgmGa1pBIK0cHMKBBpV1RyNdBLLAc8+iw/M3H9TSqw=; b=YYJwbYo6H5hTVpM95oQLX8adda4nxwT2mkCuneyEiwk6cK24NyhJoD7s8xUBF4a++B JSEDDFD6md+rFbeW2Z6kmu4tZkeSS1AUy6hUHmFF5bQ1fEmgfZOYoWJ7Yq9SBLDMVqKG Eou5BqhhWXiRLDVW+A3uz8EBKwpQ4MX/OhcQjRvWQ9tLBLBY5kspOyCBwY3X6Eb0oi9I utO3ASzC1avoT71XLie0TuWcj0LoMvzhHk1pKbm+JZ9u4GM9LEBp5JQYf7MgpgpVGXPh LrBYl5w08CcJ4XqxctAgGtWkmfscGiQ2FJd0LLhfh4yixbha9N5uz/oClNVMgB+Xcg8Z +Ewg== X-Gm-Message-State: ALoCoQmPb6teUpgcO5kSFbh9MiljFz1/kPW8TihY9zGGSMXH3W6LEzleYGR5D6YpBb8hK7ULzZpS X-Received: by 10.180.219.75 with SMTP id pm11mr2444586wic.8.1398954126030; Thu, 01 May 2014 07:22:06 -0700 (PDT) Received: from [10.222.163.8] ([193.47.165.251]) by mx.google.com with ESMTPSA id go20sm41409919wjc.18.2014.05.01.07.22.04 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 01 May 2014 07:22:05 -0700 (PDT) Message-ID: <53625888.90607@dev.mellanox.co.il> Date: Thu, 01 May 2014 10:22:00 -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: Ira Weiny CC: "linux-rdma (linux-rdma@vger.kernel.org)" Subject: [PATCH infiniband-diags] perfquery.c: Change format of capability mask in IBWARN for consistency Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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 Signed-off-by: Hal Rosenstock --- -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/src/perfquery.c b/src/perfquery.c index 112d92c..535abb6 100644 --- a/src/perfquery.c +++ b/src/perfquery.c @@ -327,7 +327,7 @@ static void dump_perfcounters(int extended, int timeout, uint16_t cap_mask, if (!(cap_mask & IB_PM_EXT_WIDTH_SUPPORTED) && !(cap_mask & IB_PM_EXT_WIDTH_NOIETF_SUP)) IBWARN - ("PerfMgt ClassPortInfo 0x%x; No extended counter support indicated\n", + ("PerfMgt ClassPortInfo CapMask 0x%02X; No extended counter support indicated\n", ntohs(cap_mask)); memset(pc, 0, sizeof(pc));