zephyr/samples/drivers
Sergio Rodriguez b0c0548ad6 samples: drivers: current sensing : Exit from testcase if device not found
Exiting from the test case when the i2c device is not found, this
to avoid a null pointer dereference

This issue was reported by Coverity

Coverity-CID: 151982

Change-Id: Ib11224ef2a78170f6e4d20545f645b4f2ea4a181
Signed-off-by: Sergio Rodriguez <sergio.sf.rodriguez@intel.com>
2016-11-29 03:45:39 +00:00
..
aio_comparator samples: aio comparators: Use expected pointer type in printf 2016-11-17 14:23:13 +00:00
current_sensing samples: drivers: current sensing : Exit from testcase if device not found 2016-11-29 03:45:39 +00:00
gpio samples: drivers: gpio: Exit from testcase if device not found 2016-11-18 00:05:31 +00:00
i2c_fujitsu_fram samples: drivers: i2c fram : Exit from testcase if device not found 2016-11-18 00:01:34 +00:00
i2c_lsm9ds0 samples: tests: remove obsolete KERNEL_TYPE and kernel variables 2016-11-04 15:47:25 -04:00
lcd_hd44780 samples: tests: remove obsolete KERNEL_TYPE and kernel variables 2016-11-04 15:47:25 -04:00
led_apa102c samples: drivers: led_apa102c: Exit from testcase if device not found 2016-11-28 17:49:31 -08:00
pwm samples: tests: remove obsolete KERNEL_TYPE and kernel variables 2016-11-04 15:47:25 -04:00
rtc samples: tests: remove obsolete KERNEL_TYPE and kernel variables 2016-11-04 15:47:25 -04:00
sensor_apds9960 sensor: fixes program hangs in the apds9960 sample 2016-11-18 23:17:30 +00:00
soc_flash_nrf5 samples: tests: remove obsolete KERNEL_TYPE and kernel variables 2016-11-04 15:47:25 -04:00
spi_flash samples: tests: remove obsolete KERNEL_TYPE and kernel variables 2016-11-04 15:47:25 -04:00
spi_fujitsu_fram samples: spi_fram: add spi FRAM sample app 2016-11-09 20:33:04 +00:00
spi_lsm9ds0 samples: tests: remove obsolete KERNEL_TYPE and kernel variables 2016-11-04 15:47:25 -04:00
watchdog samples: tests: remove obsolete KERNEL_TYPE and kernel variables 2016-11-04 15:47:25 -04:00