Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 5e2a583c authored by Kavya Nunna's avatar Kavya Nunna
Browse files

leds: qpnp-flash-common: Fix possible null pointer dereference



Currently, there is no null check before using led_cdev.
Add a NULL pointer check before dereferencing it.

Change-Id: I4121be7511c299abbbda4de4de90f9d0a9168e15
Signed-off-by: default avatarKavya Nunna <knunna@codeaurora.org>
parent 82e0a0f5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment