Re: kdev_t.h old major/minor numbers

From: Greg KH
Date: Wed Aug 10 2011 - 11:19:44 EST


On Wed, Aug 10, 2011 at 04:21:15AM -0400, Corey Richardson wrote:
>
> While reading through some of the kernel stuff I noticed that the macros
> at the end of include/linux/kdev_t.h were out-of-sync with the macros at
> the top. I'm not certain when/if they would ever be defined and not the
> other ones (I'm very new to the kernel), but I would assume that they
> shouldn't be using the old 255-number system.
>
> Was this just an oversight or is there something else going on?

No, it is done this way on purpose, please read the comment right before
the code you just changed.

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/