Skip to content

i2c: Check return value of get_i2c_port()#29

Open
szsam wants to merge 1 commit into
FrameworkComputer:fwk-hx20-hx30-4410from
IVOES:cpp/inconsistent-null-check
Open

i2c: Check return value of get_i2c_port()#29
szsam wants to merge 1 commit into
FrameworkComputer:fwk-hx20-hx30-4410from
IVOES:cpp/inconsistent-null-check

Conversation

@szsam

@szsam szsam commented May 22, 2023

Copy link
Copy Markdown

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 <shen497@purdue.edu>
@github-actions

github-actions Bot commented May 22, 2023

Copy link
Copy Markdown

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

@szsam

szsam commented May 22, 2023

Copy link
Copy Markdown
Author

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

szsam commented May 22, 2023

Copy link
Copy Markdown
Author

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