Re: [PATCH] ipvlan: constify l3mdev_ops structure

From: David Miller
Date: Sat Oct 15 2016 - 17:52:26 EST


From: Julia Lawall <Julia.Lawall@xxxxxxx>
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@xxxxxxx>

Applied, thanks.