[PATCH 1/5] s390: minor fix in cu3088

Subsystems: networking drivers, s390 architecture, s390 network drivers, the rest

STALE7448d

2 messages, 2 authors, 2006-05-27 · open the first message on its own page

[PATCH 1/5] s390: minor fix in cu3088

From: Frank Pavlic <hidden>
Date: 2006-05-24 07:50:42

Hi Jeff,
please apply following 5 patches. 

Thanks ...

Frank

From: Cornelia Huck <redacted>

In case of a parse error for the cu3088 group attribute,
return -EINVAL instead of count.

Signed-off-by: Frank Pavlic <redacted>
---

 drivers/s390/net/cu3088.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

99e5e7d1a3245f4416290a336bc9fc8107d05d5e
diff --git a/drivers/s390/net/cu3088.c b/drivers/s390/net/cu3088.c
index b125331..e1b8c9a 100644
--- a/drivers/s390/net/cu3088.c
+++ b/drivers/s390/net/cu3088.c
@@ -77,7 +77,7 @@ group_write(struct device_driver *drv, c
 		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];
-- 
1.2.4

Re: [PATCH 1/5] s390: minor fix in cu3088

From: Jeff Garzik <hidden>
Date: 2006-05-27 01:56:59

Frank Pavlic wrote:
Hi Jeff,
please apply following 5 patches.

Thanks ...

Frank

From: Cornelia Huck <redacted>

In case of a parse error for the cu3088 group attribute,
return -EINVAL instead of count.

Signed-off-by: Frank Pavlic <redacted>
applied patches 1-3 of 5

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help