Thread (26 messages) 26 messages, 4 authors, 2021-03-15

Re: [PATCH v26 4/4] scsi: ufs: Add HPB 2.0 support

From: Can Guo <hidden>
Date: 2021-03-04 06:26:40
Also in: lkml

-	if (!ufshpb_is_support_chunk(transfer_len))
-		return;
+	if (!ufshpb_is_support_chunk(hpb, transfer_len) &&
+	    (ufshpb_is_legacy(hba) && (transfer_len != 
HPB_LEGACY_CHUNK_HIGH)))
+		return 0;
This is looks awkward, can we put the checks in 
ufshpb_is_support_chunk()?

Thanks,

Can Guo.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help