Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 69e9fbb4 authored by Roland Dreier's avatar Roland Dreier
Browse files

IB/mthca: Clean up mthca array index mask



Define a constant MTHCA_ARRAY_MASK to replace repeated uses of
(PAGE_SIZE / sizeof (void *) - 1) in mthca array code.

Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
parent bf74c747
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment