All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Rémi Denis-Courmont" <remi@remlab.net>
To: Lin Zhang <xiaolou4617@gmail.com>
Cc: davem@davemloft.net, netdev@vger.kernel.org, courmisch@gmail.com
Subject: Re: [PATCH v2 1/2] net: phonet: mark header_ops as const
Date: Sat, 30 Sep 2017 14:49:09 +0300	[thread overview]
Message-ID: <44317731.eALDOE0hdk@philogene> (raw)
In-Reply-To: <1506764376-6549-1-git-send-email-xiaolou4617@gmail.com>

On samedi 30 septembre 2017 17:39:36 EEST Lin Zhang wrote:
> Signed-off-by: Lin Zhang <xiaolou4617@gmail.com>
> ---
>  net/phonet/af_phonet.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/net/phonet/af_phonet.c b/net/phonet/af_phonet.c
> index f925753..b12142e 100644
> --- a/net/phonet/af_phonet.c
> +++ b/net/phonet/af_phonet.c
> @@ -149,7 +149,7 @@ static int pn_header_parse(const struct sk_buff *skb,
> unsigned char *haddr) return 1;
>  }
> 
> -struct header_ops phonet_header_ops = {
> +const struct header_ops phonet_header_ops = {
>  	.create = pn_header_create,
>  	.parse = pn_header_parse,
>  };

Acked-by: Rémi Denis-Courmont <remi@remlab.net>


-- 
Rémi Denis-Courmont

      reply	other threads:[~2017-09-30 11:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-30  9:39 [PATCH v2 1/2] net: phonet: mark header_ops as const Lin Zhang
2017-09-30 11:49 ` Rémi Denis-Courmont [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=44317731.eALDOE0hdk@philogene \
    --to=remi@remlab.net \
    --cc=courmisch@gmail.com \
    --cc=davem@davemloft.net \
    --cc=netdev@vger.kernel.org \
    --cc=xiaolou4617@gmail.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.