Linus Torvalds wrote: > Because the types aren't at all compatible any more, the macros that are > used for user-level "dev_t" are no longer working for a kdev_t. So we have > > dev_t kdev_t > > MKDEV(major,minor) mk_kdev(major, minor) > MAJOR(dev) major(dev) > MINOR(dev) minor(dev) > dev == dev2 kdev_same(dev, dev2) > !dev kdev_none(dev) And, assignments "kdev_t foo = 0" become "kdev_t foo = NODEV". At least I hope so ;-) The below patch fixes up rd.c and loop.c. -- Jeff Garzik | Only so many songs can be sung Building 1024 | with two lips, two lungs, and one tongue. MandrakeSoft | - nomeansno