From patchwork Wed Dec 8 08:06:02 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eli Cohen X-Patchwork-Id: 390082 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id oB885F0u024143 for ; Wed, 8 Dec 2010 08:05:15 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754032Ab0LHIEz (ORCPT ); Wed, 8 Dec 2010 03:04:55 -0500 Received: from mail-ww0-f44.google.com ([74.125.82.44]:65285 "EHLO mail-ww0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754003Ab0LHIEz (ORCPT ); Wed, 8 Dec 2010 03:04:55 -0500 Received: by wwa36 with SMTP id 36so874580wwa.1 for ; Wed, 08 Dec 2010 00:04:53 -0800 (PST) Received: by 10.227.55.5 with SMTP id s5mr7732398wbg.79.1291795491900; Wed, 08 Dec 2010 00:04:51 -0800 (PST) Received: from localhost ([82.166.227.17]) by mx.google.com with ESMTPS id 11sm200342wbi.12.2010.12.08.00.04.47 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 08 Dec 2010 00:04:48 -0800 (PST) Date: Wed, 8 Dec 2010 10:06:02 +0200 From: Eli Cohen To: Roland Dreier Cc: RDMA list Subject: [PATCH] mlx4: Change a warning message to debug Message-ID: <20101208080602.GA9649@mtldesk30> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) 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.3 (demeter1.kernel.org [140.211.167.41]); Wed, 08 Dec 2010 08:05:15 +0000 (UTC) diff --git a/drivers/net/mlx4/fw.c b/drivers/net/mlx4/fw.c index 7a7e18b..9f415df 100644 --- a/drivers/net/mlx4/fw.c +++ b/drivers/net/mlx4/fw.c @@ -290,7 +290,7 @@ int mlx4_QUERY_DEV_CAP(struct mlx4_dev *dev, struct mlx4_dev_cap *dev_cap) dev_cap->bf_reg_size = 1 << (field & 0x1f); MLX4_GET(field, outbox, QUERY_DEV_CAP_LOG_MAX_BF_REGS_PER_PAGE_OFFSET); if ((1 << (field & 0x3f)) > (PAGE_SIZE / dev_cap->bf_reg_size)) { - mlx4_warn(dev, "firmware bug: log2 # of blue flame regs is invalid (%d), forcing 3\n", field & 0x1f); + mlx4_dbg(dev, "firmware bug: log2 # of blue flame regs is invalid (%d), forcing 3\n", field & 0x1f); field = 3; } dev_cap->bf_regs_per_page = 1 << (field & 0x3f);