Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp5146309pxj; Wed, 9 Jun 2021 10:09:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxhEAXMtGJ12s9FtRq2EmdKdEOEvaq5Y9dhcTu0abRmkxSiD7iI0pOHfpqBKhflEq7+/0jW X-Received: by 2002:a05:6402:1911:: with SMTP id e17mr492760edz.62.1623258574601; Wed, 09 Jun 2021 10:09:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623258574; cv=none; d=google.com; s=arc-20160816; b=sXmlE8DWq600OyKhAmlph0PuY36T4x/0bpU2C85gzl/iiMqbFQbt5oautyNIMPa+Ek QuxLuCPQopRKXWA7m9shrMLPZzftbcIgFZPNf40naxT4hT9XQjMDHcrC7uu7ZZVaTdpA QkmSiKsg0C6Aa9gNBsMPg3ejqYpcypSeWQpOxFpgaal2PlnB80ymgLGVe21CerXUWVEq Q1DK55q+hjXaLGY5joYmg7xaCopfbLEopJKJlb+1r6zOdN9iEr2aNxSNAEZvUqX7R7cE FZuVOJ4TYKrPUxflY4a4CCJmXovebxSy5M9ayeU2l7L3WQ8pR0v7ofLixK315hRjbJLF 3PtQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=Ugb0gksaWQTXvj7JEDeIVT8vyKFync0MevCXBf1HNQ4=; b=YosFB43j2yQ3iUs46wXFDGd7p3kUvko+p4LhEd4y/pMAhN0aOclfGaua4KD+tpXTkg /gngnNZ9/tA20GiWPOY7FvEaeOxqv5gxts3gPcsFk4YsXe3ttNmImkn/MrHxU+RA0IyI svL/ABYnBnf7z0apnOnrQ0LUXhRDeSmw/mhTQA/EX3H8YQEWIpi0BfJZAhba+y6v+83k aS+0oaQq2wEpTRwanXRXOQirGZCwpi/pHxV+qJ8usPzZuz8cHkqHRG/MehHBVRKl0IHA RAVwmbJ5GxDs1d0kKl7VUU2eQdUeUF3YMAaieIXntmKkASBC2WfZDzBMSXFAQC7MNXHo XSoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b="pugBeaT/"; 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 27si276103ejd.393.2021.06.09.10.09.10; Wed, 09 Jun 2021 10:09:34 -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="pugBeaT/"; 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 S233460AbhFIGbR (ORCPT + 99 others); Wed, 9 Jun 2021 02:31:17 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:46717 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S232540AbhFIGbQ (ORCPT ); Wed, 9 Jun 2021 02:31:16 -0400 X-UUID: 0ec36225b39041c9bd8a7a58752ab499-20210609 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=Ugb0gksaWQTXvj7JEDeIVT8vyKFync0MevCXBf1HNQ4=; b=pugBeaT/2QI3zXrsbkdlw+TzGhFuFemwyz14r5rQSn5y8u0vFbvz33/Ck7TODFH3wieKl2OjjF+4k2sFOVrms/8P9VxNqHpRYAwo6x5TRNkgO641j3t4tDBS+pYixRMeY6iRNh/4fZdS6koaN9MXZ4bQtFHTZtm+B+S8v2cuUvM=; X-UUID: 0ec36225b39041c9bd8a7a58752ab499-20210609 Received: from mtkmbs10n2.mediatek.inc [(172.21.101.183)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 468066029; Wed, 09 Jun 2021 14:29:18 +0800 Received: from mtkcas10.mediatek.inc (172.21.101.39) by mtkmbs05n2.mediatek.inc (172.21.101.140) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 9 Jun 2021 14:29:17 +0800 Received: from [172.21.77.33] (172.21.77.33) by mtkcas10.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Wed, 9 Jun 2021 14:29:17 +0800 Message-ID: <1623220157.11234.0.camel@mtkswgap22> Subject: Re: [PATCH] scsi: ufs: Fix a possible use before initialization case From: Stanley Chu To: Can Guo CC: , , , , , , , Alim Akhtar , Avri Altman , "James E.J. Bottomley" , "Martin K. Petersen" , Bean Huo , Jaegeuk Kim , open list Date: Wed, 9 Jun 2021 14:29:17 +0800 In-Reply-To: <1623209820-37840-1-git-send-email-cang@qti.qualcomm.com> References: <1623209820-37840-1-git-send-email-cang@qti.qualcomm.com> 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gVHVlLCAyMDIxLTA2LTA4IGF0IDIwOjM2IC0wNzAwLCBDYW4gR3VvIHdyb3RlOg0KPiBJbiB1 ZnNoY2RfZXhlY19kZXZfY21kKCksIGlmIGVycm9yIGhhcHBlbnMgYmVmb3JlIGxycGIgaXMgaW5p dGlhbGl6ZWQsDQ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