Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wdc: Fix UUID index fallback mechanism #2152

Merged
merged 1 commit into from
Dec 13, 2023
Merged

Conversation

jeff-lien-wdc
Copy link
Contributor

For certain devices that don't support UUID lists, there may be multiple definitions of the C2 logpage. This code will check for UUID list support and search the UUID list for the correct UUID, if supported. If UUID lists are not supported, the code will try uuid index 0 and 1 and use an identification algorithm to determine which is returning the correct log page data.

For certain devices that don't support UUID lists, there may be multiple
definitions of the C2 logpage. This code will check for UUID list
support and search the UUID list for the correct UUID, if supported. If
UUID lists are not supported, the code will try uuid index 0 and 1 and
use an identification algorithm to determine which is returning the
correct log page data.

Signed-off-by: jeff-lien-wdc <jeff.lien@wdc.com>
[dwagner: swashed fixup patchs
	  fixed code style issues]
Signed-off-by: Daniel Wagner <dwagner@suse.de>
@igaw igaw merged commit 5c1b231 into linux-nvme:master Dec 13, 2023
14 of 15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants