public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: Jeff Layton <jlayton@redhat•com>
To: Bhumika Goyal <bhumirks@gmail•com>,
	julia.lawall@lip6•fr, marcel@holtmann•org, gustavo@padovan•org,
	johan.hedberg@gmail•com, davem@davemloft•net,
	pablo@netfilter•org, kadlec@blackhole•kfki.hu, fw@strlen•de,
	stephen@networkplumber•org, alex.aring@gmail•com,
	stefan@osg•samsung.com, kuznet@ms2•inr.ac.ru,
	yoshfuji@linux-ipv6•org, santosh.shilimkar@oracle•com,
	trond.myklebust@primarydata•com, anna.schumaker@netapp•com,
	bfields@fieldses•org, linux-bluetooth@vger•kernel.org,
	netdev@vger•kernel.org, linux-kernel@vger•kernel.org,
	netfilter-devel@vger•kernel.org, coreteam@netfilter•org,
	bridge@lists•linux-foundation.org, linux-wpan@vger•kernel.org,
	linux-rdma@vger•kernel.org, rds-devel@oss•oracle.com,
	linux-nfs@vger•kernel.org
Subject: Re: [PATCH 7/7] SUNRPC: make kvec const
Date: Fri, 25 Aug 2017 10:48:56 -0400	[thread overview]
Message-ID: <1503672536.4722.20.camel@redhat.com> (raw)
In-Reply-To: <1503670907-23221-8-git-send-email-bhumirks@gmail.com>

On Fri, 2017-08-25 at 19:51 +0530, Bhumika Goyal wrote:
> Make this const as it is only used during a copy operation.
> 
> Signed-off-by: Bhumika Goyal <bhumirks@gmail•com>
> ---
>  net/sunrpc/xdr.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/net/sunrpc/xdr.c b/net/sunrpc/xdr.c
> index e34f4ee..a096025 100644
> --- a/net/sunrpc/xdr.c
> +++ b/net/sunrpc/xdr.c
> @@ -998,7 +998,7 @@ void xdr_enter_page(struct xdr_stream *xdr, unsigned int len)
>  }
>  EXPORT_SYMBOL_GPL(xdr_enter_page);
>  
> -static struct kvec empty_iov = {.iov_base = NULL, .iov_len = 0};
> +static const struct kvec empty_iov = {.iov_base = NULL, .iov_len = 0};
>  
>  void
>  xdr_buf_from_iov(struct kvec *iov, struct xdr_buf *buf)

Reviewed-by: Jeff Layton <jlayton@redhat•com>

      reply	other threads:[~2017-08-25 14:48 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-25 14:21 [PATCH 0/7] net: make some structures const Bhumika Goyal
2017-08-25 14:21 ` [PATCH 1/7] Bluetooth: 6lowpan: make header_ops const Bhumika Goyal
2017-08-25 14:21 ` [PATCH 2/7] bridge: make ebt_table const Bhumika Goyal
2017-08-28 18:30   ` David Miller
2017-08-25 14:21 ` [PATCH 3/7] ieee802154: 6lowpan: make header_ops const Bhumika Goyal
2017-08-25 14:36   ` Stefan Schmidt
2017-08-25 16:17   ` Marcel Holtmann
2017-08-25 14:21 ` [PATCH 4/7] ipv4: make net_protocol const Bhumika Goyal
2017-08-28 18:30   ` David Miller
2017-08-25 14:21 ` [PATCH 5/7] RDS: make rhashtable_params const Bhumika Goyal
     [not found]   ` <1503670907-23221-6-git-send-email-bhumirks-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-08-25 15:31     ` Santosh Shilimkar
2017-08-28 18:30   ` David Miller
2017-08-25 14:21 ` [PATCH 6/7] netfilter: nat: " Bhumika Goyal
2017-08-25 14:50   ` Florian Westphal
     [not found] ` <1503670907-23221-1-git-send-email-bhumirks-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-08-25 14:21   ` [PATCH 7/7] SUNRPC: make kvec const Bhumika Goyal
2017-08-25 14:48     ` Jeff Layton [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=1503672536.4722.20.camel@redhat.com \
    --to=jlayton@redhat$(echo .)com \
    --cc=alex.aring@gmail$(echo .)com \
    --cc=anna.schumaker@netapp$(echo .)com \
    --cc=bfields@fieldses$(echo .)org \
    --cc=bhumirks@gmail$(echo .)com \
    --cc=bridge@lists$(echo .)linux-foundation.org \
    --cc=coreteam@netfilter$(echo .)org \
    --cc=davem@davemloft$(echo .)net \
    --cc=fw@strlen$(echo .)de \
    --cc=gustavo@padovan$(echo .)org \
    --cc=johan.hedberg@gmail$(echo .)com \
    --cc=julia.lawall@lip6$(echo .)fr \
    --cc=kadlec@blackhole$(echo .)kfki.hu \
    --cc=kuznet@ms2$(echo .)inr.ac.ru \
    --cc=linux-bluetooth@vger$(echo .)kernel.org \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=linux-nfs@vger$(echo .)kernel.org \
    --cc=linux-rdma@vger$(echo .)kernel.org \
    --cc=linux-wpan@vger$(echo .)kernel.org \
    --cc=marcel@holtmann$(echo .)org \
    --cc=netdev@vger$(echo .)kernel.org \
    --cc=netfilter-devel@vger$(echo .)kernel.org \
    --cc=pablo@netfilter$(echo .)org \
    --cc=rds-devel@oss$(echo .)oracle.com \
    --cc=santosh.shilimkar@oracle$(echo .)com \
    --cc=stefan@osg$(echo .)samsung.com \
    --cc=stephen@networkplumber$(echo .)org \
    --cc=trond.myklebust@primarydata$(echo .)com \
    --cc=yoshfuji@linux-ipv6$(echo .)org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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