lkml.org 
[lkml]   [2011]   [Aug]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: fix rcu annotations noise in cred.h
    On Mon, Aug 08, 2011 at 09:18:29AM +0100, David Howells wrote:
    >
    > Al Viro <viro@ZenIV.linux.org.uk> wrote:
    >
    > > #define current_cred() \
    > > - (current->cred)
    > > + (*(__force struct cred **)&current->cred)
    >
    > No. You've cast away the const. Please don't do that.

    So let's bring const back, not a problem...


    \
     
     \ /
      Last update: 2011-08-08 10:31    [W:0.027 / U:91.548 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site