[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20161121.161302.699676538738993647.davem@davemloft.net>
Date: Mon, 21 Nov 2016 16:13:02 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: bhumirks@...il.com
Cc: julia.lawall@...6.fr, michael.hennerich@...log.com,
aar@...gutronix.de, stefan@....samsung.com,
linux-wpan@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: ieee802154: constify ieee802154_ops structures
From: Bhumika Goyal <bhumirks@...il.com>
Date: Tue, 22 Nov 2016 02:00:14 +0530
> Declare the structure ieee802154_ops as const as it is only passed as an
> argument to the function ieee802154_alloc_hw. This argument is of type
> const struct ieee802154_ops *, so ieee80254_ops structures having this
> property can be declared as const.
> Done using Coccinelle:
...
> Signed-off-by: Bhumika Goyal <bhumirks@...il.com>
Applied.
Powered by blists - more mailing lists