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


Groups > linux.kernel > #1743256

Re: [PATCH] libata: make ata_port_type const

From Tejun Heo <tj@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH] libata: make ata_port_type const
Date 2017-10-02 22:50 +0200
Message-ID <uwfP9-ur-105@gated-at.bofh.it> (permalink)
References <uvt7H-6EC-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sat, Sep 30, 2017 at 10:10:40PM +0530, Bhumika Goyal wrote:
> Make this const as it is only stored in the const field of a device
> structure. Make the declaration in header const too.
> 
> Structure found using Coccinelle and changes done by hand.
> 
> Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>

Applied to libata/for-4.15.

Thanks.

-- 
tejun

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


Thread

[PATCH] libata: make ata_port_type const Bhumika Goyal <bhumirks@gmail.com> - 2017-09-30 18:50 +0200
  Re: [PATCH] libata: make ata_port_type const Tejun Heo <tj@kernel.org> - 2017-10-02 22:50 +0200

csiph-web