diff options
| author | Michael Brown | 2009-11-13 20:02:04 +0100 |
|---|---|---|
| committer | Michael Brown | 2009-11-16 23:14:36 +0100 |
| commit | 58b6794c111d8a8984d50bae10f720561c5c07f7 (patch) | |
| tree | 1b50001294f8dfa334e28f323bf8721a9317e656 /src/net/infiniband | |
| parent | [infiniband] Report IB link status as IPoIB netdevice status (diff) | |
| download | ipxe-58b6794c111d8a8984d50bae10f720561c5c07f7.tar.gz ipxe-58b6794c111d8a8984d50bae10f720561c5c07f7.tar.xz ipxe-58b6794c111d8a8984d50bae10f720561c5c07f7.zip | |
[infiniband] Rename IB_PKEY_NONE to IB_PKEY_DEFAULT
There is no such thing as a non-existent partition.
Diffstat (limited to 'src/net/infiniband')
| -rw-r--r-- | src/net/infiniband/ib_srp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/infiniband/ib_srp.c b/src/net/infiniband/ib_srp.c index 4191c8699..c156d3aec 100644 --- a/src/net/infiniband/ib_srp.c +++ b/src/net/infiniband/ib_srp.c @@ -218,7 +218,7 @@ static int ib_srp_parse_pkey ( const char *rp_comp, struct ib_srp_root_path *rp ) { int pkey; - if ( ( pkey = ib_srp_parse_integer ( rp_comp, IB_PKEY_NONE ) ) < 0 ) + if ( ( pkey = ib_srp_parse_integer ( rp_comp, IB_PKEY_DEFAULT ) ) < 0 ) return pkey; rp->ib->pkey = pkey; return 0; |
