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


Groups > linux.kernel > #1719456

Re: [PATCH 0/3] constify ata_port_info

From Tejun Heo <tj@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH 0/3] constify ata_port_info
Date 2017-08-24 19:30 +0200
Message-ID <ui478-14g-9@gated-at.bofh.it> (permalink)
References <uhX5D-4KB-5@gated-at.bofh.it> <ui1iW-7Ir-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Aug 24, 2017 at 07:23:46AM -0700, Tejun Heo wrote:
> On Thu, Aug 24, 2017 at 03:19:58PM +0530, Arvind Yadav wrote:
> > 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.
> 
> Applied 1-3 to libata/for-4.14.

Caused build warnings.  Reverted.  Please test before submitting
patches.

Thanks.

-- 
tejun

Back to linux.kernel | Previous | NextPrevious 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