Skip to content
Commit 628ecfa4 authored by Sergio Rodriguez's avatar Sergio Rodriguez Committed by Anas Nashif
Browse files

samples: drivers: i2c fram : Exit from testcase if device not found



Exiting from the test case when the gpio device is not found, this
to avoid a null pointer dereference

This issue was reported by Coverity

Coverity-CID: 151982

Change-Id: Ifaed47b2b48359dacfdb3111ca2895d5912779e6
Signed-off-by: default avatarSergio Rodriguez <sergio.sf.rodriguez@intel.com>
parent f8d3ac01
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment