Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1565304
| From | David Miller <davem@davemloft.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2] net: moxa: constify net_device_ops structures |
| Date | 2017-01-23 22:10 +0100 |
| Message-ID | <t2U2d-36U-3@gated-at.bofh.it> (permalink) |
| References | <t1XOy-Pv-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
From: Bhumika Goyal <bhumirks@gmail.com> Date: Sat, 21 Jan 2017 12:27:26 +0530 > Declare net_device_ops structure as const as it is only stored in > the netdev_ops field of a net_device structure. This field is of type > const, so net_device_ops structures having same properties can be made > const too. > Done using Coccinelle: ... > Signed-off-by: Bhumika Goyal <bhumirks@gmail.com> Applied.
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH v2] net: moxa: constify net_device_ops structures Bhumika Goyal <bhumirks@gmail.com> - 2017-01-21 08:00 +0100 Re: [PATCH v2] net: moxa: constify net_device_ops structures David Miller <davem@davemloft.net> - 2017-01-23 22:10 +0100
csiph-web