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


Groups > linux.kernel > #1715570

[PATCH 0/5] constify net eisa_device_id

From Arvind Yadav <arvind.yadav.cs@gmail.com>
Newsgroups linux.kernel
Subject [PATCH 0/5] constify net eisa_device_id
Date 2017-08-19 09:00 +0200
Message-ID <ug5TI-6lW-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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.

Arvind Yadav (5):
  [PATCH 1/5] net: 3c509: constify eisa_device_id
  [PATCH 2/5] net: 3c59x: constify eisa_device_id
  [PATCH 3/5] net: de4x5: constify eisa_device_id
  [PATCH 4/5] net: hp100: constify eisa_device_id
  [PATCH 5/5] net: defxx: constify eisa_device_id

 drivers/net/ethernet/3com/3c509.c      | 2 +-
 drivers/net/ethernet/3com/3c59x.c      | 2 +-
 drivers/net/ethernet/dec/tulip/de4x5.c | 2 +-
 drivers/net/ethernet/hp/hp100.c        | 2 +-
 drivers/net/fddi/defxx.c               | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

-- 
2.7.4

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


Thread

[PATCH 0/5] constify net eisa_device_id Arvind Yadav <arvind.yadav.cs@gmail.com> - 2017-08-19 09:00 +0200
  [PATCH 1/5] net: 3c509: constify eisa_device_id Arvind Yadav <arvind.yadav.cs@gmail.com> - 2017-08-19 09:00 +0200
  Re: [PATCH 0/5] constify net eisa_device_id David Miller <davem@davemloft.net> - 2017-08-20 02:20 +0200

csiph-web