Re: [PATCH - for playing only] change type of dev_t

Andrey Klochko (andrey@eccentric.mae.cornell.edu)
Wed, 19 Mar 2003 09:31:47 -0500


Andries.Brouwer@cwi.nl wrote:

> * assume GCC is being used.
> */
>
>-typedef unsigned short __kernel_dev_t;
>+typedef unsigned long __kernel_dev_t;
>
Shouldn't this be
typedef unsigned int __kernel_dev_t;
according to

>@@ -70,13 +70,13 @@
> * static arrays, and they are sized for a 8-bit index.
> */
> typedef struct {
>- unsigned short value;
>+ unsigned int value;
> } kdev_t;
>
>
Andrey

-- 
-------------------------------------------------------------
Andrey Klochko
System Administrator
Sibley School of Mechanical and Aerospace Engineering
288 Grumman Hall
Cornell University
Ithaca, NY 14853

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