Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp897845pxy; Wed, 5 May 2021 17:20:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy7ipMRtzCp+Z5OmFIcBWipK0IYxpU9lFH8sEJwlnKE3P1yltnawXhix3EXiCiaZ1vnJQwz X-Received: by 2002:a17:906:a006:: with SMTP id p6mr1410453ejy.350.1620260424625; Wed, 05 May 2021 17:20:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620260424; cv=none; d=google.com; s=arc-20160816; b=qfcFEhOZb+R5egb/OjweI5tDObDWH6oOCf+mgch2SWdmLNYd8WCM1A4eimST27bCzN La0n1MhskAShW8rtOcWbiLUixAme4zJw96m0Tw6oH1GT1D0gm0ktYsEnPv+DVMCFnDv4 cdWMGc2m0vhbtfATTopd0HKuvpgxOCwni8hVuP3oDZ1wr9AtGG69+GUYzE3kjAjnw72C giy2TzcDo1Nq1SpzOxfrLcfqZe+DPuniL4JxPGzhTkBLutKoKmH8Ym6UAAFySScRyPpi PUYuLOinLPRxMpe31WoPosDRcB+UuS27t9m5qvI+T88H7DjtLAB7Y8kRgEBRUjVMVLuf OZfA== 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:dmarc-filter:sender:dkim-signature; bh=wHwGtr/3gK3fk8iPTviY4cFOZpxm9DXqolTmS9FZ8AE=; b=Tw50EYxPCbvYxwpTn0aDL7YPrUfbkd0o6kJ0cPEIJNZ5t+k73LIHiDAhnb/Onyewxa H/FfOHKm1TVAJSMxGuM5gi6Jetsh9ju7wpIGGftaC5n2BgrmOR8AAzvhG2AhgDUSjZtm sGe5rGozTM2B1auGnz5hkmZkJfNuUUCWZ14yQd0izl0GY/oHsvmlEWzkPO4lNSiJZqhX PXmW3O8el4sI1eQq+pvehaZmRDPvyJoiyEIgit8/V0naOLkZhaaMlYSRoMkuYCpRPUT8 OcBbEsXn9R6MS16NE7DEALDtbtMU2IeX+B3DFPqJgPH/a+U3WIWSA1x/hw9ZIxNL/w6x wplw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=TBHqdhPU; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id vr6si714955ejb.739.2021.05.05.17.20.00; Wed, 05 May 2021 17:20:24 -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=pass header.i=@mg.codeaurora.org header.s=smtp header.b=TBHqdhPU; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229708AbhEFASj (ORCPT + 99 others); Wed, 5 May 2021 20:18:39 -0400 Received: from m43-7.mailgun.net ([69.72.43.7]:47926 "EHLO m43-7.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229601AbhEFASi (ORCPT ); Wed, 5 May 2021 20:18:38 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1620260262; h=Content-Transfer-Encoding: Content-Type: In-Reply-To: MIME-Version: Date: Message-ID: From: References: Cc: To: Subject: Sender; bh=wHwGtr/3gK3fk8iPTviY4cFOZpxm9DXqolTmS9FZ8AE=; b=TBHqdhPUl/wmo+0zO3DdseOYzKQ6J0Mp3F9NMdiKm/3MQMJSOiDCABHEWV1YImv+g0M+koMp DN0PpuZYY8RaGEUgdHQRoXBFZdoXAMTpxZ22b6AmqyyqnHJrvspdddbWzXLPacQ1h4unKieu k6kis0oCBZK33M6913ufbDRKyaE= X-Mailgun-Sending-Ip: 69.72.43.7 X-Mailgun-Sid: WyI3YTAwOSIsICJsaW51eC13aXJlbGVzc0B2Z2VyLmtlcm5lbC5vcmciLCAiYmU5ZTRhIl0= Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n04.prod.us-east-1.postgun.com with SMTP id 609335958166b7eff711dcff (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Thu, 06 May 2021 00:17:25 GMT Sender: hemantk=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 1E109C4338A; Thu, 6 May 2021 00:17:25 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=ALL_TRUSTED,BAYES_00, NICE_REPLY_A,SPF_FAIL,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from [10.46.162.249] (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: hemantk) by smtp.codeaurora.org (Postfix) with ESMTPSA id 5790EC433D3; Thu, 6 May 2021 00:17:24 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 5790EC433D3 Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=fail smtp.mailfrom=hemantk@codeaurora.org Subject: Re: [PATCH v3 2/6] bus: mhi: core: Set BHI and BHIe pointers to NULL in clean-up To: Bhaumik Bhatt , manivannan.sadhasivam@linaro.org Cc: linux-arm-msm@vger.kernel.org, jhugo@codeaurora.org, linux-kernel@vger.kernel.org, loic.poulain@linaro.org, linux-wireless@vger.kernel.org, kvalo@codeaurora.org, ath11k@lists.infradead.org References: <1620234501-30461-1-git-send-email-bbhatt@codeaurora.org> <1620234501-30461-3-git-send-email-bbhatt@codeaurora.org> From: Hemant Kumar Message-ID: <747f0641-ebc1-7edf-35c1-0268c1134791@codeaurora.org> Date: Wed, 5 May 2021 17:17:23 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <1620234501-30461-3-git-send-email-bbhatt@codeaurora.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On 5/5/21 10:08 AM, 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 Reviewed-by: Hemant Kumar -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project