mirror of
https://github.com/ipxe/ipxe
synced 2025-12-19 11:00:27 +03:00
[infiniband] Rename IB_PKEY_NONE to IB_PKEY_DEFAULT
There is no such thing as a non-existent partition.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user