Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1924516pxa; Mon, 3 Aug 2020 02:47:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyINComkW0P3/Ubhbhtu0cw4T5wx+3eQjHLxE0/mMXUZ9r30vX864q6hrXE6T1uhqCZSgYs X-Received: by 2002:a17:907:20e6:: with SMTP id rh6mr15563178ejb.301.1596448032011; Mon, 03 Aug 2020 02:47:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596448032; cv=none; d=google.com; s=arc-20160816; b=LIwNoYtVrsVxzuDP7+5e+WOkmn4svSBwi7DrkgmRAfV71aUEzeH2VG1tikHQPLOiAu mDPoC+QDua3JspnvSb8eFrahFn9qV3hO8j9F3nCg5hrmGO7NsoagikNlQrcIqDHCOwCU cdDX75e08yYD+Y4XUhw70l4eOLTU5mDJvY/OzW09uhFUUtxLgeb+BZQdWWe3W3l/i1Tn F2aCTQ0i1lENrSyNxjKrpPfiNsY0AMxc2MJv7tGGzdhqXKEL7bHXxWc5Ve+AoHH6lREG zE+f/s7VMPLhHluUbDWpjQp7EmI/YlmXonL5H3/gp0GFDy0w0X53kowt8RAIqmDu5kOm PIiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=ZhKk3+aYfBtmyDfjmtzRdC9n/uCOzIpf/GjJwiyB4Og=; b=YRaqk38QNEUXgFvsYfnUaH7N1BZfDdFzQgyi61bz1j5q5OwkMAQtE3Nl9E7pGbjrvc T9LCpQ36G8w9rtzQNE3LBoFFrrw3SIPvyN9pMXxjRs2JLUl0vz4B1qtj+zkO0q9CNNhJ XmEYHc2AltufV7OgkXs6kso6SKBq7zernQK8Z9qYPnySLh+nkDduRJRQ5HgO5VR/QV4w fSYaBh+wGZTlwY9gJ7g5VUHE9IZl+coiTrO865ktF31pGO+gN+60ApJC1l7DvfTBk69u JJ371rl2VFVxMD/IDi5rC1ecKTmfvyAjqvd/+8+XWAOb7Rd0dsW/8gx5c4VXN5/OKBV3 osZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=dAaHRELa; 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=pass (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 z15si982730ejr.110.2020.08.03.02.46.50; Mon, 03 Aug 2020 02:47:11 -0700 (PDT) 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; dkim=pass header.i=@mediatek.com header.s=dk header.b=dAaHRELa; 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=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726239AbgHCJoY (ORCPT + 99 others); Mon, 3 Aug 2020 05:44:24 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:41323 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725968AbgHCJoX (ORCPT ); Mon, 3 Aug 2020 05:44:23 -0400 X-UUID: 3ac428711cf848909e39cce4385870c7-20200803 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:MIME-Version:Content-Type:References:In-Reply-To:Date:CC:To:From:Subject:Message-ID; bh=ZhKk3+aYfBtmyDfjmtzRdC9n/uCOzIpf/GjJwiyB4Og=; b=dAaHRELah656k8mrFCHfIOihZ5+eBWflnkiktZdcDtNO+x/0h7R+gzMEyhQleGlB4XIhuxUMxJTZMXOxC1Hpm00CQst2EuxseGTHesvJ0uK8waLOXZbXikTFlD9os4UmsNevcFm33nCXMclVjk/c2sFB0dnT+WLlqN2KwuUV7ik=; X-UUID: 3ac428711cf848909e39cce4385870c7-20200803 Received: from mtkcas07.mediatek.inc [(172.21.101.84)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1170194191; Mon, 03 Aug 2020 17:44:18 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs05n2.mediatek.inc (172.21.101.140) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 3 Aug 2020 17:44:15 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkcas08.mediatek.inc (172.21.101.126) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 3 Aug 2020 17:44:15 +0800 Received: from [172.21.77.33] (172.21.77.33) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Mon, 3 Aug 2020 17:44:15 +0800 Message-ID: <1596447857.32283.24.camel@mtkswgap22> Subject: Re: [PATCH v9 9/9] scsi: ufs: Properly release resources if a task is aborted successfully From: Stanley Chu To: Can Guo CC: , , , , , , , , Alim Akhtar , Avri Altman , "James E.J. Bottomley" , "Martin K. Petersen" , Matthias Brugger , "Bean Huo" , Bart Van Assche , open list , "moderated list:ARM/Mediatek SoC support" , "moderated list:ARM/Mediatek SoC support" Date: Mon, 3 Aug 2020 17:44:17 +0800 In-Reply-To: <1596445485-19834-10-git-send-email-cang@codeaurora.org> References: <1596445485-19834-1-git-send-email-cang@codeaurora.org> <1596445485-19834-10-git-send-email-cang@codeaurora.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 MIME-Version: 1.0 X-MTK: N Content-Transfer-Encoding: base64 Sender: linux-kernel-owner@vger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