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

Skip to content
Commit 11df8564 authored by Sriharsha Allenki's avatar Sriharsha Allenki
Browse files

usb: gsi: Fix usage of uninitialized variable



Commit ("8ead8db6 usb: gsi: Add debugfs support
for remote wakeup on each interface") removed the
initialization of the variable "gsi" before it is used
in the macros log_event_dbg and log_event_err. This causes
the access to garbage value leading to unintended results.
Fix this by using the pr_debug and pr_err instead of the
log_event_dbg and log_event_err.

Change-Id: I473c3629b3fc88041863e330aade52761e1dad8e
Signed-off-by: default avatarSriharsha Allenki <sallenki@codeaurora.org>
parent aac560a6
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