Commit e02a51aa authored by Pavankumar Kondeti's avatar Pavankumar Kondeti
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 626583b0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment