2002-07-01 22:50:20

by Nathan Scott

[permalink] [raw]
Subject: [PATCH] fix kdev_val typo

hi Marcelo,

There's a missing brace in the kdev_val() 2.5 compatibility macro
which someone has added into 2.4.19-rc1, making the macro useless.
Here's the trivial fix, in case noone else has sent it along yet.

cheers.

--
Nathan


diff -Naur 2.4.19-rc1-pristine/include/linux/kdev_t.h 2.4.19-rc1-kdevt/include/linux/kdev_t.h
--- 2.4.19-rc1-pristine/include/linux/kdev_t.h Tue Jun 25 10:12:04 2002
+++ 2.4.19-rc1-kdevt/include/linux/kdev_t.h Tue Jul 2 08:40:28 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))

/*


2002-07-05 14:07:09

by Marcelo Tosatti

[permalink] [raw]
Subject: Re: [PATCH] fix kdev_val typo


Its already in.

Thanks anyway.

On Tue, 2 Jul 2002, Nathan Scott wrote:

> hi Marcelo,
>
> There's a missing brace in the kdev_val() 2.5 compatibility macro
> which someone has added into 2.4.19-rc1, making the macro useless.
> Here's the trivial fix, in case noone else has sent it along yet.