From patchwork Thu Aug 25 07:26:25 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Shevchenko X-Patchwork-Id: 1095522 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.4) with ESMTP id p7P7Qu3o022170 for ; Thu, 25 Aug 2011 07:26:57 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750972Ab1HYH0z (ORCPT ); Thu, 25 Aug 2011 03:26:55 -0400 Received: from mga01.intel.com ([192.55.52.88]:27730 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750898Ab1HYH0z (ORCPT ); Thu, 25 Aug 2011 03:26:55 -0400 Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP; 25 Aug 2011 00:26:55 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.68,279,1312182000"; d="scan'208";a="44889144" Received: from unknown (HELO smile) ([10.255.18.57]) by fmsmga001.fm.intel.com with ESMTP; 25 Aug 2011 00:26:53 -0700 Received: from andy by smile with local (Exim 4.76) (envelope-from ) id 1QwUKm-0001OZ-D3; Thu, 25 Aug 2011 10:26:40 +0300 From: Andy Shevchenko To: linux-rdma@vger.kernel.org Cc: Andy Shevchenko , Tom Tucker , Steve Wise Subject: [PATCH 1/2] infiniband: use '%pM' format option to print MAC Date: Thu, 25 Aug 2011 10:26:25 +0300 Message-Id: <39b2e50def30f0941aa1db2eab751f56fa85a652.1314257148.git.andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 1.7.5.4 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Thu, 25 Aug 2011 07:26:57 +0000 (UTC) Signed-off-by: Andy Shevchenko Cc: Tom Tucker Cc: Steve Wise Cc: linux-rdma@vger.kernel.org Acked-by: Steve Wise --- drivers/infiniband/hw/amso1100/c2_provider.c | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/drivers/infiniband/hw/amso1100/c2_provider.c b/drivers/infiniband/hw/amso1100/c2_provider.c index f101bb7..12f923d 100644 --- a/drivers/infiniband/hw/amso1100/c2_provider.c +++ b/drivers/infiniband/hw/amso1100/c2_provider.c @@ -753,10 +753,7 @@ static struct net_device *c2_pseudo_netdev_init(struct c2_dev *c2dev) memcpy_fromio(netdev->dev_addr, c2dev->kva + C2_REGS_RDMA_ENADDR, 6); /* Print out the MAC address */ - pr_debug("%s: MAC %02X:%02X:%02X:%02X:%02X:%02X\n", - netdev->name, - netdev->dev_addr[0], netdev->dev_addr[1], netdev->dev_addr[2], - netdev->dev_addr[3], netdev->dev_addr[4], netdev->dev_addr[5]); + pr_debug("%s: MAC %pM\n", netdev->name, netdev->dev_addr); #if 0 /* Disable network packets */