Commit fa8b71e7 authored by Yaniv Gardi's avatar Yaniv Gardi Committed by Bryan Huntsman
Browse files

msm: sdio: adding null termination to a string passed to kstrtoint()



write() callback gets a buffer of raw data. In order to convert
it to integer value, this buffer should be treated as null-terminated
string, so null should be added at the end of the buffer.

Signed-off-by: default avatarYaniv Gardi <ygardi@codeaurora.org>
parent 8cd05ebb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment