Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1548955
| From | Vinod Koul <vinod.koul@intel.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] drivers: misc: mic: constify mbus_hw_ops structures |
| Date | 2017-01-02 06:20 +0100 |
| Message-ID | <sV3cl-1WS-7@gated-at.bofh.it> (permalink) |
| References | <sQqsW-4MR-31@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Tue, Dec 20, 2016 at 04:26:17PM +0530, Bhumika Goyal wrote: > The fields of structure mbus_hw_ops are never modified after > initialization, so declare these structures as const. Add a const > annotation to all its initializations and uses like function arguments > and pointers. > Used Coccinelle to find all the occurences. Can you please split these per driver so that they can be merged thru their own subsystems. -- ~Vinod
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] drivers: misc: mic: constify mbus_hw_ops structures Bhumika Goyal <bhumirks@gmail.com> - 2016-12-20 12:10 +0100 Re: [PATCH] drivers: misc: mic: constify mbus_hw_ops structures Vinod Koul <vinod.koul@intel.com> - 2017-01-02 06:20 +0100
csiph-web