Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1702900
| From | Kalle Valo <kvalo@codeaurora.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [10/11] net: qtnfmac: constify pci_device_id. |
| Date | 2017-08-03 12:20 +0200 |
| Message-ID | <ualot-6Yh-7@gated-at.bofh.it> (permalink) |
| References | <u4iMH-8w3-41@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Arvind Yadav <arvind.yadav.cs@gmail.com> wrote: > pci_device_id are not supposed to change at runtime. All functions > working with pci_device_id provided by <linux/pci.h> work with > const pci_device_id. So mark the non-const structs as const. > > Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com> > Reviewed-by: Sergey Matyukevich <sergey.matyukevich.os@quantenna.com> Patch applied to wireless-drivers-next.git, thanks. cc5becd38e87 net: qtnfmac: constify pci_device_id. -- https://patchwork.kernel.org/patch/9845911/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [10/11] net: qtnfmac: constify pci_device_id. Kalle Valo <kvalo@codeaurora.org> - 2017-08-03 12:20 +0200
csiph-web