Re: [PATCH 0/3] constify ata_port_info
From: Tejun Heo <tj@kernel.org>
Date: 2017-08-24 14:23:54
Also in:
lkml
From: Tejun Heo <tj@kernel.org>
Date: 2017-08-24 14:23:54
Also in:
lkml
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. Thanks. -- tejun