Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 330185
b: refs/heads/master
c: 6583303
h: refs/heads/master
i:
  330183: 2d9ff01
v: v3
  • Loading branch information
Ed Cashin authored and Linus Torvalds committed Oct 5, 2012
1 parent d6ad101 commit a7c766b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 25f4d75ea45cdcc59158bfd1ae162a6ff2071124
refs/heads/master: 6583303c5e324a918ee1d57201acd9869f3be6da
7 changes: 7 additions & 0 deletions trunk/drivers/block/aoe/aoecmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -1359,6 +1359,13 @@ aoecmd_cfg_rsp(struct sk_buff *skb)
"Check shelf dip switches.\n");
return;
}
if (h->minor >= NPERSHELF) {
pr_err("aoe: e%ld.%d %s, %d\n",
aoemajor, h->minor,
"slot number larger than the maximum",
NPERSHELF-1);
return;
}

sysminor = SYSMINOR(aoemajor, h->minor);
if (sysminor * AOE_PARTITIONS + AOE_PARTITIONS > MINORMASK) {
Expand Down

0 comments on commit a7c766b

Please sign in to comment.