On 11/9/22 11:41, Asutosh Das wrote:
+struct cq_entry { + /* DW 0-1 */ + __le64 command_desc_base_addr; + + /* DW 2 */ + __le16 response_upiu_length; + __le16 response_upiu_offset; + + /* DW 3 */ + __le16 prd_table_length; + __le16 prd_table_offset; + + /* DW 4 */ + __le32 status; + + /* DW 5-7 */ + u32 reserved[3]; +};
Since this data structure comes from the UFSHCI specification, please mention the name of this data structure above this data structure, e.g. as follows:
/* MCQ Completion Queue Entry */ Thanks, Bart.