All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] fix kdev_val typo
@ 2002-07-01 22:51 Nathan Scott
  2002-07-05 13:15 ` Marcelo Tosatti
  0 siblings, 1 reply; 2+ messages in thread
From: Nathan Scott @ 2002-07-01 22:51 UTC (permalink / raw)
  To: Marcelo Tosatti; +Cc: linux-kernel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] fix kdev_val typo
  2002-07-01 22:51 [PATCH] fix kdev_val typo Nathan Scott
@ 2002-07-05 13:15 ` Marcelo Tosatti
  0 siblings, 0 replies; 2+ messages in thread
From: Marcelo Tosatti @ 2002-07-05 13:15 UTC (permalink / raw)
  To: Nathan Scott; +Cc: linux-kernel


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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-07-05 14:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-01 22:51 [PATCH] fix kdev_val typo Nathan Scott
2002-07-05 13:15 ` Marcelo Tosatti

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.