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

[Mellanox][Pcie] Fix issue on pcied with an id that contains only decimal digits was treated as a decimal number #8309

Merged
merged 1 commit into from
Aug 3, 2021

Conversation

DavidZagury
Copy link
Contributor

Why I did it

A device that contains only decimal digits was mistreated as a decimal integer resulting in failure to find it in the id to bus map.

How I did it

Made sure id from the yaml file was treated as a string

How to verify it

Open log on 4600, make sure no error appear.

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

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106

Description for the changelog

A picture of a cute animal (not mandatory but encouraged)

@BasimShalata
Copy link
Contributor

@sujinmkang can you please review this PR.

@lguohan lguohan merged commit d26307d into sonic-net:master Aug 3, 2021
qiluo-msft pushed a commit that referenced this pull request Aug 5, 2021
…imal digits was treated as a decimal number (#8309)

A device that contains only decimal digits was mistreated as a decimal integer resulting in failure to find it in the id to bus map.
judyjoseph pushed a commit that referenced this pull request Aug 7, 2021
…imal digits was treated as a decimal number (#8309)

A device that contains only decimal digits was mistreated as a decimal integer resulting in failure to find it in the id to bus map.
carl-nokia pushed a commit to carl-nokia/sonic-buildimage that referenced this pull request Aug 7, 2021
…imal digits was treated as a decimal number (sonic-net#8309)

A device that contains only decimal digits was mistreated as a decimal integer resulting in failure to find it in the id to bus map.
@DavidZagury DavidZagury deleted the master_pcied_fix branch October 27, 2021 10:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants