From patchwork Wed Apr 17 21:44:10 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bart Van Assche X-Patchwork-Id: 10906215 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9A20817E6 for ; Wed, 17 Apr 2019 21:45:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 84D5B2873E for ; Wed, 17 Apr 2019 21:45:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 796EF2867C; Wed, 17 Apr 2019 21:45:10 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 17B4B2873E for ; Wed, 17 Apr 2019 21:45:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387907AbfDQVo6 (ORCPT ); Wed, 17 Apr 2019 17:44:58 -0400 Received: from mail-pf1-f195.google.com ([209.85.210.195]:33398 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387756AbfDQVo4 (ORCPT ); Wed, 17 Apr 2019 17:44:56 -0400 Received: by mail-pf1-f195.google.com with SMTP id h5so92795pfo.0 for ; Wed, 17 Apr 2019 14:44:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=sdOUShQ6AoeFT0CkgLVINj1bmuVaYYs3TLoQhdjvjWU=; b=MVtizrUDavq4Zb7ZxM0iCYtFZMSupKiMSzwv7fxZVM+mLnCxkClQ8EboV2ghKW/DUF e/jT/SN130tGfMd1KMp0Qz5FEmfs6PXymztGJiDSF6M0ArH5APx6oo9Vr8AlSTpthHni oRyhkFG3Qcg7ZmCeEqBNE4fKB3ujGV8/8qOzFc+4rlv89GLd3vZgM9E+Jsz5dTZ3ZSrp lfS0QG75ZL8QiX4vVmh1IhUjB4U8O0QboYkFq/MSOgJimkuJamHCLSD+soT3w5dMJbQD 333NaOVDfevI18isCPj9x7atebwdKXBqIr3xUFqFsT9pPQBMMtROJA/Jwce972sFgmT2 difA== X-Gm-Message-State: APjAAAV73BI+6DUnayxQfWBSwV66/c8pqMxEC0Ltp99mwmDcfoRuwvU0 ldxVTqF6Z5E8JTA7rlkkGQnpkQH1 X-Google-Smtp-Source: APXvYqwKwBYjnjCIU5PgcSNOfFxheutvets4E6QoERDo0mfTToO2aCIkSDgjkAMzJp2V50ZX9RnVXw== X-Received: by 2002:aa7:86ce:: with SMTP id h14mr93018098pfo.84.1555537495440; Wed, 17 Apr 2019 14:44:55 -0700 (PDT) Received: from desktop-bart.svl.corp.google.com ([2620:15c:2cd:203:5cdc:422c:7b28:ebb5]) by smtp.gmail.com with ESMTPSA id d68sm219314pfg.16.2019.04.17.14.44.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 17 Apr 2019 14:44:54 -0700 (PDT) From: Bart Van Assche To: "Martin K . Petersen" , "James E . J . Bottomley" Cc: linux-scsi@vger.kernel.org, Christoph Hellwig , Bart Van Assche , Himanshu Madhani , Giridhar Malavali Subject: [PATCH 01/34] qla2xxx: Update two source code comments Date: Wed, 17 Apr 2019 14:44:10 -0700 Message-Id: <20190417214443.243152-2-bvanassche@acm.org> X-Mailer: git-send-email 2.20.GIT In-Reply-To: <20190417214443.243152-1-bvanassche@acm.org> References: <20190417214443.243152-1-bvanassche@acm.org> MIME-Version: 1.0 Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Change one occurrence of "*(" into "()" and change one occurrence of "lcoate" into "locate". Fix the reference to qla_tgt_handle_cmd_for_atio(): there has never been a function with that name. Cc: Himanshu Madhani Cc: Giridhar Malavali Fixes: 75f8c1f693ee ("[SCSI] tcm_qla2xxx: Add >= 24xx series fabric module for target-core") # v3.5. Fixes: 2d70c103fd2a ("[SCSI] qla2xxx: Add LLD target-mode infrastructure for >= 24xx series") # v3.5. Signed-off-by: Bart Van Assche --- drivers/scsi/qla2xxx/qla_target.c | 2 +- drivers/scsi/qla2xxx/tcm_qla2xxx.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/qla2xxx/qla_target.c b/drivers/scsi/qla2xxx/qla_target.c index 57cdd762230d..4afab9d338b3 100644 --- a/drivers/scsi/qla2xxx/qla_target.c +++ b/drivers/scsi/qla2xxx/qla_target.c @@ -4246,7 +4246,7 @@ static void __qlt_do_work(struct qla_tgt_cmd *cmd) if (ret != 0) goto out_term; /* - * Drop extra session reference from qla_tgt_handle_cmd_for_atio*( + * Drop extra session reference from qlt_handle_cmd_for_atio(). */ spin_lock_irqsave(&ha->tgt.sess_lock, flags); ha->tgt.tgt_ops->put_sess(sess); diff --git a/drivers/scsi/qla2xxx/tcm_qla2xxx.c b/drivers/scsi/qla2xxx/tcm_qla2xxx.c index 7f9d5461023a..eb19ad845bc9 100644 --- a/drivers/scsi/qla2xxx/tcm_qla2xxx.c +++ b/drivers/scsi/qla2xxx/tcm_qla2xxx.c @@ -1482,7 +1482,7 @@ static int tcm_qla2xxx_check_initiator_node_acl( */ tpg = lport->tpg_1; if (!tpg) { - pr_err("Unable to lcoate struct tcm_qla2xxx_lport->tpg_1\n"); + pr_err("Unable to locate struct tcm_qla2xxx_lport->tpg_1\n"); return -EINVAL; } /*