Skip to content
Commit a29261c5 authored by Armando Visconti's avatar Armando Visconti Committed by Fabio Baltieri
Browse files

drivers/sensor: check xyz_mem_bank_set() ret value



Check xyz_mem_bank_set() API return value to catch and report as soon
as possible the error condition. Impacted stmemsc API:

  - lsm6dso_mem_bank_set()
  - lsm6dso16is_mem_bank_set()
  - lsm6dsv16x_mem_bank_set()

Fix:

  Coverity-CID: 316212 (issue #58579)
  Coverity-CID: 316224 (issue #58580)
  Coverity-CID: 316307 (issue #58586)

Signed-off-by: default avatarArmando Visconti <armando.visconti@st.com>
parent 6f74f53e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment