[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160831.204623.356903218954771686.davem@davemloft.net>
Date: Wed, 31 Aug 2016 20:46:23 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: Julia.Lawall@...6.fr
Cc: linux-usb@...r.kernel.org, kernel-janitors@...r.kernel.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 4/5] r8152: constify ethtool_ops structures
From: Julia Lawall <Julia.Lawall@...6.fr>
Date: Thu, 1 Sep 2016 00:21:22 +0200
> Check for ethtool_ops structures that are only stored in the ethtool_ops
> field of a net_device structure or passed as the second argument to
> netdev_set_default_ethtool_ops. These contexts are declared const, so
> ethtool_ops structures that have these properties can be declared as const
> also.
>
> The semantic patch that makes this change is as follows:
> (http://coccinelle.lip6.fr/)
...
> Suggested-by: Stephen Hemminger <stephen@...workplumber.org>
>
> Signed-off-by: Julia Lawall <Julia.Lawall@...6.fr>
Applied.
Powered by blists - more mailing lists