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


Groups > linux.kernel > #1719100

[PATCH 0/3] constify ata_port_info

From Arvind Yadav <arvind.yadav.cs@gmail.com>
Newsgroups linux.kernel
Subject [PATCH 0/3] constify ata_port_info
Date 2017-08-24 12:00 +0200
Message-ID <uhX5D-4KB-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


ata_port_info are not supposed to change at runtime. All functions
working with ata_port_info provided by <linux/libata.h> work with
const ata_port_info. So mark the non-const structs as const.

Arvind Yadav (3):
  [PATCH 1/3] ata: ftide010: constify ata_port_info
  [PATCH 2/3] ata: pdc2027x: constify ata_port_info
  [PATCH 3/3] ata: constify ata_port_info

 drivers/ata/pata_ftide010.c | 2 +-
 drivers/ata/pata_pdc2027x.c | 2 +-
 drivers/ata/pdc_adma.c      | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

-- 
1.9.1

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


Thread

[PATCH 0/3] constify ata_port_info Arvind Yadav <arvind.yadav.cs@gmail.com> - 2017-08-24 12:00 +0200
  Re: [PATCH 0/3] constify ata_port_info Tejun Heo <tj@kernel.org> - 2017-08-24 16:30 +0200
    Re: [PATCH 0/3] constify ata_port_info Tejun Heo <tj@kernel.org> - 2017-08-24 19:30 +0200

csiph-web