Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 324761
b: refs/heads/master
c: 7ee34ab
h: refs/heads/master
i:
  324759: ec02a4e
v: v3
  • Loading branch information
Devendra Naga authored and Greg Kroah-Hartman committed Sep 4, 2012
1 parent 3e256ea commit e2117df
Show file tree
Hide file tree
Showing 2 changed files with 7 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: 651d4bc7ed85356efa16465073f13a24f040369e
refs/heads/master: 7ee34ab2b37a2a8191bb1b33eebd3ed8cfae0ce6
8 changes: 6 additions & 2 deletions trunk/drivers/staging/slicoss/slicoss.c
Original file line number Diff line number Diff line change
Expand Up @@ -528,12 +528,16 @@ static int slic_card_download_gbrcv(struct adapter *adapter)
index += 4;
switch (adapter->devid) {
case SLIC_2GB_DEVICE_ID:
if (rcvucodelen != OasisRcvUCodeLen)
if (rcvucodelen != OasisRcvUCodeLen) {
release_firmware(fw);
return -EINVAL;
}
break;
case SLIC_1GB_DEVICE_ID:
if (rcvucodelen != GBRcvUCodeLen)
if (rcvucodelen != GBRcvUCodeLen) {
release_firmware(fw);
return -EINVAL;
}
break;
default:
ASSERT(0);
Expand Down

0 comments on commit e2117df

Please sign in to comment.