lkml.org 
[lkml]   [2009]   [Jan]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [GIT PULL -tip] fix 41 'make headers_check' warnings
    From
    Date
    On Mon, 2009-01-19 at 09:50 +1100, Stephen Rothwell wrote:
    > Hi Jaswinder,
    >
    > On Sun, 18 Jan 2009 15:40:54 +0530 Jaswinder Singh Rajput <jaswinder@kernel.org> wrote:
    > >
    > > diff --git a/include/linux/raw.h b/include/linux/raw.h
    > > index 62d543e..3898e30 100644
    > > --- a/include/linux/raw.h
    > > +++ b/include/linux/raw.h
    > > @@ -13,6 +13,10 @@ struct raw_config_request
    > > __u64 block_minor;
    > > };
    > >
    > > +#ifdef __KERNEL__
    > > #define MAX_RAW_MINORS CONFIG_MAX_RAW_DEVS
    > > +#else /* __KERNEL__ */
    > > +#define MAX_RAW_MINORS 0
    > > +#endif /* __KERNEL__ */
    > >
    > > #endif /* __LINUX_RAW_H */
    >
    > Since MAX_RAW_MINORS has only one user (drivers/char/raw.c), why not
    > just remove the define from here and add it it there?
    >

    Already fixed in v3 as pointed by Ingo.



    \
     
     \ /
      Last update: 2009-01-19 03:33    [W:4.133 / U:0.080 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site