Re: [PATCH for-next v2 1/3] IB/hfi1: Fix math bugs in hfi1_can_pin_pages()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?

Jason



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux