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

pcie_check: add the pci/pcie register check followed the PCIe spec. #287

Closed
wants to merge 3 commits into from

Conversation

xupengfe
Copy link
Contributor

The pcie_check tool can quickly verify specific PCI/PCIe capabilities at specified offset bytes and specific bit sizes, without being restricted by the version limitations of the lspci tool.

The pcie_check tool can quickly verify specific PCI/PCIe capabilities at
specified offset bytes and specific bit sizes, without being restricted
by the version limitations of the lspci tool.

Signed-off-by: Pengfei Xu <[email protected]>
@xupengfe
Copy link
Contributor Author

It's for kernel code check WARNING: Prefer kstrto to single variable sscanf. It's useless in user space code.

CHECK: Unnecessary parentheses around 'offset == 0', if removed parentheses, will cause compile warning:
warning: suggest parentheses around comparison...

Thanks!

@xupengfe xupengfe closed this Jun 25, 2024
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.

1 participant