Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1501378

Re: [PATCH] ipvlan: constify l3mdev_ops structure

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH] ipvlan: constify l3mdev_ops structure
Date 2016-10-16 00:00 +0200
Message-ID <ssF9L-50n-3@gated-at.bofh.it> (permalink)
References <sszxn-19p-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Julia Lawall <Julia.Lawall@lip6.fr>
Date: Sat, 15 Oct 2016 17:40:30 +0200

> This l3mdev_ops structure is only stored in the l3mdev_ops field of a
> net_device structure.  This field is declared const, so the l3mdev_ops
> structure can be declared as const also.  Additionally drop the
> __read_mostly annotation.
> 
> The semantic patch that adds const is as follows:
> (http://coccinelle.lip6.fr/)
 ...
> Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>

Applied, thanks.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] ipvlan: constify l3mdev_ops structure Julia Lawall <Julia.Lawall@lip6.fr> - 2016-10-15 18:00 +0200
  Re: [PATCH] ipvlan: constify l3mdev_ops structure David Miller <davem@davemloft.net> - 2016-10-16 00:00 +0200

csiph-web