Re: [PATCH] IB/rdmavt: Correct qp_priv_alloc() return value test

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

 



On 06/22/2016 04:29 PM, Dennis Dalessandro wrote:
> From: Mike Marciniszyn <mike.marciniszyn@xxxxxxxxx>
> 
> The current drivers return errors from this calldown
> wrapped in an ERR_PTR().
> 
> The rdmavt code incorrectly tests for NULL.
> 
> The code is fixed to use IS_ERR() and change ret according
> to the driver return value.
> 
> Cc: Stable <stable@xxxxxxxxxxxxxxx> # 4.6+
> Reviewed-by: Dennis Dalessandro <dennis.dalessandro@xxxxxxxxx>
> Signed-off-by: Mike Marciniszyn <mike.marciniszyn@xxxxxxxxx>
> Signed-off-by: Dennis Dalessandro <dennis.dalessandro@xxxxxxxxx>

Thanks, applied.


-- 
Doug Ledford <dledford@xxxxxxxxxx>
              GPG KeyID: 0E572FDD


Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]