fix kdev_val typo
PATCH 1/1 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.
Signature · 15 lines
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)) /*
Its already in.
Thanks anyway.
Quoted 5 lines · Nathan Scott
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.