All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] compile fix for 2.5 kdev_t compatibility macros
@ 2002-06-28 13:50 Stephen Lord
  2002-06-28 14:37 ` Steven Cole
  0 siblings, 1 reply; 6+ messages in thread
From: Stephen Lord @ 2002-06-28 13:50 UTC (permalink / raw)
  To: Marcelo Tosatti; +Cc: Linux Kernel Mailing List



Marcelo,

We started using these for XFS, and found a missing bracket, patch
against 2.4.19-rc1.

Steve

*** linux-2.4.19-rc1/include/linux/kdev_t.h	Fri Jun 28 08:40:22 2002
--- linux/include/linux/kdev_t.h	Fri Jun 28 07:05:32 2002
***************
*** 81,87 ****
  #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 val_to_kdev(d)	((kdev_t(d))
  
  /*
--- 81,87 ----
  #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 val_to_kdev(d)	((kdev_t(d))
  
  /*


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

end of thread, other threads:[~2002-06-28 15:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-28 13:50 [PATCH] compile fix for 2.5 kdev_t compatibility macros Stephen Lord
2002-06-28 14:37 ` Steven Cole
2002-06-28 14:42   ` Stephen Lord
2002-06-28 15:02     ` Andries Brouwer
2002-06-28 15:10   ` Martin Josefsson
2002-06-28 15:24     ` Steven Cole

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.