Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp3812744pxy; Tue, 4 May 2021 10:26:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyPFV0VVkHhsM4j4F+T0ZSHd0AgphRnpu+9t3Ks0VdAGQcScnVTsNxFOw9Tos+BCKwwoaH3 X-Received: by 2002:a17:907:33ce:: with SMTP id zk14mr22927760ejb.372.1620149206432; Tue, 04 May 2021 10:26:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620149206; cv=none; d=google.com; s=arc-20160816; b=Ne6qrS4uHWf28nthYoawjZzfsBDERl0WxG5OpuEPRXQ4e+h4lTx8KBj6h0bXtIYb71 1Hh1cnPyfq+7vEZFucLuoE2mMsF7Nwgxk9KBT0WCsZSGb5PgFbQJXjvVrp1JS7DYUA3l /ov9iP4YUCW3Audav46udsP9CrgJHllGFDQ/SMkcnMTN0r/YU+z9jwZ49cxRBvcdzdkS L7uATezsmzdvv+VNmaLY4NPrQYAOWIz0ESycIAW+eQG9YepYszPVXgmXm+QfpgNY1btq urM6zkCnn3VmWUM4Anr4U9QDSr6x0xJDRyjfHkzD4veUp7Nt8Av7obIBrUK/BotuWJc0 ZOtw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=0pvNzcZbxcjRA/BLfmASqHxK5Brk6DHoa3GhGbZyjXE=; b=1HIZZ9RqFT171MXMfxI7snhlzJGSkmbx5Q4+pwwxqolTR1dgEM2Ky1Lqt/LebkA9U2 1Hn8VfiyTumu9aDkqMvyswZT7uCIscE5hVYgoTYzmvAAM6Okw5Spyncp/6tNbSGaqWiS Gzm9TX1HuKVqWTujJwnrkBSp7MQ7+gCdzFoEhMvW6p8S3l91sUN3kTcPQIPh2lIlttna /7ONBe3mUatIcIfcrxVtcqpcrNasvYB3GYcvg+PYdEqTYJ2+i/6TVJKRWJt4tJbXhm3b 8F9i7WqhqMCOyS1QH75BdTkMQ1Q9T2/G5JJbq11RrEIy/v1kbffVgC0V//ZZbQeAln8E wkoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@quicinc.com header.s=qcdkim header.b=Njz1UxDM; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r3si3217307ejs.480.2021.05.04.10.26.22; Tue, 04 May 2021 10:26:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@quicinc.com header.s=qcdkim header.b=Njz1UxDM; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230481AbhEDR1F (ORCPT + 99 others); Tue, 4 May 2021 13:27:05 -0400 Received: from alexa-out-sd-02.qualcomm.com ([199.106.114.39]:59941 "EHLO alexa-out-sd-02.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230289AbhEDR1E (ORCPT ); Tue, 4 May 2021 13:27:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1620149169; x=1651685169; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=tELHJYEjlyIrHvp1LCUAoAaqANLGV9YKPvNdul3uko0=; b=Njz1UxDMhYsSVjlunpff3y57LyKydDi7PyUHJmmlHHRqCdQsa6qPIsmO ECOgD4KYm0AaIO5W4L/nUdX1EulkAnm864Y9aEho7h+XiieGX4Tfqhk69 gpLztAscOCA8YxqtN7TYNpxg8bASUpVgFH6NO/cnLzW4JMhFOcjuIsBgy 0=; Received: from unknown (HELO ironmsg04-sd.qualcomm.com) ([10.53.140.144]) by alexa-out-sd-02.qualcomm.com with ESMTP; 04 May 2021 10:26:09 -0700 X-QCInternal: smtphost Received: from nasanexm03e.na.qualcomm.com ([10.85.0.48]) by ironmsg04-sd.qualcomm.com with ESMTP/TLS/AES256-SHA; 04 May 2021 10:26:09 -0700 Received: from [10.226.59.216] (10.80.80.8) by nasanexm03e.na.qualcomm.com (10.85.0.48) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 4 May 2021 10:26:08 -0700 Subject: Re: [PATCH v1 2/6] bus: mhi: core: Set BHI and BHIe pointers to NULL in clean-up To: Bhaumik Bhatt , CC: , , , , , , References: <1618598825-18629-1-git-send-email-bbhatt@codeaurora.org> <1618598825-18629-3-git-send-email-bbhatt@codeaurora.org> From: Jeffrey Hugo Message-ID: <55df55c8-5799-e581-1dbb-8291243bf37d@quicinc.com> Date: Tue, 4 May 2021 11:26:08 -0600 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.9.1 MIME-Version: 1.0 In-Reply-To: <1618598825-18629-3-git-send-email-bbhatt@codeaurora.org> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanexm03a.na.qualcomm.com (10.85.0.103) To nasanexm03e.na.qualcomm.com (10.85.0.48) Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On 4/16/2021 12:47 PM, Bhaumik Bhatt wrote: > Set the BHI and BHIe pointers to NULL as part of clean-up. This > makes sure that stale pointers are not accessed after powering > MHI down. > > Suggested-by: Hemant Kumar > Signed-off-by: Bhaumik Bhatt > --- Reviewed-by: Jeffrey Hugo