commit | fa8b71e734272a89ef43f78ad95769ef10f530d1 | [log] [tgz] |
---|---|---|
author | Yaniv Gardi <ygardi@codeaurora.org> | Tue Sep 06 14:00:55 2011 +0300 |
committer | Bryan Huntsman <bryanh@codeaurora.org> | Mon Oct 03 16:18:17 2011 -0700 |
tree | 33dc79e578d4aa7ebe9e829919592bb7f67e7ec5 | |
parent | 8cd05ebb98e9db8cae5de090b0d0209b5f8123cf [diff] |
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: Yaniv Gardi <ygardi@codeaurora.org>