FROMGIT: scsi: ufs: core: Use a function to calculate versions
Update the driver to use a function for referencing the UFS version. This replaces the UFSHCI_VERSION_xy macros, and supports comparisons where they did not. Link: https://lore.kernel.org/r/20210310153215.371227-2-caleb@connolly.tech Suggested-by:Christoph Hellwig <hch@lst.de> Reviewed-by:
Christoph Hellwig <hch@lst.de> Reviewed-by:
Bean Huo <beanhuo@micron.com> Signed-off-by:
Caleb Connolly <caleb@connolly.tech> Signed-off-by:
Martin K. Petersen <martin.petersen@oracle.com> Bug: 190637035 (cherry picked from commit 51428818 git://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git 5.14/scsi-staging) Change-Id: I61a3f2faeddacdb0ae53255577c17392af4b7211 Signed-off-by:
Can Guo <cang@codeaurora.org>
Loading
Please sign in to comment