Skip to content
Commit 3dd3c6a3 authored by Maureen Helm's avatar Maureen Helm Committed by Anas Nashif
Browse files

drivers: i2c: Check non-null pointer before dereferencing in i2c shell



Fixes the i2c shell to check the device name pointer is non-null before
dereferencing it.

Coverity CID: 210558

Signed-off-by: default avatarMaureen Helm <maureen.helm@nxp.com>
parent bd2a71f6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment