Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 333053
b: refs/heads/master
c: 232ebe3
h: refs/heads/master
i:
  333051: 64b713f
v: v3
  • Loading branch information
Dan Carpenter authored and Nicholas Bellinger committed Oct 2, 2012
1 parent 8c5d552 commit dfd86e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 8ecf595bc2bb468f567eaa4ea5ffbf5d2c871b94
refs/heads/master: 232ebe34e1a7827c9ddd4f31e95e21ba498ae52c
2 changes: 1 addition & 1 deletion trunk/drivers/usb/gadget/tcm_usb_gadget.c
Original file line number Diff line number Diff line change
Expand Up @@ -1815,7 +1815,7 @@ static ssize_t tcm_usbg_tpg_store_nexus(
ret = tcm_usbg_drop_nexus(tpg);
return (!ret) ? count : ret;
}
if (strlen(page) > USBG_NAMELEN) {
if (strlen(page) >= USBG_NAMELEN) {
pr_err("Emulated NAA Sas Address: %s, exceeds"
" max: %d\n", page, USBG_NAMELEN);
return -EINVAL;
Expand Down

0 comments on commit dfd86e8

Please sign in to comment.