From patchwork Sun Apr 12 14:07:13 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masanari Iida X-Patchwork-Id: 6203301 Return-Path: X-Original-To: patchwork-linux-scsi@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 4F9E1BF4A6 for ; Sun, 12 Apr 2015 14:07:32 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3C6F620274 for ; Sun, 12 Apr 2015 14:07:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2C2BF20263 for ; Sun, 12 Apr 2015 14:07:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751275AbbDLOHA (ORCPT ); Sun, 12 Apr 2015 10:07:00 -0400 Received: from mail-pd0-f172.google.com ([209.85.192.172]:35665 "EHLO mail-pd0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751152AbbDLOHA (ORCPT ); Sun, 12 Apr 2015 10:07:00 -0400 Received: by pddn5 with SMTP id n5so77711306pdd.2; Sun, 12 Apr 2015 07:06:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=v/BbEyfSVW5j//8unJhxAtEa8BvHQFimGYoyQKop3V0=; b=RIcNSJcXlpRs0LnXsNc5kwnPOg8WLbv4MLO50FlEfoNhjJbHA+iY2JGhOdCwYez+vP mRSzVgvf10qMfOLSSSXRxPVdPEEevB3dUHA5Mh3pfYAbZY/vu0ahEcaNwn89ehzxVFcR 8/Lshc2OJWyGEaV1ih0LDRAKzvCQ9oXClXJT0SQ+k44BiITMQoTgrUb9v3z3abzxK6O4 I4833uHGQRON8gbBOwFYCXd1UOJqOyw1xswUoj8pkAfMwpbYiyvQJEY0T+vFJAhnqT2c zedavXf0yaCLGDjyusXVEsc3mHDnDpDvjyXrXD6rcqk77GteNdYVnFUfv/mVEcHsfxfI F7/A== X-Received: by 10.67.5.230 with SMTP id cp6mr18146377pad.55.1428847619457; Sun, 12 Apr 2015 07:06:59 -0700 (PDT) Received: from masabert (i118-21-156-233.s30.a048.ap.plala.or.jp. [118.21.156.233]) by mx.google.com with ESMTPSA id sw4sm4460976pbc.64.2015.04.12.07.06.57 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 12 Apr 2015 07:06:58 -0700 (PDT) Received: by masabert (Postfix, from userid 1000) id C5638DFEF9; Sun, 12 Apr 2015 23:07:16 +0900 (JST) From: Masanari Iida To: QLogic-Storage-Upstream@qlogic.com, JBottomley@parallels.com, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Masanari Iida Subject: [PATCH] [SCSI] bnx2fc: Fix debug messasges in bnx2fc_io.c Date: Sun, 12 Apr 2015 23:07:13 +0900 Message-Id: <1428847633-30232-1-git-send-email-standby24x7@gmail.com> X-Mailer: git-send-email 2.4.0.rc0.43.gcf8a8c6 Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_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 The debug messages in bnx2fc_process_seq_cleanup_compl() doesn't match its function name. Signed-off-by: Masanari Iida Acked-by: Chad Dupuis --- drivers/scsi/bnx2fc/bnx2fc_io.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/bnx2fc/bnx2fc_io.c b/drivers/scsi/bnx2fc/bnx2fc_io.c index 9ecca85..1b53a68 100644 --- a/drivers/scsi/bnx2fc/bnx2fc_io.c +++ b/drivers/scsi/bnx2fc/bnx2fc_io.c @@ -1319,7 +1319,7 @@ void bnx2fc_process_seq_cleanup_compl(struct bnx2fc_cmd *seq_clnp_req, int rc = 0; struct bnx2fc_rport *tgt = orig_io_req->tgt; - BNX2FC_IO_DBG(orig_io_req, "Entered process_cleanup_compl xid = 0x%x" + BNX2FC_IO_DBG(orig_io_req, "Entered process_seq_cleanup_compl xid = 0x%x" "cmd_type = %d\n", seq_clnp_req->xid, seq_clnp_req->cmd_type); @@ -1334,7 +1334,7 @@ void bnx2fc_process_seq_cleanup_compl(struct bnx2fc_cmd *seq_clnp_req, spin_lock_bh(&tgt->tgt_lock); if (rc) - printk(KERN_ERR PFX "clnup_compl: Unable to send SRR" + printk(KERN_ERR PFX "process_seq_clenup_compl: Unable to send SRR" " IO will abort\n"); seq_clnp_req->cb_arg = NULL; kref_put(&orig_io_req->refcount, bnx2fc_cmd_release);