mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-09-21 03:43:03 +00:00
mmc: Fixing few warning messages.
CRs-Fixed: 313388 Change-Id: Ibf8ec6bc9eb7adff9bb6ac6af2a2f1af33a76bb8 Signed-off-by: Pratibhasagar V <pratibha@codeaurora.org>
This commit is contained in:
parent
df107d8f28
commit
deadb09a14
|
@ -55,7 +55,7 @@ static int cistpl_vers_1(struct mmc_card *card, struct sdio_func *func,
|
|||
|
||||
for (i = 0; i < nr_strings; i++) {
|
||||
buffer[i] = string;
|
||||
strcpy(string, buf);
|
||||
strlcpy(string, buf, sizeof(string));
|
||||
string += strlen(string) + 1;
|
||||
buf += strlen(buf) + 1;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue