[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdZt5-VojnYtqZ669-CjrUDbDYPU1L9Lit+ZR9Yo19x01w@mail.gmail.com>
Date: Thu, 24 Aug 2017 21:46:12 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Arvind Yadav <arvind.yadav.cs@...il.com>
Cc: Tejun Heo <tj@...nel.org>,
Bartlomiej Zolnierkiewicz <b.zolnierkie@...sung.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
linux-ide@...r.kernel.org
Subject: Re: [PATCH 1/3] ata: ftide010: constify ata_port_info
On Thu, Aug 24, 2017 at 11:49 AM, Arvind Yadav
<arvind.yadav.cs@...il.com> 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.
>
> Signed-off-by: Arvind Yadav <arvind.yadav.cs@...il.com>
Acked-by: Linus Walleij <linus.walleij@...aro.org>
Yours,
Linus Walleij
Powered by blists - more mailing lists