* [PATCH 1/5] s390: minor fix in cu3088
@ 2006-05-24 7:51 Frank Pavlic
2006-05-27 1:56 ` Jeff Garzik
0 siblings, 1 reply; 2+ messages in thread
From: Frank Pavlic @ 2006-05-24 7:51 UTC (permalink / raw)
To: jgarzik; +Cc: netdev
Hi Jeff,
please apply following 5 patches.
Thanks ...
Frank
From: Cornelia Huck <cornelia.huck@de.ibm.com>
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>
---
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 1/5] s390: minor fix in cu3088
2006-05-24 7:51 [PATCH 1/5] s390: minor fix in cu3088 Frank Pavlic
@ 2006-05-27 1:56 ` Jeff Garzik
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2006-05-27 1:56 UTC (permalink / raw)
To: Frank Pavlic; +Cc: netdev
Frank Pavlic wrote:
> Hi Jeff,
> please apply following 5 patches.
>
> Thanks ...
>
> Frank
>
> From: Cornelia Huck <cornelia.huck@de.ibm.com>
>
> 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>
applied patches 1-3 of 5
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-05-27 1:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-24 7:51 [PATCH 1/5] s390: minor fix in cu3088 Frank Pavlic
2006-05-27 1:56 ` Jeff Garzik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).