[PATCH] fix kdev_val typo

From: Nathan Scott (nathans@sgi.com)
Date: Mon Jul 01 2002 - 17:51:36 EST


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)) /* - 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/



This archive was generated by hypermail 2b29 : Sun Jul 07 2002 - 22:00:08 EST