From 58b6794c111d8a8984d50bae10f720561c5c07f7 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Fri, 13 Nov 2009 19:02:04 +0000 Subject: [infiniband] Rename IB_PKEY_NONE to IB_PKEY_DEFAULT There is no such thing as a non-existent partition. --- src/net/infiniband/ib_srp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/net/infiniband') 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; -- cgit v1.2.3-55-g7522