[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sun, 23 May 2021 18:32:58 -0700
From: Bart Van Assche <bvanassche@....org>
To: Bean Huo <huobean@...il.com>, alim.akhtar@...sung.com,
avri.altman@....com, asutoshd@...eaurora.org, jejb@...ux.ibm.com,
martin.petersen@...cle.com, stanley.chu@...iatek.com,
beanhuo@...ron.com, tomas.winkler@...el.com, cang@...eaurora.org
Cc: linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v1 3/3] scsi: ufs: Use UPIU query trace in devman_upiu_cmd
On 5/23/21 2:14 PM, Bean Huo wrote:
> + ufshcd_add_query_upiu_trace(hba, err ? UFS_QUERY_ERR : UFS_QUERY_COMP,
> + (struct utp_upiu_req *)lrbp->ucd_rsp_ptr);
Why is there a cast in the above code from a response pointer to a
request pointer type?
Thanks,
Bart.
Powered by blists - more mailing lists