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

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


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/



This archive was generated by hypermail 2b29 : Sun Mar 23 2003 - 22:00:27 EST