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

Skip to content
Commit 1f796ef4 authored by Danny Segal's avatar Danny Segal Committed by Stephen Boyd
Browse files

usb: usb_bam: Code quality checking fix



Fixed a code-quality checking issue:
In the usb_bam_store_inactivity_timer() function, the timer variable
is initalized by the 'strsep()' function return value and there is not
no check whether NULL has been returned. Added an if statement for
verifying non-NULL value before dereferencing this variable.

Change-Id: I9d976cb03aae81e7c25923ee84868279896d8b03
Signed-off-by: default avatarDaniel Segal <dsegal@codeaurora.org>
parent e4f21135
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