Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1713219
| From | David Miller <davem@davemloft.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] net: 3c509: constify pnp_device_id |
| Date | 2017-08-16 20:30 +0200 |
| Message-ID | <ufbeP-25d-45@gated-at.bofh.it> (permalink) |
| References | <ueYAV-2vJ-3@gated-at.bofh.it> <ueYAW-2vJ-31@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
From: Arvind Yadav <arvind.yadav.cs@gmail.com> Date: Wed, 16 Aug 2017 10:25:59 +0530 > pnp_device_id are not supposed to change at runtime. All functions > working with pnp_device_id provided by <linux/pnp.h> work with > const pnp_device_id. So mark the non-const structs as const. > > Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com> Applied.
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] net: 3c509: constify pnp_device_id Arvind Yadav <arvind.yadav.cs@gmail.com> - 2017-08-16 07:00 +0200 Re: [PATCH] net: 3c509: constify pnp_device_id David Miller <davem@davemloft.net> - 2017-08-16 20:30 +0200
csiph-web