Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 84287
b: refs/heads/master
c: ddc4939
h: refs/heads/master
i:
  84285: 3002a2c
  84283: c88cb61
  84279: 36ef644
  84271: 7a17952
  84255: 4b172a0
  84223: 961049f
v: v3
  • Loading branch information
Artem Bityutskiy authored and Artem Bityutskiy committed Jan 25, 2008
1 parent b57e79f commit 755c68f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4ccf8cffa963c7b5bdc6d455ea9417084ee49aa8
refs/heads/master: ddc4939161c502452392b353f9e0dd088239e4c1
4 changes: 2 additions & 2 deletions trunk/drivers/mtd/ubi/build.c
Original file line number Diff line number Diff line change
Expand Up @@ -1099,7 +1099,7 @@ static int __init ubi_mtd_param_parse(const char *val, struct kernel_param *kp)
struct mtd_dev_param *p;
char buf[MTD_PARAM_LEN_MAX];
char *pbuf = &buf[0];
char *tokens[3] = {NULL, NULL, NULL};
char *tokens[2] = {NULL, NULL};

if (!val)
return -EINVAL;
Expand Down Expand Up @@ -1129,7 +1129,7 @@ static int __init ubi_mtd_param_parse(const char *val, struct kernel_param *kp)
if (buf[len - 1] == '\n')
buf[len - 1] = '\0';

for (i = 0; i < 3; i++)
for (i = 0; i < 2; i++)
tokens[i] = strsep(&pbuf, ",");

if (pbuf) {
Expand Down

0 comments on commit 755c68f

Please sign in to comment.