lkml.org 
[lkml]   [2009]   [Dec]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/1] Constify struct kset_uevent_ops for 2.6.33-rc2
Greg KH wrote:
> On Tue, Dec 29, 2009 at 09:58:11PM +0100, Emese Revfy wrote:
>>>> I double checked both the declaration and definitions of the affected
>>>> function/structure and they are consistently const here.
>>>> Can you tell me what patch/tree combination you encountered this
>>>> warning with?
>>> 2.6.33-rc2 with your patch.
>> Here is the updated patch for 2.6.33-rc2 in one piece.
>> Emese
>>
>>
>> From: Emese Revfy <re.emese@gmail.com>
>>
>> Constify struct kset_uevent_ops.
>
> Why is this needed? What does it accomplish?

This is my contribution to the ops structure constification effort
that some developers started a few years ago (Arjan, Al Viro, etc.)
and that has been worked on somewhat sporadically ever since. For a
summary of why this is useful please see Arjan's email:
http://lkml.org/lkml/2009/12/14/216
--
Emese




\
 
 \ /
  Last update: 2009-12-31 01:17    [from the cache]
©2003-2011 Jasper Spaans. Advertise on this site