[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAOH+1jEQy3PrExruDLWetVd=iWYX3sf13Ku5G5CUUbJGADsNvw@mail.gmail.com>
Date: Mon, 7 Aug 2017 20:54:21 +0530
From: Bhumika Goyal <bhumirks@...il.com>
To: Tejun Heo <tj@...nel.org>
Cc: Julia Lawall <julia.lawall@...6.fr>, b.zolnierkie@...sung.com,
linux-ide@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ata: make ata_port_operations const
On Mon, Aug 7, 2017 at 8:37 PM, Tejun Heo <tj@...nel.org> wrote:
> Hello,
>
> On Mon, Aug 07, 2017 at 04:02:02PM +0530, Bhumika Goyal wrote:
>> Make ata_port_operations structures const as it is only stored in the
>> inherits field of an ata_port_operations structure. Therefore make it
>> const.
>>
>> Signed-off-by: Bhumika Goyal <bhumirks@...il.com>
>
> How did you test the patch?
>
I compiled the .o files and checked the size before and after
compilation. After making the structure const, bytes should move from
data to text segment of the memory and this is what happened. So, this
is how I tested it.
Thanks,
Bhumika
> Thanks.
>
> --
> tejun
Powered by blists - more mailing lists