Skip to content

examples: LID supported must be shifted right by 16#488

Merged
igaw merged 1 commit intolinux-nvme:masterfrom
martin-belanger:fix-examples
Sep 28, 2022
Merged

examples: LID supported must be shifted right by 16#488
igaw merged 1 commit intolinux-nvme:masterfrom
martin-belanger:fix-examples

Conversation

@martin-belanger
Copy link
Copy Markdown
Contributor

To access the LID Specific Field (see Base specs) the values from the Get Supported Log pages must be shifted right by 16. The example code was missing the shift.

Also added better exception handling example.

Signed-off-by: Martin Belanger martin.belanger@dell.com

To access the LID Specific Field (see Base specs) the values
from the Get Supported Log pages must be shifted right by 16.
The example code was missing the shift.

Also added better exception handling example.

Signed-off-by: Martin Belanger <martin.belanger@dell.com>
@igaw igaw merged commit 1f7acdb into linux-nvme:master Sep 28, 2022
@martin-belanger martin-belanger deleted the fix-examples branch March 1, 2023 15:34
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