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: sensor: coverity fixes #38150

Merged
merged 2 commits into from
Aug 30, 2021

Commits on Aug 30, 2021

  1. drivers: sensor: adxl372: add missing error handling

    Error handling was missing in numerous places, mostly for GPIO related
    callbacks. An assertion has been used in the context of thread callback.
    
    Fixes zephyrproject-rtos#38132
    
    Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
    gmarull committed Aug 30, 2021
    Configuration menu
    Copy the full SHA
    c84c41c View commit details
    Browse the repository at this point in the history
  2. drivers: sensor: adxl362: improve error handling

    Error handling was missing in numerous places, mostly on GPIO related
    callbacks. Some error codes were not correct (-EINVAL vs -ENODEV) and in
    some cases error was not propagated correctly.
    
    Fixes zephyrproject-rtos#38117
    
    Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
    gmarull committed Aug 30, 2021
    Configuration menu
    Copy the full SHA
    668eaf6 View commit details
    Browse the repository at this point in the history