Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1674308

Re: [PATCH] sparc: kernel: apc: make of_device_ids const

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH] sparc: kernel: apc: make of_device_ids const
Date 2017-06-25 22:50 +0200
Message-ID <tWmDM-1ls-1@gated-at.bofh.it> (permalink)
References <tVt4B-l3-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Arvind Yadav <arvind.yadav.cs@gmail.com>
Date: Fri, 23 Jun 2017 14:51:35 +0530

> of_device_ids are not supposed to change at runtime. All functions
> working with of_device_ids provided by <linux/of.h> work with const
> of_device_ids. So mark the non-const structs as const.
> 
> Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>

Applied, thank you.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] sparc: kernel: apc: make of_device_ids const Arvind Yadav <arvind.yadav.cs@gmail.com> - 2017-06-23 11:30 +0200
  Re: [PATCH] sparc: kernel: apc: make of_device_ids const David Miller <davem@davemloft.net> - 2017-06-25 22:50 +0200

csiph-web