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

coverity: fix the Overflowed return value in msr.c #10

Merged
merged 1 commit into from
Jan 13, 2025

Conversation

bhe4
Copy link
Contributor

@bhe4 bhe4 commented Jan 12, 2025

coverity report the error:
Event return_overflow: "status", which might have overflowed, is returned from the function.
It's because msr_reg_read return u64 while the status return in process_args is int tpe.

Tests Done:

  1. Build and boot
  2. peeknpoke function works

Tracked-On: OAM-129214

coverity report the error:
Event return_overflow: "status", which might have overflowed, is
returned from the function.
It's because msr_reg_read return u64 while the status return in
process_args is int tpe.

Tests Done:
1. Build and boot
2. peeknpoke function works

Tracked-On: OAM-129214
Signed-off-by: Bo He <[email protected]>
@sysopenci
Copy link

Android CI has started Engineering Build for this issue ,Please check the linked Tracked-On issue/Android CI Web for more details.

@sysopenci
Copy link

SUCCESS: Android CI has completed Engineering Build for this issue.Please check the linked Tracked-On issue/Android CI Web for more details.

@sysopenci sysopenci added Engineering Build Successful Engineering Build Successful and removed Engineering Build Not Started Engineering Build Not Started labels Jan 12, 2025
@sysopenci
Copy link

Android CI has started MERGE Build for this pr ,Please check the linked Tracked-On issue/Android CI Web for more details.

@sysopenci sysopenci merged commit 509b4db into projectceladon:master Jan 13, 2025
21 checks passed
@sysopenci
Copy link

Android CI has completed MERGE Build for this pr, build is SUCCESS. Please check the linked Tracked-On issue/Android CI Web for more details. For Binaries: /cactus-absp-or-local/celadon-merge/933

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.

3 participants