Skip to contentSkip to conversation

s390: minor fix in cu3088

PATCH In review Frank Pavlic 2 participants 2 messages May 24, 2006 – May 27, 2006

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/5 s390: minor fix in cu3088

Hi Jeff,
please apply following 5 patches.

Thanks ...

Frank

From: Cornelia Huck <[email protected]>

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

---

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

99e5e7d1a3245f4416290a336bc9fc8107d05d5e

drivers/s390/net/cu3088.c +1 -1
index b125331..e1b8c9a 100644
@@ -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];
Signature · 1 line
1.2.4