All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jason Gunthorpe <jgg@ziepe.ca>
To: Bart Van Assche <bart.vanassche@wdc.com>
Cc: Doug Ledford <dledford@redhat.com>,
	"linux-rdma@vger.kernel.org" <linux-rdma@vger.kernel.org>,
	Steve Wise <swise@opengridcomputing.com>,
	Christoph Hellwig <hch@infradead.org>,
	"stable@vger.kernel.org" <stable@vger.kernel.org>
Subject: Re: [PATCH] IB/srpt: Support HCAs with more than two ports
Date: Fri, 29 Jun 2018 11:20:25 -0600	[thread overview]
Message-ID: <20180629172025.GF379@ziepe.ca> (raw)
In-Reply-To: <82918f75-5624-acf5-9495-1fd76c4318d6@wdc.com>

On Fri, Jun 29, 2018 at 09:32:42AM -0700, Bart Van Assche wrote:
> On 06/29/18 09:21, Jason Gunthorpe wrote:
> >On Tue, Jun 26, 2018 at 03:24:48PM -0700, Bart Van Assche wrote:
> >>Since there are adapters that have four ports, increase the size of
> >>the srpt_device.port[] array. This patch avoids that the following
> >>warning is hit with quad port Chelsio adapters:
> >>
> >>     WARN_ON(sdev->device->phys_port_cnt > ARRAY_SIZE(sdev->port));
> >>
> >>Reported-by: Steve Wise <swise@opengridcomputing.com>
> >>Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
> >>Cc: Steve Wise <swise@opengridcomputing.com>
> >>Cc: Christoph Hellwig <hch@infradead.org>
> >>Cc: <stable@vger.kernel.org>
> >>  drivers/infiniband/ulp/srpt/ib_srpt.c | 6 +++---
> >>  drivers/infiniband/ulp/srpt/ib_srpt.h | 2 +-
> >>  2 files changed, 4 insertions(+), 4 deletions(-)
> >
> >Can we write it this way instead? More typesafe.
> 
> Hello Jason,
> 
> The patch you posted looks fine to me. Do you want me to add your
> Signed-off-by after I have retested this patch when I repost it?

If you can retest it today just send me a note and I'll use it as
posted, otherwise yes please.

Jason

  reply	other threads:[~2018-06-29 17:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-26 22:24 [PATCH] IB/srpt: Support HCAs with more than two ports Bart Van Assche
2018-06-26 23:10 ` Steve Wise
2018-06-26 23:10   ` Steve Wise
2018-06-29 16:20 ` Jason Gunthorpe
2018-06-29 16:32   ` Bart Van Assche
2018-06-29 17:20     ` Jason Gunthorpe [this message]
2018-06-29 20:16       ` Bart Van Assche

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180629172025.GF379@ziepe.ca \
    --to=jgg@ziepe.ca \
    --cc=bart.vanassche@wdc.com \
    --cc=dledford@redhat.com \
    --cc=hch@infradead.org \
    --cc=linux-rdma@vger.kernel.org \
    --cc=stable@vger.kernel.org \
    --cc=swise@opengridcomputing.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.