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


Groups > linux.kernel > #1715652

Re: [PATCH 5/5] net: defxx: constify eisa_device_id

From "Maciej W. Rozycki" <macro@linux-mips.org>
Newsgroups linux.kernel
Subject Re: [PATCH 5/5] net: defxx: constify eisa_device_id
Date 2017-08-19 14:10 +0200
Message-ID <ugaJI-19w-17@gated-at.bofh.it> (permalink)
References <ug5TI-6lW-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sat, 19 Aug 2017, Arvind Yadav wrote:

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

Reviewed-by: Maciej W. Rozycki <macro@linux-mips.org>

  Maciej

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


Thread

[PATCH 5/5] net: defxx: constify eisa_device_id Arvind Yadav <arvind.yadav.cs@gmail.com> - 2017-08-19 09:00 +0200
  Re: [PATCH 5/5] net: defxx: constify eisa_device_id "Maciej W. Rozycki" <macro@linux-mips.org> - 2017-08-19 14:10 +0200

csiph-web