Loading
RDMA/efa: Remove possible negative shift
The page size used for device might in some cases be smaller than PAGE_SIZE what results in a negative shift when calculating the number of host pages in PAGE_SIZE for a debug log. Remove the debug line together with the calculation. Fixes: 40909f66 ("RDMA/efa: Add EFA verbs implementation") Link: https://patch.msgid.link/r/20251210173656.8180-1-mrgolin@amazon.com Reviewed-by:Tom Sela <tomsela@amazon.com> Reviewed-by:
Yonatan Nachum <ynachum@amazon.com> Signed-off-by:
Michael Margolin <mrgolin@amazon.com> Reviewed-by:
Gal Pressman <gal.pressman@linux.dev> Signed-off-by:
Jason Gunthorpe <jgg@nvidia.com>