Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 259201
b: refs/heads/master
c: e90ed12
h: refs/heads/master
i:
  259199: d8610c7
v: v3
  • Loading branch information
Dan Carpenter authored and Greg Kroah-Hartman committed Jun 7, 2011
1 parent c94adbc commit 8c5d7f7
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: 325fd182cafe5c5ead51c27afb6b8be83c9081d4
refs/heads/master: e90ed12cc4388d2919823fb31368781baa6dfbe5
4 changes: 2 additions & 2 deletions trunk/drivers/usb/wusbcore/cbaf.c
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ static int cbaf_cdid_get(struct cbaf *cbaf)
if (result < needed) {
dev_err(dev, "Not enough data in DEVICE_INFO reply (%zu vs "
"%zu bytes needed)\n", (size_t)result, needed);
return result;
return -ENOENT;
}

strlcpy(cbaf->device_name, di->DeviceFriendlyName, CBA_NAME_LEN);
Expand Down Expand Up @@ -350,7 +350,7 @@ static ssize_t cbaf_wusb_chid_store(struct device *dev,
return result;
result = cbaf_cdid_get(cbaf);
if (result < 0)
return -result;
return result;
return size;
}
static DEVICE_ATTR(wusb_chid, 0600, cbaf_wusb_chid_show, cbaf_wusb_chid_store);
Expand Down

0 comments on commit 8c5d7f7

Please sign in to comment.