Messages in this thread | | | Date | Thu, 31 Dec 2009 01:16:58 +0100 | From | Emese Revfy <> | Subject | Re: [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
| |