lkml.org 
[lkml]   [2021]   [May]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v1 3/3] scsi: ufs: Use UPIU query trace in devman_upiu_cmd
From
Date
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.

\
 
 \ /
  Last update: 2021-05-24 03:34    [W:0.191 / U:0.220 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site