projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a24b163
)
[PATCH] s390: minor fix in cu3088
author
Cornelia Huck
<cornelia.huck@de.ibm.com>
Wed, 24 May 2006 07:51:05 +0000
(09:51 +0200)
committer
Jeff Garzik
<jeff@garzik.org>
Sat, 27 May 2006 01:56:40 +0000
(21:56 -0400)
In case of a parse error for the cu3088 group attribute,
return -EINVAL instead of count.
Signed-off-by: Frank Pavlic <fpavlic@de.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/s390/net/cu3088.c
patch
|
blob
|
history
diff --git
a/drivers/s390/net/cu3088.c
b/drivers/s390/net/cu3088.c
index b12533104c1ff5b38242791d22d0e94c0f0293de..e1b8c9a9634fd6de4000bfa777e5f096f5a6fa2f 100644
(file)
--- a/
drivers/s390/net/cu3088.c
+++ b/
drivers/s390/net/cu3088.c
@@
-77,7
+77,7
@@
group_write(struct device_driver *drv, const char *buf, size_t count)
int len;
if (!(end = strchr(start, delim[i])))
- return
count
;
+ return
-EINVAL
;
len = min_t(ptrdiff_t, BUS_ID_SIZE, end - start + 1);
strlcpy (bus_ids[i], start, len);
argv[i] = bus_ids[i];