Messages in this thread | | | Date | Mon, 21 Nov 2016 16:13:02 -0500 (EST) | Subject | Re: [PATCH] net: ieee802154: constify ieee802154_ops structures | From | David Miller <> |
| |
From: Bhumika Goyal <bhumirks@gmail.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@gmail.com>
Applied.
| |