Skip to content
Commit be7e0bb9 authored by Raphael Gault's avatar Raphael Gault Committed by Chris Kay
Browse files

sensor: Add validity check to prevent NULL dereferencing



This error was picked up by static analyser. The condition here will make
sure we are always in the valid case and never dereference a NULL
pointer.

Change-Id: I60d95bbc977e02b9c7eb46154aeb927f67d6f4a6
Signed-off-by: default avatarRaphael Gault <raphael.gault@arm.com>
parent ed8a37c7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment