linux-rdma.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jason Gunthorpe <jgg@nvidia.com>
To: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Cc: Faisal Latif <faisal.latif@intel.com>,
	Shiraz Saleem <shiraz.saleem@intel.com>,
	Doug Ledford <dledford@redhat.com>, <linux-rdma@vger.kernel.org>,
	<linux-kernel@vger.kernel.org>
Subject: Re: [PATCH rdma-next] RDMA/i40iw: Constify ops structs
Date: Mon, 23 Nov 2020 16:30:48 -0400	[thread overview]
Message-ID: <20201123203048.GA85243@nvidia.com> (raw)
In-Reply-To: <20201121002529.89148-1-rikard.falkeborn@gmail.com>

On Sat, Nov 21, 2020 at 01:25:29AM +0100, Rikard Falkeborn wrote:
> The ops structs are never modified. Make them const to allow the
> compiler to put them in read-only memory.
> 
> Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
> ---
>  drivers/infiniband/hw/i40iw/i40iw_ctrl.c | 20 ++++++++++----------
>  drivers/infiniband/hw/i40iw/i40iw_type.h | 20 ++++++++++----------
>  2 files changed, 20 insertions(+), 20 deletions(-)

Applied to for-next thanks

Jason

      reply	other threads:[~2020-11-23 20:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-21  0:25 [PATCH rdma-next] RDMA/i40iw: Constify ops structs Rikard Falkeborn
2020-11-23 20:30 ` Jason Gunthorpe [this message]

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=20201123203048.GA85243@nvidia.com \
    --to=jgg@nvidia.com \
    --cc=dledford@redhat.com \
    --cc=faisal.latif@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rdma@vger.kernel.org \
    --cc=rikard.falkeborn@gmail.com \
    --cc=shiraz.saleem@intel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).