Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3230988pxu; Tue, 15 Dec 2020 01:46:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJz46w5I2/ZoNty2QFUYhYuiHR89OUFLgVvHxeU6sJTo+biHEhIzin6MID2so1ZbOg5LB7AW X-Received: by 2002:aa7:c98d:: with SMTP id c13mr29902690edt.188.1608025588729; Tue, 15 Dec 2020 01:46:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608025588; cv=none; d=google.com; s=arc-20160816; b=McYFRaqWgu2IQiqRAr8IH06Hb1nf0cwV7I2XHbJRXxvCeTPfKg652ZlGUBV0EiBgen z3ftD1pcyqirZLI7VitpBDvVmytwHURTtw1umdHNSrdEAHn3HbfvBlP1UkPJIwPegY5n mqpisVzmXq2zPThfkXL+Gp1r96YcH/GhYBre6/D8KuJYpeR0iafoWKiBR/pSJMev0pWs 7C8fnyrOuNZSTXSmhGusC6hR7RvC5bd86Wb7q4dtFSTAsd5aWHVMvsSGlcaSRT+lqRIB raWDTEDMf5sMdOSdmY6RGWiFEYlG+XuSwdCNu0nSt4CgZi6hH3XfJ3YPsWLRcugnGGgu 9Bxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from; bh=//QCfrT/c6U4Lt894MwGwpm40/TYEFjjlZDrPBcFwU8=; b=ZkV0NoCtvp9mhnOpfrRcYlHZ/CDe/MfcBTGykxGgESGC5vFIT0aFPyU1B9Lmc/Pclv ANcf8T4PVXbSSsRinlq1b2BC5HVHpJbdI44fzp1rzpXUIGBcW6RMXSAAteCHPq+M+qZ/ VOwHG4DszRnE1nIlDsQY3di0kCrEEjqiL0gJRvJ73USZQeTLsaQJB2FBbSxzaDLivJiA jdqIf2SFFQZqwimZHIVAMN8J/tr1Qxi6/kpIW6B58yrshCu1ys3DIkh61rkNc1LNChlg XdqhbfqYXHBYTiwCUqPbQN0jZItFTpEv0hnRgZxoIuZiw+kcgtFUtol87CMLL53a8RLc 1eoQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x91si539190ede.370.2020.12.15.01.46.06; Tue, 15 Dec 2020 01:46:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728301AbgLOJkv (ORCPT + 99 others); Tue, 15 Dec 2020 04:40:51 -0500 Received: from mailgw01.mediatek.com ([210.61.82.183]:59050 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1727775AbgLOJkb (ORCPT ); Tue, 15 Dec 2020 04:40:31 -0500 X-UUID: b036cac9ae994ddabf219e5524b0ba96-20201215 X-UUID: b036cac9ae994ddabf219e5524b0ba96-20201215 Received: from mtkcas11.mediatek.inc [(172.21.101.40)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.14 Build 0819 with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1662855156; Tue, 15 Dec 2020 17:39:43 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs08n2.mediatek.inc (172.21.101.56) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 15 Dec 2020 17:39:35 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Tue, 15 Dec 2020 17:39:36 +0800 From: Stanley Chu To: , , , , CC: , , , , , , , , , , , , , , , , Stanley Chu Subject: [PATCH v1 4/4] scsi: ufs: Fix build warning by incorrect function description Date: Tue, 15 Dec 2020 17:39:34 +0800 Message-ID: <20201215093934.21223-5-stanley.chu@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20201215093934.21223-1-stanley.chu@mediatek.com> References: <20201215093934.21223-1-stanley.chu@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-TM-SNTS-SMTP: BEEA38C008BEBCA6B551BFFEBDBFC0668C4DB8595B9FDBFD0C06C02EE25BEEBB2000:8 X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix build warnings as below due to incorrect function description of ufshcd_try_to_abort_task(). ufshcd.c:6651: warning: Function parameter or member 'hba' not described in 'ufshcd_try_to_abort_task' ufshcd.c:6651: warning: Function parameter or member 'tag' not described in 'ufshcd_try_to_abort_task' ufshcd.c:6651: warning: Excess function parameter 'cmd' description in 'ufshcd_try_to_abort_task' Signed-off-by: Stanley Chu --- drivers/scsi/ufs/ufshcd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/scsi/ufs/ufshcd.c b/drivers/scsi/ufs/ufshcd.c index 15e5877411b3..dd1ca22264da 100644 --- a/drivers/scsi/ufs/ufshcd.c +++ b/drivers/scsi/ufs/ufshcd.c @@ -6637,7 +6637,8 @@ static void ufshcd_set_req_abort_skip(struct ufs_hba *hba, unsigned long bitmap) /** * ufshcd_try_to_abort_task - abort a specific task - * @cmd: SCSI command pointer + * @hba: per adapter instance + * @tag: position of the bit to be aborted * * Abort the pending command in device by sending UFS_ABORT_TASK task management * command, and in host controller by clearing the door-bell register. There can -- 2.18.0