Re: [PATCH] print_dev_t for 2.6.0-test1-mm

From: Greg KH (
Date: Wed Jul 16 2003 - 16:36:07 EST

On Wed, Jul 16, 2003 at 02:13:20PM -0700, Andrew Morton wrote:
> The new dev_t encoding is a bit weird because we of course continue to
> support the old 8:8 encoding. I think the rule is: "if the top 32-bits are
> zero, it is 8:8, otherwise 32:32". We can express this nicely with
> "%u:%u".

Sounds good, much appreciated.

> Now I need to go hunt down all those places where I added casts to unsigned
> longs in printks. hrm.

Heh, I think I got a few of them with my patch. Who else prints out the
dev_t value?


greg k-h
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Wed Jul 23 2003 - 22:00:26 EST