Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1527203

Re: [PATCH v2] ufs: qcom: Properly clear hba priv on failure

From "Martin K. Petersen" <martin.petersen@oracle.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2] ufs: qcom: Properly clear hba priv on failure
Date 2016-11-22 04:50 +0100
Message-ID <sGafM-1Ox-9@gated-at.bofh.it> (permalink)
References <sFtXb-7tr-13@gated-at.bofh.it>
Organization Oracle Corporation

Show all headers | View raw


>>>>> "Bjorn" == Bjorn Andersson <bjorn.andersson@linaro.org> writes:

Bjorn> ufs_qcom_init() sets the hba priv data before attempting to
Bjorn> acquire the phy handle, so make sure to clear this in the case of
Bjorn> an error. Failing to do this will make ufs_qcom_setup_clocks()
Bjorn> operate on the uninitalized host object.

Applied to 4.10/scsi-queue.

-- 
Martin K. Petersen	Oracle Linux Engineering

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v2] ufs: qcom: Properly clear hba priv on failure Bjorn Andersson <bjorn.andersson@linaro.org> - 2016-11-20 07:40 +0100
  Re: [PATCH v2] ufs: qcom: Properly clear hba priv on failure Subhash Jadavani <subhashj@codeaurora.org> - 2016-11-21 19:40 +0100
  Re: [PATCH v2] ufs: qcom: Properly clear hba priv on failure "Martin K. Petersen" <martin.petersen@oracle.com> - 2016-11-22 04:50 +0100

csiph-web