Skip to content

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

Merged
lguohan merged 1 commit intosonic-net:masterfrom
DavidZagury:master_pcied_fix
Aug 3, 2021
Merged

[Mellanox][Pcie] Fix issue on pcied with an id that contains only decimal digits was treated as a decimal number#8309
lguohan merged 1 commit intosonic-net:masterfrom
DavidZagury:master_pcied_fix

Conversation

@DavidZagury
Copy link
Copy Markdown
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)

@DavidZagury DavidZagury requested a review from lguohan as a code owner August 2, 2021 14:58
@BasimShalata
Copy link
Copy Markdown
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