Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 59317
b: refs/heads/master
c: bacf401
h: refs/heads/master
i:
  59315: 5e3cbfe
v: v3
  • Loading branch information
Mark Debbage authored and Roland Dreier committed Jul 10, 2007
1 parent c00fb14 commit 8dd2128
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: 0df6291c8af2778d05f278d5738eef2c8fafa2dd
refs/heads/master: bacf4013530e7fc230a8aa0c6ea3c17fc2f47665
4 changes: 2 additions & 2 deletions trunk/drivers/infiniband/hw/ipath/ipath_file_ops.c
Original file line number Diff line number Diff line change
Expand Up @@ -1444,10 +1444,10 @@ static int init_subports(struct ipath_devdata *dd,
size_t size;

/*
* If the user is requesting zero or one port,
* If the user is requesting zero subports,
* skip the subport allocation.
*/
if (uinfo->spu_subport_cnt <= 1)
if (uinfo->spu_subport_cnt <= 0)
goto bail;

/* Self-consistency check for ipath_compatible_subports() */
Expand Down

0 comments on commit 8dd2128

Please sign in to comment.