Re: [bug report] RDMA/restrack: Store all special QPs in restrack DB

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

 



On Thu, Nov 26, 2020 at 02:33:47PM +0300, Dan Carpenter wrote:

>    231          if (res->type == RDMA_RESTRACK_QP) {
>    232                  /* Special case to ensure that LQPN points to right QP */
>    233                  struct ib_qp *qp = container_of(res, struct ib_qp, res);
>    234  
>    235                  WARN_ONCE(qp->qp_num >> 24 || qp->port >> 8,
>                                                       ^^^^^^^^^^^^^
> qp->port is a u8 so this is always going to be zero.

I think we should ignore this one. I'm expecting the width of port to
increase..

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