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

i2c: Check return value of get_i2c_port() #29

Open
wants to merge 1 commit into
base: fwk-hx20-hx30-4410
Choose a base branch
from

Conversation

szsam
Copy link

@szsam szsam commented May 22, 2023

get_i2c_port() returns null values in some cases, and omitting the check could crash the program.

get_i2c_port() returns null values in some cases, and omitting
the check could crash the program.

Signed-off-by: Mingjie Shen <[email protected]>
@github-actions
Copy link

github-actions bot commented May 22, 2023

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@szsam
Copy link
Author

szsam commented May 22, 2023

I have read the CLA Document and I hereby sign the CLA

kiram9 added a commit that referenced this pull request May 22, 2023
@szsam
Copy link
Author

szsam commented May 22, 2023

recheck

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.

1 participant