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

drivers: gpio: gpio_cy8c95xx: Add error check of i2c_reg_read_byte #35254

Merged
merged 1 commit into from
May 14, 2021

Conversation

galak
Copy link
Collaborator

@galak galak commented May 13, 2021

Check return value from i2c_reg_read_byte and error out if it
received an error

Fixes #35155

Signed-off-by: Kumar Gala kumar.gala@linaro.org

Check return value from i2c_reg_read_byte and error out if it
received an error

Fixes zephyrproject-rtos#35155

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
@galak galak requested a review from mnkp as a code owner May 13, 2021 12:40
@galak galak requested a review from nandojve May 13, 2021 12:41
@galak galak added bug The issue is a bug, or the PR is fixing a bug Coverity A Coverity detected issue or its fix Trivial Changes that can be reviewed by anyone, i.e. doc changes, minor build system tweaks, etc. labels May 13, 2021
@galak galak added this to the v2.6.0 milestone May 13, 2021
@galak galak requested a review from nashif May 13, 2021 16:51
@galak galak merged commit 21d1ad3 into zephyrproject-rtos:master May 14, 2021
@galak galak deleted the fix-gpio-coverity branch May 14, 2021 07:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug The issue is a bug, or the PR is fixing a bug Coverity A Coverity detected issue or its fix Trivial Changes that can be reviewed by anyone, i.e. doc changes, minor build system tweaks, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Coverity CID: 235677] Unchecked return value in drivers/gpio/gpio_cy8c95xx.c
3 participants