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

Skip to content
Commit c1cec149 authored by Pavankumar Kondeti's avatar Pavankumar Kondeti Committed by Stephen Boyd
Browse files

USB: android: Avoid typecasting sysfs buffer



Avoid typecasting sysfs buffer from const char * to char * for the
sake of passing it to strim().  Copy sysfs buffer to internal buffer
and call strim on it.

Change-Id: I7d23ce6fcd0b5e6b832ecbb10e0f07d27000f905
Signed-off-by: default avatarPavankumar Kondeti <pkondeti@codeaurora.org>
parent eae2572b
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