Re: [PATCH] compile fix for 2.5 kdev_t compatibility macros

Andries Brouwer (aebr@win.tue.nl)
Fri, 28 Jun 2002 17:02:13 +0200


On Fri, Jun 28, 2002 at 09:42:42AM -0500, Stephen Lord wrote:
> On Fri, 2002-06-28 at 09:37, Steven Cole wrote:
> > On Fri, 2002-06-28 at 07:50, Stephen Lord wrote:
> > >
> > >
> > > Marcelo,
> > >
> > > We started using these for XFS, and found a missing bracket, patch
> > > against 2.4.19-rc1.

> > --- linux-2.4.19-rc1/include/linux/kdev_t.h.orig Fri Jun 28 08:31:27 2002
> > +++ linux-2.4.19-rc1/include/linux/kdev_t.h Fri Jun 28 08:32:36 2002
> > @@ -81,7 +81,7 @@
> > #define minor(d) MINOR(d)
> > #define kdev_same(a,b) ((a) == (b))
> > #define kdev_none(d) (!(d))
> > -#define kdev_val(d) ((unsigned int)(d)
> > +#define kdev_val(d) ((unsigned int)(d))
> > #define val_to_kdev(d) ((kdev_t(d))
> >
> > /*

But what about the next line?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/