Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 15 Jul 2011 02:58:35 -0400
From: Jeff Garzik <jgarzik@...ox.com>
To: Vasiliy Kulikov <segoon@...nwall.com>
CC: Len Brown <lenb@...nel.org>, kernel-hardening@...ts.openwall.com, 
 Shaohua Li <shaohua.li@...el.com>,
 Zhang Rui <rui.zhang@...el.com>, Jesse Barnes <jbarnes@...tuousgeek.org>, 
 linux-acpi@...r.kernel.org, linux-kernel@...r.kernel.org, 
 linux-ide@...r.kernel.org, linux-pci@...r.kernel.org
Subject: Re: [PATCH] acpi: constify ops structs

On 07/15/2011 02:35 AM, Vasiliy Kulikov wrote:
> Hi Len,
>
> On Sat, Jun 25, 2011 at 21:07 +0400, Vasiliy Kulikov wrote:
>> Structs battery_file, acpi_dock_ops, file_operations,
>> thermal_cooling_device_ops, thermal_zone_device_ops, kernel_param_ops
>> are not changed in runtime.  It is safe to make them const.
>> register_hotplug_dock_device() was altered to take const "ops" argument
>> to respect acpi_dock_ops' const notion.
>>
>> Signed-off-by: Vasiliy Kulikov<segoon@...nwall.com>

Acked-by: Jeff Garzik <jgarzik@...hat.com>


Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.