[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20161015.175036.584156456725838147.davem@davemloft.net>
Date: Sat, 15 Oct 2016 17:50:36 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: Julia.Lawall@...6.fr
Cc: netdev@...r.kernel.org, kernel-janitors@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ipvlan: constify l3mdev_ops structure
From: Julia Lawall <Julia.Lawall@...6.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@...6.fr>
Applied, thanks.
Powered by blists - more mailing lists