Re: [PATCH] s390 (9/19): xpram driver.

From: Christoph Hellwig
Date: Thu Sep 25 2003 - 14:16:09 EST


On Thu, Sep 25, 2003 at 07:19:17PM +0200, Martin Schwidefsky wrote:
> static xpram_device_t xpram_devices[XPRAM_MAX_DEVS];
> -static int xpram_sizes[XPRAM_MAX_DEVS];
> +static unsigned int xpram_sizes[XPRAM_MAX_DEVS];
> static struct gendisk *xpram_disks[XPRAM_MAX_DEVS];

Btw, you should really consolidate all these per-device arrays
in a struct. Maybe some day you even get rid of the artifical
limit on the number of devices :)

-
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/