Skip to content

[202311]Fix the sfputil treats page number as decimal instead of hexadecimal #3160

Merged
yxieca merged 1 commit intosonic-net:202311from
dgsudharsan:sfp_dec_fix_2311
Feb 9, 2024
Merged

[202311]Fix the sfputil treats page number as decimal instead of hexadecimal #3160
yxieca merged 1 commit intosonic-net:202311from
dgsudharsan:sfp_dec_fix_2311

Conversation

@dgsudharsan
Copy link
Collaborator

Manual cherry-pick of (#3153)

Fix the sfputil treats page number as decimal instead of hexadecimal


What I did

#3009 breaks the number base rule, treats the page number CLI input as decimal rather than hex, this is used to fix it.

it also containes a redundancy function definition, so remove it.

How I did it

How to verify it

unit test and manually test

Previous command output (if the output of a command-line utility has changed)

New command output (if the output of a command-line utility has changed)

…decimal (sonic-net#3153)

* Fix the sfputil treats page number as decimal instead of hexadecimal (#22)

Fix the sfputil treats page number as decimal instead of hexadecimal

Signed-off-by: Kebo Liu <[email protected]>

* remove unreachable code

Signed-off-by: Kebo Liu <[email protected]>

---------

Signed-off-by: Kebo Liu <[email protected]>
@mihirpat1
Copy link
Contributor

mihirpat1 commented Feb 8, 2024

@yxieca - Can you please help to merge this to 202311?
ADO - 26729886

@prgeor
Copy link
Contributor

prgeor commented Feb 8, 2024

@StormLiangMS this is a bug fix needed for debugging. please see ADO above. thanks

@yxieca yxieca merged commit 54595c1 into sonic-net:202311 Feb 9, 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.

5 participants