From: Julia Lawall
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.
>
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://coccinell