Skip to content

[device/accton]as4630-54pe, two i2c adaptors might be installed not in presumed order. #5393

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

Closed

Conversation

roylee123
Copy link
Collaborator

@roylee123 roylee123 commented Sep 17, 2020

Add a check on i2c bus topology and follow up.
Signed-off-by: roy_lee [email protected]

- Why I did it
Sometimes, DUT boot-up with i2c dev error message.

- How I did it
Check i2c buses and use the correct one to install devices.

- How to verify it
No error at a long time reboot test.

- Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006

- Description for the changelog
As the code diff.

@lgtm-com
Copy link

lgtm-com bot commented Sep 17, 2020

This pull request introduces 4 alerts and fixes 2 when merging c86fb9d into ae9a86f - view on LGTM.com

new alerts:

  • 2 for Unused local variable
  • 2 for Variable defined multiple times

fixed alerts:

  • 2 for Unused local variable

Copy link
Contributor

@jleveque jleveque left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please fix LGTM alerts

Signed-off-by: roy_lee <[email protected]>
@lgtm-com
Copy link

lgtm-com bot commented Sep 28, 2020

This pull request fixes 2 alerts when merging 6dc6125 into e3f8159 - view on LGTM.com

fixed alerts:

  • 2 for Unused local variable

@jleveque
Copy link
Contributor

jleveque commented Oct 3, 2020

Retest this please

@roylee123
Copy link
Collaborator Author

The solution is changed. Problem will be fixed on later PR.

@roylee123 roylee123 closed this Aug 17, 2021
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