On 2/16/23 10:12 AM, Jason Gunthorpe wrote: > On Wed, Jan 25, 2023 at 03:01:38PM -0500, Dennis Dalessandro wrote: >> From: Patrick Kelsey <pat.kelsey@xxxxxxxxxxxxxxxxxxxx> >> >> Fix arithmetic and logic errors in hfi1_can_pin_pages() that would allow >> hfi1 to attempt pinning pages in cases where it should not because of >> resource limits or lack of required capability. >> >> Signed-off-by: Brendan Cunningham <bcunningham@xxxxxxxxxxxxxxxxxxxx> >> Signed-off-by: Patrick Kelsey <pat.kelsey@xxxxxxxxxxxxxxxxxxxx> >> Signed-off-by: Dennis Dalessandro <dennis.dalessandro@xxxxxxxxxxxxxxxxxxxx> >> --- >> drivers/infiniband/hw/hfi1/user_pages.c | 61 ++++++++++++++++++++----------- >> 1 file changed, 40 insertions(+), 21 deletions(-) > > I was going to take these first two patches, but where are the fixes > lines for things that are clearly bug fixes? Let me resubmit the entire series. I think the patches cleared 0-day builds already. -Denny